mirror of https://github.com/Jittor/Jittor
fix install error
This commit is contained in:
parent
11c6a89dcc
commit
599051d153
|
@ -94,13 +94,13 @@ Jittor 一共提供三种方式安装: pip安装, 一键脚本安装 和 手动
|
||||||
(如果无法访问github, 可以通过jittor主页下载):
|
(如果无法访问github, 可以通过jittor主页下载):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install python-dev libomp-dev
|
sudo apt install python3.7-dev libomp-dev
|
||||||
sudo pip install https://github.com/Jittor/jittor.git
|
sudo python3.7 -m pip install git+https://github.com/Jittor/jittor.git
|
||||||
# if you cannot access github, please download code from our website:
|
# if you cannot access github, please download code from our website:
|
||||||
# wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz
|
# wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz
|
||||||
# mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor
|
# mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor
|
||||||
# sudo pip install ./jittor
|
# sudo pip install ./jittor
|
||||||
python3 -m jittor.test.test_example
|
python3.7 -m jittor.test.test_example
|
||||||
```
|
```
|
||||||
|
|
||||||
如果测试运行通过,恭喜你已经安装完成.
|
如果测试运行通过,恭喜你已经安装完成.
|
||||||
|
|
10
README.md
10
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.
|
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.
|
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
|
```bash
|
||||||
sudo apt install python-dev libomp-dev
|
sudo apt install python3.7-dev libomp-dev
|
||||||
sudo pip install git+https://github.com/Jittor/jittor.git
|
sudo python3.7 -m pip install git+https://github.com/Jittor/jittor.git
|
||||||
# if you cannot access github, please download code from our website:
|
# if you cannot access github, please download code from our website:
|
||||||
# wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz
|
# wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz
|
||||||
# mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor
|
# mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor
|
||||||
# sudo pip install ./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
|
# 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.
|
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.
|
||||||
|
|
|
@ -120,13 +120,13 @@ Jittor 一共提供三种方式安装: pip安装, 一键脚本安装 和 手动
|
||||||
(如果无法访问github, 可以通过jittor主页下载):
|
(如果无法访问github, 可以通过jittor主页下载):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install python-dev libomp-dev
|
sudo apt install python3.7-dev libomp-dev
|
||||||
sudo pip install https://github.com/Jittor/jittor.git
|
sudo python3.7 -m pip install git+https://github.com/Jittor/jittor.git
|
||||||
# if you cannot access github, please download code from our website:
|
# if you cannot access github, please download code from our website:
|
||||||
# wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz
|
# wget https://cg.cs.tsinghua.edu.cn/jittor/assets/build/jittor.tgz
|
||||||
# mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor
|
# mkdir -p jittor && tar -xvf ./jittor.tgz -C jittor
|
||||||
# sudo pip install ./jittor
|
# sudo pip install ./jittor
|
||||||
python3 -m jittor.test.test_example
|
python3.7 -m jittor.test.test_example
|
||||||
```
|
```
|
||||||
|
|
||||||
如果测试运行通过,恭喜你已经安装完成.
|
如果测试运行通过,恭喜你已经安装完成.
|
||||||
|
|
Loading…
Reference in New Issue