Giter Club home page Giter Club logo

Comments (5)

ZhaoqiongZ avatar ZhaoqiongZ commented on June 3, 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?

from intel-extension-for-pytorch.

qslia avatar qslia commented on June 3, 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.

from intel-extension-for-pytorch.

qslia avatar qslia commented on June 3, 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

from intel-extension-for-pytorch.

ZhaoqiongZ avatar ZhaoqiongZ commented on June 3, 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.

from intel-extension-for-pytorch.

CarlGao4 avatar CarlGao4 commented on June 3, 2024

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

from intel-extension-for-pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.