diff --git a/README.cn.md b/README.cn.md index 0c9b870a..ab45eac1 100644 --- a/README.cn.md +++ b/README.cn.md @@ -94,13 +94,13 @@ Jittor 一共提供三种方式安装: pip安装, 一键脚本安装 和 手动 (如果无法访问github, 可以通过jittor主页下载): ```bash -sudo apt install python-dev libomp-dev -sudo pip install https://github.com/Jittor/jittor.git +sudo apt install python3.7-dev libomp-dev +sudo python3.7 -m pip install git+https://github.com/Jittor/jittor.git # if you cannot access github, please download code from our website: # wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz # mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor # sudo pip install ./jittor -python3 -m jittor.test.test_example +python3.7 -m jittor.test.test_example ``` 如果测试运行通过,恭喜你已经安装完成. diff --git a/README.md b/README.md index 70750d55..52588df8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators. The whole framework and meta-operators are compiled just-in-time. A powerful op compiler and tuner are integrated into Jittor. It allowed us to generate high-performance code with specialized for your model. -The front-end language is Python. Module Design is used in the front-end, like PyTorch and Keras. The back-end is implemented with high performance languages, such as CUDA,C++. +The front-end language is Python. Module Design is used in the front-end, like PyTorch and Keras. The back-end is implemented py high performance language, such as CUDA,C++. The following example shows how to model a two-layer neural network step by step and train from scratch In a few lines of Python code. @@ -88,13 +88,13 @@ Jittor offers three ways to install: pip, script or manual. ```bash -sudo apt install python-dev libomp-dev -sudo pip install git+https://github.com/Jittor/jittor.git +sudo apt install python3.7-dev libomp-dev +sudo python3.7 -m pip install git+https://github.com/Jittor/jittor.git # if you cannot access github, please download code from our website: # wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz # mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor # sudo pip install ./jittor -python3 -m jittor.test.test_example +python3.7 -m jittor.test.test_example ``` @@ -235,7 +235,7 @@ print(c.name()) # Output: c ``` -### Operations +###Operations Jittor'op is simular with numpy. Let's try some operations. We create Var `a` and `b` via operation `jt.float32`, and add them. Printing those variables shows they have the same shape and dtype. diff --git a/README.src.md b/README.src.md index 8507302d..921cf35d 100644 --- a/README.src.md +++ b/README.src.md @@ -120,13 +120,13 @@ Jittor 一共提供三种方式安装: pip安装, 一键脚本安装 和 手动 (如果无法访问github, 可以通过jittor主页下载): ```bash -sudo apt install python-dev libomp-dev -sudo pip install https://github.com/Jittor/jittor.git +sudo apt install python3.7-dev libomp-dev +sudo python3.7 -m pip install git+https://github.com/Jittor/jittor.git # if you cannot access github, please download code from our website: # wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz # mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor # sudo pip install ./jittor -python3 -m jittor.test.test_example +python3.7 -m jittor.test.test_example ``` 如果测试运行通过,恭喜你已经安装完成.