-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
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
我想启动web端提醒这个报错,你们遇到过吗,麻烦给指点一下 #259
Comments
我是启动api也是同样的错误:File "/usr/local/anaconda3/envs/chat/lib/python3.10/site-packages/chatglm_cpp/init.py", line 33, in init |
我也遇到了同样的问题,然后看了眼chatglm-ggml.bin文件的大小,只有0。于是重新执行了下生成chatglm-ggml.bin的命令,再启动就成功了 |
|
(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: