forked from maxjhandsome/jittor
polish readme
This commit is contained in:
parent
cc30503cd2
commit
d3ba7f9a54
|
@ -374,7 +374,7 @@ Jittor目前由[清华大学计算机图形学组](https://cg.cs.tsinghua.edu.cn
|
|||
journal={Information Sciences},
|
||||
volume={63},
|
||||
number={222103},
|
||||
pages={1--222103},
|
||||
pages={1--21},
|
||||
year={2020}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -369,7 +369,7 @@ Jittor is currently maintained by the [Tsinghua CSCG Group](https://cg.cs.tsingh
|
|||
journal={Information Sciences},
|
||||
volume={63},
|
||||
number={222103},
|
||||
pages={1--222103},
|
||||
pages={1--21},
|
||||
year={2020}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -475,7 +475,7 @@ Jittor目前由[清华大学计算机图形学组](https://cg.cs.tsinghua.edu.cn
|
|||
journal={Information Sciences},
|
||||
volume={63},
|
||||
number={222103},
|
||||
pages={1--222103},
|
||||
pages={1--21},
|
||||
year={2020}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# This file is subject to the terms and conditions defined in
|
||||
# file 'LICENSE.txt', which is part of this source code package.
|
||||
# ***************************************************************
|
||||
__version__ = '1.2.2.18'
|
||||
__version__ = '1.2.2.19'
|
||||
from . import lock
|
||||
with lock.lock_scope():
|
||||
ori_int = int
|
||||
|
|
5
setup.py
5
setup.py
|
@ -1,5 +1,6 @@
|
|||
error_msg = """Jittor only supports Ubuntu>=16.04 currently.
|
||||
For other OS, use Jittor may be risky.
|
||||
If you insist on installing, please set the environment variable : export FORCE_INSTALL=1
|
||||
We strongly recommended docker installation:
|
||||
|
||||
# CPU only
|
||||
|
@ -8,9 +9,10 @@ We strongly recommended docker installation:
|
|||
>>> docker run -it --network host jittor/jittor-cuda
|
||||
|
||||
Reference:
|
||||
1. Windows/Mac/Linux通过Docker安装计图: https://cg.cs.tsinghua.edu.cn/jittor/tutorial/2020-5-15-00-00-docker/
|
||||
1. Windows/Mac/Linux install Jittor in Docker: https://cg.cs.tsinghua.edu.cn/jittor/tutorial/2020-5-15-00-00-docker/
|
||||
"""
|
||||
from warnings import warn
|
||||
import os
|
||||
try:
|
||||
with open("/etc/os-release", "r", encoding='utf8') as f:
|
||||
s = f.read().splitlines()
|
||||
|
@ -22,6 +24,7 @@ try:
|
|||
except Exception as e:
|
||||
print(e)
|
||||
warn(error_msg)
|
||||
if os.environ.get("FORCE_INSTALL", '0') != '1': raise
|
||||
|
||||
import setuptools
|
||||
from setuptools import setup, find_packages
|
||||
|
|
Loading…
Reference in New Issue