Skip to content

Commit

Permalink
Add detailed requirement of compiler in README.md (pytorch#103819)
Browse files Browse the repository at this point in the history
Refer to this [issue](pytorch#102258), a compiler that fully supports C++17 is required, otherwise the precision of some operators will have problems for aarch64. Therefore, It will be more user-friendly to specify the gcc version especially for aarch64.

Fixes pytorch#102258

Pull Request resolved: pytorch#103819
Approved by: https://github.com/kit1980
  • Loading branch information
FFFrog authored and pytorchmergebot committed Jun 30, 2023
1 parent 3ff111a commit 93f5a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ They require JetPack 4.2 and above, and [@dusty-nv](https://github.com/dusty-nv)
#### Prerequisites
If you are installing from source, you will need:
- Python 3.8 or later (for Linux, Python 3.8.1+ is needed)
- A C++17 compatible compiler, such as clang
- A compiler that fully supports C++17, such as clang or gcc (especially for aarch64, gcc 9.4.0 or newer is required)

We highly recommend installing an [Anaconda](https://www.anaconda.com/distribution/#download-section) environment. You will get a high-quality BLAS library (MKL) and you get controlled dependency versions regardless of your Linux distro.

Expand Down

0 comments on commit 93f5a82

Please sign in to comment.