ModuleNotFoundError: No module named 'lagent.llms.lmdeploy_wrapper'
How to resolve this issue?
can you provide your use case?
Can you install Lagent from the source? We fix a typo lmdepoly-> lmdeploy but don't release a new package, so if you install from pypi, it will get a error
I downloaded version 0.2.2 and then used this command to install lagent:python setup.py install, but I get an error that I can't find the Imdeploy module?
I successfully opened the page, but it keeps showing that the connection failed.
still not working for me, same error...
I successfully opened the page, but it keeps showing that the connection failed.
I have the same problem, have you solved it?
i tried today with latest version and it works now
i tried today with latest version and it works now
I tried again, but the same error message still popped up. Could you tell me how you deployed it? Thanks!
Yeah me too. The latest version 0.2.3 happens again.
目前还是存在此问题
/home/zhangwh/miniconda3/envs/OculiChatDA/lib/python3.10/site-packages/lagent/llms/init.py中有lmdeploy_wrapper正确拼写,我的代码:from lagent.llms.lmdeploy_wrapper import LMDeployClient
但是打开网页后存在:
ConnectionError: HTTPConnectionPool(host='0.0.0.0', port=23333): Max retries exceeded with url: /v1/completions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f12c8504fa0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback:
File "/home/zhangwh/miniconda3/envs/OculiChatDA/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/home/zhangwh/miniconda3/envs/OculiChatDA/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/home/ubuntu/nfs/8T2/LinChenyi2024/OculiChatDA-main/web_demo.py", line 380, in
