mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix README for installation from source (#37301)
Summary: I think, it's help faster compile pytorch from source without errors about incompatible compiler(such as: unsupported GNU version! gcc versions later than 8 are not supported!) Pull Request resolved: https://github.com/pytorch/pytorch/pull/37301 Differential Revision: D21396682 Pulled By: ngimel fbshipit-source-id: 5e21c36ee550424e820f3aa6e6131ca858994ae4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3b97723f08
commit
5c628ddbd0
@ -156,6 +156,7 @@ Once you have [Anaconda](https://www.anaconda.com/distribution/#download-section
|
||||
If you want to compile with CUDA support, install
|
||||
- [NVIDIA CUDA](https://developer.nvidia.com/cuda-downloads) 9 or above
|
||||
- [NVIDIA cuDNN](https://developer.nvidia.com/cudnn) v7 or above
|
||||
- [Compiler](https://gist.github.com/ax3l/9489132) compatible with CUDA
|
||||
|
||||
If you want to disable CUDA support, export environment variable `USE_CUDA=0`.
|
||||
Other potentially useful environment variables may be found in `setup.py`.
|
||||
|
Reference in New Issue
Block a user