-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
llama2 Segmentation fault (core dumped) on i7-9700K #11316
Comments
Hi @JJJohnathan, Would you mind having a check on your glibc version? We recommend glibc with version >= 2.28 :) Besides, it would be helpful to provide more information regarding your environment through check_env.sh. |
@Oscilloscope98 OK, The result of running check_env.sh is as following: PYTHON_VERSION=3.11.9transformers=4.36.2torch=2.1.0a0+cxx11.abiipex-llm Version: 2.1.0b20240613ipex=2.1.10+xpuCPU Information:
|
ldd (Ubuntu GLIBC 2.35-0ubuntu3.8) 2.35 |
Hi @JJJohnathan, We haven't conducted verification for IPEX-LLM on the iGPU of 9th Intel Core yet. For Intel iGPU, we have mainly conducted verification for the ones of Intel Core above or equal to 11th. For Llama2 text generation example on i7-9700K, you may have a try on CPU first through this example: https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/example/CPU/HF-Transformers-AutoModels/Model/llama2 . Please note that this example will require creating a environment for CPU :) |
The results of running https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/example/GPU/PyTorch-Models/Model/llama2 are as follow:
ipex-llm/python/llm/example/GPU/PyTorch-Models/Model/llama2$ python ./generate.py --repo-id-or-model-path ~/Downloads/model
/home/openvino-test-01/miniforge3/envs/ipex_llm/lib/python3.11/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: ''If you don't plan on using image functionality from
torchvision.io
, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you havelibjpeg
orlibpng
installed before buildingtorchvision
from source?warn(
2024-06-14 12:12:23,960 - INFO - intel_extension_for_pytorch auto imported
Loading checkpoint shards: 100%|████████████████| 2/2 [00:00<00:00, 6.37it/s]
2024-06-14 12:12:24,393 - INFO - Converting the current model to sym_int4 format......
LIBXSMM_VERSION: main_stable-1.17-3651 (25693763)
LIBXSMM_TARGET: hsw [Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz]
Registry and code: 13 MB
Command: python ./generate.py --repo-id-or-model-path /home/openvino-test-01/Downloads/model
Uptime: 31.656327 s
Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered: