From 1c9afb6082972100a3493e92db6e125a9b6b85bd Mon Sep 17 00:00:00 2001 From: Ayo Date: Tue, 2 Sep 2025 20:17:19 +0200 Subject: [PATCH] chore: update README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2461225..bc03245 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,15 @@ 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 +# [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 - [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/)