polish JITTOR_HOME env

This commit is contained in:
Dun Liang 2022-05-18 12:32:57 +08:00
parent 772bdfcdf2
commit 4c5ac0fda9
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
# file 'LICENSE.txt', which is part of this source code package.
# ***************************************************************
__version__ = '1.3.4.4'
__version__ = '1.3.4.5'
from jittor_utils import lock
with lock.lock_scope():
ori_int = int

View File

@ -47,7 +47,7 @@ def home():
_home_path = os.environ.get("JITTOR_HOME", default_path)
if not os.path.exists(_home_path):
_home_path = default_path
os.makedirs(_home_path, exist_ok=True)
_home_path = os.path.abspath(_home_path)
# LOG.i(f"Use {_home_path} as Jittor Home")