Skip to content

Commit 05c54ce

Browse files
authored
Recommend Windows users to use WSL 2 (#586)
Fixes #537.
1 parent 868a49d commit 05c54ce

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

docs/source/installation.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,16 @@ or if you want the latest version from the `main` branch:
1818
pip install "kernels[benchmark] @ git+https://github.com/huggingface/kernels#subdirectory=kernels"
1919
```
2020

21-
> [!IMPORTANT]
21+
> [!IMPORTANT]
22+
> On Windows, we recommend using the Linux version of Torch through
23+
> [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install), since
24+
> many more kernels support Linux. If you want to use GPU acceleration,
25+
> check out the [CUDA on WSL](https://docs.nvidia.com/cuda/wsl-user-guide/index.html#getting-started-with-cuda-on-wsl-2)
26+
> and [PyTorch with DirectML on WSL 2](https://learn.microsoft.com/en-us/windows/ai/directml/pytorch-wsl)
27+
> guides.
28+
29+
> [!IMPORTANT]
2230
> We strongly recommend not using a free-threaded Python build yet.
23-
These builds are not only experimental, but do not support the stable ABI
24-
on Python versions before 3.15. Kernels are compiled with the stable ABI
25-
to support a wide range of Python versions.
31+
> These builds are not only experimental, but do not support the stable ABI
32+
> on Python versions before 3.15. Kernels are compiled with the stable ABI
33+
> to support a wide range of Python versions.

0 commit comments

Comments
 (0)