intel-extension-for-transformers
intel-extension-for-transformers copied to clipboard
Installed intel-extension-for-transformers and I get an error - No module named 'intel_extension_for_pytorch'"
I am using Arc770 GPU on Windows 11
- I have installed WSL2
- I have installed miniconda
- I follow instruction - "pip install intel-extension-for-transformers"
- Run the example GPU code and I get an error message: "Exception has occurred: ModuleNotFoundError No module named 'intel_extension_for_pytorch'"
hi @sungkim11 , you could refer to gpu instruction to enable WOQ on intel GPU
Why is this asking for username/password:
python -m pip install torch==2.1.2 -f https://developer.intel.com/ipex-whl-stable-xpu
source /opt/intel/oneapi/setvars.sh
git clone https://github.com/intel-innersource/frameworks.ai.pytorch.ipex-gpu.git ipex-gpu cd ipex-gpu git checkout -b dev/QLLM origin/dev/QLLM git submodule update --init --recursive
Pip install -r requirements.txt python setup.py install
I cannot get pass this step. Any help?
Why is this asking for username/password:
python -m pip install torch==2.1.2 -f https://developer.intel.com/ipex-whl-stable-xpu
source /opt/intel/oneapi/setvars.sh
git clone https://github.com/intel-innersource/frameworks.ai.pytorch.ipex-gpu.git ipex-gpu cd ipex-gpu git checkout -b dev/QLLM origin/dev/QLLM git submodule update --init --recursive
Pip install -r requirements.txt python setup.py install
sorry, @sungkim11, our fault, should be https://github.com/intel/intel-extension-for-pytorch.git, have updated in https://github.com/intel/intel-extension-for-transformers/pull/1240, please try again
Error:
UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) running build_clib WARNING: Please install flake8 by pip install -r requirements-flake8.txt to check format!
Error:
UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) running build_clib WARNING: Please install flake8 by pip install -r requirements-flake8.txt to check format!
these are just some warnings, can you paste the errors here? or the full log?