Closed cristianohello closed 1 year ago
更新下meutils
发自我的iPhone
------------------ Original ------------------ From: cristianohello @.> Date: Thu,May 4,2023 3:28 PM To: yuanjie-ai/ChatLLM @.> Cc: Subscribed @.***> Subject: Re: [yuanjie-ai/ChatLLM] ImportError: cannot import name'clear_cuda_cache' from 'meutils.decorators' (Issue #4)
Traceback (most recent call last): File "/root/autodl-tmp/chatglm/ChatLLM-master/zystest.py", line 2, in from chatllm.applications import ChatBase File "/root/autodl-tmp/chatglm/ChatLLM-master/chatllm/applications/init.py", line 11, in from chatllm.applications.chatbase import ChatBase File "/root/autodl-tmp/chatglm/ChatLLM-master/chatllm/applications/chatbase.py", line 12, in from meutils.decorators import clear_cuda_cache ImportError: cannot import name 'clear_cuda_cache' from 'meutils.decorators' (/root/miniconda3/envs/chatglm20230401/lib/python3.9/site-packages/meutils/decorators/init.py)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Traceback (most recent call last): File "/root/autodl-tmp/chatglm/ChatLLM-master/zystest.py", line 2, in
from chatllm.applications import ChatBase
File "/root/autodl-tmp/chatglm/ChatLLM-master/chatllm/applications/init.py", line 11, in
from chatllm.applications.chatbase import ChatBase
File "/root/autodl-tmp/chatglm/ChatLLM-master/chatllm/applications/chatbase.py", line 12, in
from meutils.decorators import clear_cuda_cache
ImportError: cannot import name 'clear_cuda_cache' from 'meutils.decorators' (/root/miniconda3/envs/chatglm20230401/lib/python3.9/site-packages/meutils/decorators/init.py)