在执行python -m jittor.test.test_core时发生RuntimeError
操作系统是windows10,使用了anaconda3,环境的python版本是3.8.16。完整log如下:
[i 0505 17:39:48.124000 16 compiler.py:955] Jittor(1.3.7.14) src: e:\anaconda\envs\jittor\lib\site-packages\jittor
[i 0505 17:39:48.160000 16 compiler.py:956] cl at C:\Users\.cache\jittor\msvc\VC_____\bin\cl.exe(19.29.30133)
[i 0505 17:39:48.161000 16 compiler.py:957] cache_path: C:\Users\.cache\jittor\jt1.3.7\cl\py3.8.16\Windows-10-10.x50\AMDRyzen74800Hxc9\default
[i 0505 17:39:48.165000 16 install_cuda.py:93] cuda_driver_version: [12, 0, 0]
[i 0505 17:39:48.201000 16 __init__.py:411] Found C:\Users\.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe(11.2.67) at C:\Users\.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe.
e[1;32m[i 0505 17:39:48.461000 16 __init__.py:411] Found gdb(8.1) at E:\MinGW\mingw64\bin\gdb.EXE.e[m
e[1;32m[i 0505 17:39:48.522000 16 __init__.py:411] Found addr2line(2.30) at E:\MinGW\mingw64\bin\addr2line.EXE.e[m
e[1;32m[i 0505 17:39:48.583000 16 compiler.py:1010] cuda key:cu11.2.67e[m
e[1;32m[i 0505 17:39:48.588000 16 __init__.py:227] Total mem: 15.37GB, using 5 procs for compiling.e[m
[e 0505 17:39:50.037000 68 log.cc:565]
multiprocessing.pool.RemoteTraceback:
“”"
Traceback (most recent call last):
File “e:\anaconda\envs\jittor\lib\multiprocessing\pool.py”, line 125, in worker
result = (True, func(*args, **kwds))
File “E:\Anaconda\envs\jittor\lib\site-packages\jittor_utils_init_.py”, line 197, in do_compile
return cc.cache_compile(cmd, cache_path, jittor_path)
RuntimeError
“”"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “E:\Anaconda\envs\jittor\lib\runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = get_module_details(mod_name, Error)
File “E:\Anaconda\envs\jittor\lib\runpy.py”, line 111, in get_module_details
import(pkg_name)
File "E:\Anaconda\envs\jittor\lib\site-packages\jittor_init.py", line 18, in
from . import compiler
File “E:\Anaconda\envs\jittor\lib\site-packages\jittor\compiler.py”, line 1353, in
compile(cc_path, cc_flags+opt_flags, files, ‘jittor_core’+extension_suffix)
File “E:\Anaconda\envs\jittor\lib\site-packages\jittor\compiler.py”, line 151, in compile
jit_utils.run_cmds(cmds, cache_path, jittor_path, "Compiling "+base_output)
File "E:\Anaconda\envs\jittor\lib\site-packages\jittor_utils_init.py", line 251, in run_cmds
for i, in enumerate(p.imap_unordered(do_compile, cmds)):
File “E:\Anaconda\envs\jittor\lib\multiprocessing\pool.py”, line 868, in next
raise value
RuntimeError