We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(base) root@ai:~/chatglm.cpp/examples# python3 web_demo.py -m ../chatglm-ggml.bin Traceback (most recent call last): File "/root/chatglm.cpp/examples/web_demo.py", line 24, in pipeline = chatglm_cpp.Pipeline(args.model) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/anaconda3/lib/python3.11/site-packages/chatglm_cpp/init.py", line 33, in init super().init(str(model_path)) RuntimeError: /tmp/pip-install-g7k57662/chatglm-cpp_f0d0b14b283d4034978c4aac7fe3f802/chatglm.cpp:323 check failed (data != MAP_FAILED) Invalid argument
The text was updated successfully, but these errors were encountered:
我是启动api也是同样的错误:File "/usr/local/anaconda3/envs/chat/lib/python3.10/site-packages/chatglm_cpp/init.py", line 33, in init super().init(str(model_path)) RuntimeError: /tmp/pip-install-8umdz0sz/chatglm-cpp_132bd28a1c4646da894500322fb5060b/chatglm.cpp:323 check failed (data != MAP_FAILED) Invalid argument
Sorry, something went wrong.
我也遇到了同样的问题,然后看了眼chatglm-ggml.bin文件的大小,只有0。于是重新执行了下生成chatglm-ggml.bin的命令,再启动就成功了
我也遇到了同样的问题,然后看了眼chatglm-ggml.bin文件的大小,只有0。于是重新执行了下生成chatglm-ggml.bin的命令,再启动就成功了 我也大意了
No branches or pull requests
(base) root@ai:~/chatglm.cpp/examples# python3 web_demo.py -m ../chatglm-ggml.bin
Traceback (most recent call last):
File "/root/chatglm.cpp/examples/web_demo.py", line 24, in
pipeline = chatglm_cpp.Pipeline(args.model)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/anaconda3/lib/python3.11/site-packages/chatglm_cpp/init.py", line 33, in init
super().init(str(model_path))
RuntimeError: /tmp/pip-install-g7k57662/chatglm-cpp_f0d0b14b283d4034978c4aac7fe3f802/chatglm.cpp:323 check failed (data != MAP_FAILED) Invalid argument
The text was updated successfully, but these errors were encountered: