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

希望能够支持MacOS #7

Open
kk580kk opened this issue Mar 20, 2023 · 3 comments
Open

希望能够支持MacOS #7

kk580kk opened this issue Mar 20, 2023 · 3 comments

Comments

@kk580kk
Copy link

kk580kk commented Mar 20, 2023

  File "/opt/homebrew/anaconda3/envs/ChatGLM-webui/lib/python3.10/site-packages/cpm_kernels/library/base.py", line 59, in __init__
    raise RuntimeError("Unknown platform: %s" % sys.platform)
RuntimeError: Unknown platform: darwin

使用MacOS执行cpm kernels,会遇到不支持的系统的报错,希望能够支持MacOS M1芯片

@kk580kk
Copy link
Author

kk580kk commented Mar 20, 2023

I found the solution :
THUDM/ChatGLM-6B#6 (comment)

@kk580kk
Copy link
Author

kk580kk commented Mar 24, 2023

麻烦看一看这个链接,可以解决你的问题。
THUDM/ChatGLM-6B#6 (comment)

@dalei2019
Copy link

THUDM/ChatGLM-6B#6 (comment)

这个是 6B 模型+CPU的运行方法。Int4 的量化模型目前好像没有好方法运行在 Mac 上。除非 cpm_kernel 能直接支持。

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

2 participants