Experimenting with PyTorch on Intel architecture
.gitignore | ||
main.py | ||
README.md |
Learn PyTorch
After installing ipex-llm
which is required to use Intel GPUs (see documentation in Links, you can should have access to conda
and be able to import torch
normally.
Important: Set the necessary environmental variables:
unset OCL_ICD_VENDORS
export SYCL_CACHE_PERSISTENT=1
# [optional] The following environment variable may improve performance, but in some cases, it may also lead to performance degradation
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
Links