# Learn PyTorch Code experimenting with PyTorch using Intel architecture (i.e., Intel Core Ultra processor with iGPU) or `xpu`. After installing `ipex-llm` which is required to use Intel GPUs (see documentation in [Links](#Links)), you can should have access to `conda` and be able to `import torch` normally. **Important:** Set the necessary environmental variables: ```bash unset OCL_ICD_VENDORS export SYCL_CACHE_PERSISTENT=1 export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 ``` Links - [Install IPEX-LLM on Intel GPU with PyTorch 2.6](https://git.ayo.run/ayo/ipex-llm/src/branch/main/docs/mddocs/Quickstart/install_pytorch26_gpu.md) - [Get started with PyTorch locally](https://pytorch.org/get-started/locally/)