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

failed to run on ultra 5 with Arc(TM) graphics (16GB VRAM) #604

Closed
qslia opened this issue Apr 22, 2024 · 6 comments
Closed

failed to run on ultra 5 with Arc(TM) graphics (16GB VRAM) #604

qslia opened this issue Apr 22, 2024 · 6 comments
Assignees
Labels
ARC ARC GPU Crash Execution crashes Windows

Comments

@qslia
Copy link

qslia commented Apr 22, 2024

Describe the issue

do you support this graphic card?

@qslia qslia changed the title failed running on ultra 5 with Arc(TM) graphics (16GB VRAM) failed to run on ultra 5 with Arc(TM) graphics (16GB VRAM) Apr 22, 2024
@ZhaoqiongZ ZhaoqiongZ self-assigned this Apr 23, 2024
@ZhaoqiongZ
Copy link
Contributor

ZhaoqiongZ commented Apr 23, 2024

Hi @qslia , thanks for reporting this issue. Yes we support Arc graphics.
Have you installed the correct version of driver according to the installation guide

Could you also provide the exact device info for Arc using the following command:
lspci -nn |grep -i vga

And could you also share the exact error you met?

@feng-intel feng-intel added the ARC ARC GPU label Apr 24, 2024
@qslia
Copy link
Author

qslia commented May 4, 2024

python -c "import torch; import intel_extension_for_pytorch as ipex; print(torch.version); print(ipex.version); [print(f'[{i}]: {torch.xpu.get_device_properties(i)}') for i in range(torch.xpu.device_count())];"
D:\anaconda3\Lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: 'Could not find module 'D:\anaconda3\Lib\site-packages\torchvision\image.pyd' (or one of its dependencies). Try using the full path with constructor syntax.'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 have libjpeg or libpng installed before building torchvision from source?
warn(
Traceback (most recent call last):
File "", line 1, in
File "D:\anaconda3\Lib\site-packages\intel_extension_for_pytorch_init_.py", line 91, in
raise err
OSError: [WinError 126] 找不到指定的模块。 Error loading "D:\anaconda3\Lib\site-packages\intel_extension_for_pytorch\bin\intel-ext-pt-gpu.dll" or one of its dependencies.

@qslia
Copy link
Author

qslia commented May 4, 2024

Ultralytics YOLOv8.2.8 🚀 Python-3.11.7 torch-2.1.0.post2+cxx11.abi CPU (Intel Core(TM) Ultra 5 125H)
Setup complete ✅ (18 CPUs, 31.6 GB RAM, 117.3/195.3 GB disk)

OS Windows-10-10.0.22631-SP0
Environment Windows
Python 3.11.7
Install pip
RAM 31.65 GB
CPU Intel Core(TM) Ultra 5 125H
CUDA None

@ZhaoqiongZ
Copy link
Contributor

ZhaoqiongZ commented May 8, 2024

Hi @qslia , this error seems to be something wrong during environment setup.
Please check step by step if you are installing the correct driver and basekit by following https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu&version=v2.1.30%2bxpu&os=windows&package=pip

  1. Install driver in Windows system with link https://www.intel.com/content/www/us/en/download/785597/819065/intel-arc-iris-xe-graphics-windows.html
    verify the installation in Device Manager and with Intel Arc Graphics
    image

  2. Install Microsoft Visual C++ Redistributable and oneAPI Basekit by following the guide above

  3. Finally install the required packages pkgconfig, libuv and torch ipex etc.

  4. remember to activate compiler and mkl by call "C:\Program Files (x86)\Intel\oneAPI\compiler\latest\env\vars.bat" and
    call "C:\Program Files (x86)\Intel\oneAPI\mkl\latest\env\vars.bat"
    then you can run python -c "import torch; import intel_extension_for_pytorch; print(torch.xpu.device_count()); print(torch.xpu.get_device_properties(0));" to check the installation.

@ZhaoqiongZ ZhaoqiongZ added Windows Crash Execution crashes labels May 9, 2024
@CarlGao4
Copy link

CarlGao4 commented May 20, 2024

Maybe you can try CarlGao4/ipex-wheel
I've even packed AOT for all devices along with it

@ZhaoqiongZ
Copy link
Contributor

The issue is closed due to inactivity. Feel free to reopen it if your problem has not been resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARC ARC GPU Crash Execution crashes Windows
Projects
None yet
Development

No branches or pull requests

4 participants