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

添加macbook pro m1max 使用 #147

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

添加macbook pro m1max 使用 #147

wants to merge 2 commits into from

Conversation

golimix
Copy link

@golimix golimix commented Jul 1, 2023

AutoModel.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True).half().to('mps') 从而可以在macbook m1max 系列芯片上正确执行

更新macbook pro 不能正常执行的代码逻辑
更新macbook m1max 使用说明
@duzx16
Copy link
Member

duzx16 commented Jul 4, 2023

默认的精度就是 fp16 的吧

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

Successfully merging this pull request may close these issues.

None yet

2 participants