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

windows下用chatglm2-6b-int4做LLM基座,报 AttributeError: 'NoneType' object has no attribute 'int4WeightExtractionHalf' #1694

Closed
bayuezha opened this issue Oct 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@bayuezha
Copy link

bayuezha commented Oct 8, 2023

windows 配置如下(model_config.py)

"chatglm2-6b-int4": r"D:\PyProjects\Langchain-Chatchat-master\LLM\chatglm2-6b-int4",
"m3e-base": r"D:\PyProjects\Langchain-Chatchat-master\LLM\m3e",
LLM_MODEL = "chatglm2-6b-int4"
EMBEDDING_MODEL = "m3e-base" # 可以尝试最新的嵌入式sota模型:piccolo-large-zh

@bayuezha bayuezha added the bug Something isn't working label Oct 8, 2023
@bayuezha
Copy link
Author

bayuezha commented Oct 8, 2023

仔细查看错误,发现 Failed to load cpm_kernels:No module named 'cpm_kernels',安装cpm_kernels就可以了,这个可以关了

@bayuezha bayuezha closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant