Closed xiguiw closed 8 months ago
Related to https://github.com/intel-analytics/BigDL/issues/9582#issuecomment-1840145208
Please try bigdl-llm[xpu] 2.5.0b20231205
pip install bigdl-llm[xpu] --pre --upgrade -f https://pypi.org/simple
Related to #9582 (comment)
Please try
bigdl-llm 2.5.0b20231205
pip install bigdl-llm --pre --upgrade -f https://pypi.org/simple
Great, It works! Thanks a lot!
Arc 770,
Follow readme.md install the environment, https://github.com/intel-analytics/BigDL/tree/main/python/llm/example/GPU/HF-Transformers-AutoModels/Model/qwen
run
python generate.py
, Got error:change
optimize_model=True
to False, it can run successfully.model = AutoModelForCausalLM.from_pretrained(model_path, load_in_4bit=True, optimize_model=False, trust_remote_code=True, use_cache=True)
bigdl-core-xe 2.5.0b20231202 pypi_0 pypi bigdl-core-xe-esimd 2.5.0b20231202 pypi_0 pypi bigdl-llm 2.5.0b20231202 pypi_0 pypi intel-extension-for-pytorch 2.0.110+xpu
transformers 4.31.0 pypi_0 pypi