Update auto_diff.py

fixed: symbol not found when running "from jittor_utils import auto_diff; import jittor as jt"
This commit is contained in:
Zheng-Ning Liu 2021-07-30 15:52:52 +08:00 committed by GitHub
parent 4d9d2d8601
commit 43b150a6c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ import jittor_utils
from jittor_utils import LOG
import sys
jittor_utils.try_import_jit_utils_core()
with jittor_utils.import_scope(os.RTLD_GLOBAL | os.RTLD_NOW):
jittor_utils.try_import_jit_utils_core()
has_error = 0