Skip to content

添加AppleSilicon支持#23

Open
NAXG wants to merge 2 commits intosml2h3:mainfrom
NAXG:main
Open

添加AppleSilicon支持#23
NAXG wants to merge 2 commits intosml2h3:mainfrom
NAXG:main

Conversation

@NAXG
Copy link
Copy Markdown

@NAXG NAXG commented Nov 25, 2022

No description provided.

@NAXG
Copy link
Copy Markdown
Author

NAXG commented Nov 25, 2022

Issues #13

Comment thread nets/__init__.py
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里直接改成用 if pytoch.cuda.is_available()torch.backends.mps.is_available() 判断呗?毕竟黑苹果支持 cuda 但不支持 mps 不是么?

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.

2 participants