如果您使用 Jittor 时遇到了安装问题、运行错误、输出错误等问题,您可以在 “问答” 区提问。
为了更好地定位您的问题,建议包含以下内容:
- 错误信息、
PS D:\zhousjia\python3\JittorLLMs-main> $env:JT_SAVE_MEM=1
PS D:\zhousjia\python3\JittorLLMs-main> $env:device_mem_limit=“4000000000”
PS D:\zhousjia\python3\JittorLLMs-main> python cli_demo.py chatglm
[i 0425 09:36:47.196000 84 compiler.py:955] Jittor(1.3.7.13) src: d:\zhousjia\python3\lib\site-packages\jittor
[i 0425 09:36:47.283000 84 compiler.py:956] cl at d:\jittorcache.cache\jittor\msvc\VC_____\bin\cl.exe(19.29.30133)
[i 0425 09:36:47.283000 84 compiler.py:957] cache_path: d:\jittorcache.cache\jittor\jt1.3.7\cl\py3.10.4\Windows-10-10.xad\IntelRCoreTMi5x71\default
[i 0425 09:36:47.340000 84 __init__.py:227] Total mem: 15.75GB, using 5 procs for compiling.
Compiling jittor_core(150/150) used: 6.125s eta: 0.000s
[i 0425 09:37:41.802000 84 jit_compiler.cc:28] Load cc_path: d:\jittorcache.cache\jittor\msvc\VC_____\bin\cl.exe
[i 0425 09:37:41.802000 84 swap.cc:30] Load device_mem_limit: 4000000000
[i 0425 09:37:42.001000 84 compile_extern.py:522] mpicc not found, distribution disabled.
Traceback (most recent call last):
File “D:\zhousjia\python3\JittorLLMs-main\cli_demo.py”, line 8, in
model = models.get_model(args)
File “D:\zhousjia\python3\JittorLLMs-main\models_init_.py”, line 38, in get_model
globals()f"get_{model_name}"
File “D:\zhousjia\python3\JittorLLMs-main\models\util.py”, line 54, in get_chatglm
os.symlink(new_path[-1], os.path.join(ln_dir, f))
OSError: [WinError 1314] 客户端没有所需的特权。: ‘d:\jittorcache\.cache\jittor\jt1.3.7\cl\py3.10.4\Windows-10-10.xad\IntelRCoreTMi5x71\default\checkpoints\chat-glm/pytorch_model-00005-of-00008.bin’ → ‘D:\zhousjia\python3\JittorLLMs-main\models\chatglm\pytorch_model-00005-of-00008.bin’
请问这个是怎么回事儿?