Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPT-J benchmarking fails with IPEX 2.2.0/2.3.0 #628

Closed
MadhumithaSrini opened this issue May 16, 2024 · 9 comments
Closed

GPT-J benchmarking fails with IPEX 2.2.0/2.3.0 #628

MadhumithaSrini opened this issue May 16, 2024 · 9 comments
Assignees
Labels
CPU CPU specific issues Crash Execution crashes LLM

Comments

@MadhumithaSrini
Copy link

Describe the bug

  • GPT-J model (source: https://huggingface.co/EleutherAI/gpt-j-6b) causes segmentation fault
  • I am trying to use ipex.llm.optimize() and then apply torch.compile() on the model and then take the output using "model(input)' where input is tokenized random input

Versions

torch 2.2.0 / 2.3.0
ipex 2.2.0 / 2.3.0

@feng-intel
Copy link

Could you share your test code and platform info ?

@MadhumithaSrini
Copy link
Author

MadhumithaSrini commented May 17, 2024

Sure. Thanks for your response.
I am using linux platform

sample.txt

Command to run:
python sample.py

@feng-intel feng-intel self-assigned this May 20, 2024
@jgong5
Copy link
Contributor

jgong5 commented May 20, 2024

@MadhumithaSrini What error did you encounter?

@MadhumithaSrini
Copy link
Author

I encountered segmentation fault

@feng-intel
Copy link

I can reproduce the issue. Ask dev team for help. Feedback later.

@MadhumithaSrini
Copy link
Author

How should I ask dev team for help, should I tag anyone on this issue you mean?

@feng-intel
Copy link

I will ask dev team for help internally and feedback later.

@MadhumithaSrini
Copy link
Author

ok thank you

@feng-intel
Copy link

feng-intel commented May 30, 2024

It will be fixed in release 2.3.100

@jingxu10 jingxu10 added CPU CPU specific issues Crash Execution crashes LLM labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CPU CPU specific issues Crash Execution crashes LLM
Projects
None yet
Development

No branches or pull requests

4 participants