Skip to content
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

Open
dongyongwei opened this issue Feb 1, 2024 · 3 comments

Comments

@dongyongwei
Copy link

(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

@xpcloud
Copy link

xpcloud commented Feb 6, 2024

我是启动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

@jjbb
Copy link

jjbb commented Feb 22, 2024

我也遇到了同样的问题,然后看了眼chatglm-ggml.bin文件的大小,只有0。于是重新执行了下生成chatglm-ggml.bin的命令,再启动就成功了

@wac81
Copy link

wac81 commented Mar 10, 2024

我也遇到了同样的问题,然后看了眼chatglm-ggml.bin文件的大小,只有0。于是重新执行了下生成chatglm-ggml.bin的命令,再启动就成功了
我也大意了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants