DaWe
DaWe
@jingxu10 I just installed Arch, so latest everything Linux. I'll try, thank you
Is Python 3.10.11 supported? I used pyenv to get 3.10.11. I'm getting `OSError: libmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory` when importing torch, not sure why....
I added `'/home/user/.pyenv/versions/3.10.11/lib/'` to PATH, I also added `os.environ['LD_LIBRARY_PATH']='/home/user/.pyenv/versions/3.10.11/lib/'` to the beginning of the script, and still the same error. I can confirm, the directory contains a file called `libmkl_intel_lp64.so.2`
This solved the `LD_LIBRARY_PATH` issue for me: https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s Now I'm getting this: ``` ImportError: libmkl_sycl.so.3: cannot open shared object file: No such file or directory ```
> > This solved the `LD_LIBRARY_PATH` issue for me: https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s > > Now I'm getting this: > > ``` > > ImportError: libmkl_sycl.so.3: cannot open shared object file: No such...
Got it, thank you. I was a bit confused, I though it's enough to run the install commands since I was not looking for "More installation methods" as the readme...
Thank you guys for the help. I'll summarize what I did and what is the issue now. - Installed https://archlinux.org/packages/extra/x86_64/intel-oneapi-basekit/ - Installed `python -m pip install torch==1.13.0a0+git6c9b55e intel_extension_for_pytorch==1.13.120+xpu -f https://developer.intel.com/ipex-whl-stable-xpu`...
Done, now I see `RuntimeError: PyTorch is not linked with support for xpu devices`
`... device_map="xpu", ...` I tried changing it back to `auto` but then I get `AttributeError: module 'torch.nn.functional' has no attribute 'scaled_dot_product_attention'. Did you mean: '_scaled_dot_product_attention'?` Pythorch is still 1.13.1
I pulled the ubuntu docker image, installed everything. This is the message I see when trying to run the example GPU code: ``` root@0881bc54a8ef:~# python3 test.py /usr/local/lib/python3.10/dist-packages/torchvision/io/image.py:13: UserWarning: Failed to...