From 073a7ea5ff9aa3ab8cd109e9ccd9896a63c5d5b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=B6=85?= Date: Thu, 20 Jan 2022 09:21:01 +0800 Subject: [PATCH] add python 3.9 to readme --- README.en.md | 5 ++++- README.zh.md | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.en.md b/README.en.md index 64bc419db8..104bafa7e4 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 2830204a87..02539b3ab7 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/目录下 -- Gitee