mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[Doc] update guide install mkl-static from conda to pip (#130026)
<img width="619" alt="image" src="https://github.com/pytorch/pytorch/assets/8433590/4ac3ca68-57dc-42c7-ac7a-876dc377ebcf"> Conda intel channel is not avaliable now. Use `pip` install instead of `conda`. `Windows` and `Linux` are avaliable: Binary list: https://pypi.org/project/mkl-static/#files `MacOS` is avaliable for old version: https://pypi.org/project/mkl-static/2021.3.0/#files TODO: 1. cherry-pick to `release/2.4` branch, @atalman . 2. fix it also in `release/2.3` branch: https://github.com/pytorch/pytorch/pull/131853 Pull Request resolved: https://github.com/pytorch/pytorch/pull/130026 Approved by: https://github.com/jgong5, https://github.com/atalman
This commit is contained in:
@ -207,7 +207,7 @@ pip install -r requirements.txt
|
||||
**On Linux**
|
||||
|
||||
```bash
|
||||
conda install intel::mkl-static intel::mkl-include
|
||||
pip install mkl-static mkl-include
|
||||
# CUDA only: Add LAPACK support for the GPU if needed
|
||||
conda install -c pytorch magma-cuda121 # or the magma-cuda* that matches your CUDA version from https://anaconda.org/pytorch/repo
|
||||
|
||||
@ -221,7 +221,7 @@ make triton
|
||||
|
||||
```bash
|
||||
# Add this package on intel x86 processor machines only
|
||||
conda install intel::mkl-static intel::mkl-include
|
||||
pip install mkl-static mkl-include
|
||||
# Add these packages if torch.distributed is needed
|
||||
conda install pkg-config libuv
|
||||
```
|
||||
@ -229,7 +229,7 @@ conda install pkg-config libuv
|
||||
**On Windows**
|
||||
|
||||
```bash
|
||||
conda install intel::mkl-static intel::mkl-include
|
||||
pip install mkl-static mkl-include
|
||||
# Add these packages if torch.distributed is needed.
|
||||
# Distributed package support on Windows is a prototype feature and is subject to changes.
|
||||
conda install -c conda-forge libuv=1.39
|
||||
|
Reference in New Issue
Block a user