Skip to content

add mac platform for torch#107

Open
shenzhenjinma wants to merge 3 commits into
zai-org:mainfrom
shenzhenjinma:main
Open

add mac platform for torch#107
shenzhenjinma wants to merge 3 commits into
zai-org:mainfrom
shenzhenjinma:main

Conversation

@shenzhenjinma

Copy link
Copy Markdown

No description provided.

@shenzhenjinma

Copy link
Copy Markdown
Author

@duzx16 Hi due mac can't use gpu, so torch must be cpu version, I tried it, can run this project

@shenzhenjinma

Copy link
Copy Markdown
Author

image

@duzx16

duzx16 commented Jun 28, 2023

Copy link
Copy Markdown
Contributor

I don't think it is necessary, since pytorch doesn't provide gpu version on mac. pip install torch will install the cpu version by default.

@TankNee

TankNee commented Jun 29, 2023

Copy link
Copy Markdown

mps?

@jiyee

jiyee commented Jun 30, 2023

Copy link
Copy Markdown

After installing and executing on the Mac Mini Apple M2 machine, an error occurred:
RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'

@jinzishuai

Copy link
Copy Markdown

@jiyee I have the same problem. Have you fixed that?

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.

5 participants