From 93f5a82e3723e593e49cabdf8fed5e09f79f1ba4 Mon Sep 17 00:00:00 2001 From: FFFrog Date: Fri, 30 Jun 2023 22:59:48 +0000 Subject: [PATCH] Add detailed requirement of compiler in README.md (#103819) Refer to this [issue](https://github.com/pytorch/pytorch/issues/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 #102258 Pull Request resolved: https://github.com/pytorch/pytorch/pull/103819 Approved by: https://github.com/kit1980 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 050ad53b5d6..7924d36c3f7 100644 --- a/README.md +++ b/README.md @@ -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.