diff --git a/README.en.md b/README.en.md index 64bc419db8b549e3b1aedb5d4230898d460bf278..104bafa7e432e8cfb178897903f9e2dc23a0d594 100644 --- a/README.en.md +++ b/README.en.md @@ -10,7 +10,7 @@ GCC version: 7.3.0 (required only in compilation scenarios) CMake version: 3.12.0 or later (required only in compilation scenarios) -Python versions: 3.7.5 and 3.8.*x* (The compilation methods are different. For details, see the script compilation section.) +Python versions: 3.7.5, 3.8.*x* and 3.9.*x* (PyTorch1.5 does not support python3.9.x) # System Dependencies @@ -88,6 +88,9 @@ bash build.sh --python=3.7 (recommended) # Python 3.8 bash build.sh --python=3.8 + +# Python 3.9 +bash build.sh --python=3.9 ``` The generated binary package is in the **pytorch/pytorch/dist/** directory. diff --git a/README.zh.md b/README.zh.md index 2830204a87efb5c5406cd6825a6a449f9e2c4bac..02539b3ab72bfa99bb9444db8cc2ab18f8474d7b 100644 --- a/README.zh.md +++ b/README.zh.md @@ -10,8 +10,7 @@ gcc版本: 7.3.0(只在编译场景要求) cmake版本:3.12.0以上版本(只在编译场景要求) -python版本:3.7.5 和 3.8.x(编译方法有差别,详见脚本编译章节) - +python版本:3.7.5、3.8.x、3.9.x(PyTorch1.5不支持python3.9.x) # 系统依赖库 @@ -99,6 +98,9 @@ bash build.sh --python=3.7(推荐) # python3.8版本 bash build.sh --python=3.8 + +# python3.9版本 +bash build.sh --python=3.9 ``` 生成的二进制包在pytorch/pytorch/dist/目录下