Skip to content

Commit

Permalink
oneapi locations for root vs user
Browse files Browse the repository at this point in the history
  • Loading branch information
pbchekin committed Sep 14, 2024
1 parent 3745567 commit a9e6f48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ pip install torch-*.whl triton-*.whl
```

Before using Intel® XPU Backend for Triton\* you need to initialize the toolchain.
By default, it is installed to `/opt/intel/oneapi`:
The default location is `/opt/intel/oneapi` (if installed as a `root` user) or `~/intel/oneapi` (if installed as a regular user).

```shell
# replace /opt/intel/oneapi with the actual location of PyTorch Prerequisites for Intel GPUs
source /opt/intel/oneapi/setvars.sh
```

Expand All @@ -61,9 +62,10 @@ source /opt/intel/oneapi/setvars.sh
Currently, Intel® XPU Backend for Triton\* requires a special version of PyTorch and both need to be compiled at the same time.

Before compiling PyTorch and Intel® XPU Backend for Triton\* you need to initialize the toolchain.
By default, it is installed to `/opt/intel/oneapi`:
The default location is `/opt/intel/oneapi` (if installed as a `root` user) or `~/intel/oneapi` (if installed as a regular user).

```shell
# replace /opt/intel/oneapi with the actual location of PyTorch Prerequisites for Intel GPUs
source /opt/intel/oneapi/setvars.sh
```

Expand Down

0 comments on commit a9e6f48

Please sign in to comment.