Closed beam-magnum closed 4 months ago
I add this to my requirements.txt:
oneccl_bind_pt
--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
according to https://github.com/intel/torch-ccl, and it works.
@beam-magnum , did you install intel_extension_for_transformers/neural_chat/requirements_xpu.txt, I think the oneccl_bindings_for_pytorch will be installed automaticly when you installed requirements_xpu.txt. It should be included in intel-extention-for-pytorch.
@beam-magnum , did you install intel_extension_for_transformers/neural_chat/requirements_xpu.txt, I think the oneccl_bindings_for_pytorch will be installed automaticly when you installed requirements_xpu.txt. It should be included in intel-extention-for-pytorch.
but I'm deploying on cpus, my requirements.txt satisfy neural_chat/requirements.txt and neural_chat/requirements_cpu.txt. And they bath have intel-extension-for-pytorch: intel-extension-for-pytorch==2.1.30+xpu intel_extension_for_pytorch==2.3.0
@beam-magnum , did you install intel_extension_for_transformers/neural_chat/requirements_xpu.txt, I think the oneccl_bindings_for_pytorch will be installed automaticly when you installed requirements_xpu.txt. It should be included in intel-extention-for-pytorch.
but I'm deploying on cpus, my requirements.txt satisfy neural_chat/requirements.txt and neural_chat/requirements_cpu.txt. And they bath have intel-extension-for-pytorch: intel-extension-for-pytorch==2.1.30+xpu intel_extension_for_pytorch==2.3.0
Yes, I see, it seems ipex for CPU also depends on oneccl_bind_pt now, it is a new feature. I will add this package in requirements_cpu.txt.
I've encountered this issue when trying to build a chatbot using a python file, here's my code, copied from jupyter notebook:
Full traceback:
GPT-4o tells me there's something wrong with intel-extension-for-pytorch but I can not find out why...