Skip to content

Add GPU Support for Apple Silicon Macs#1481

Closed
NripeshN wants to merge 3 commits into
openai:mainfrom
NripeshN:main
Closed

Add GPU Support for Apple Silicon Macs#1481
NripeshN wants to merge 3 commits into
openai:mainfrom
NripeshN:main

Conversation

@NripeshN

Copy link
Copy Markdown

No description provided.

@jongwook

Copy link
Copy Markdown
Collaborator

Hi, this is duplicate of #382, where we have various reports that it either fails to run some operations or performance that's not very promising. Looks like it's doing better on pytorch 2.x; I'll plan to merge #382 after confirming that MPS is works reliably and fast enough.

@NripeshN

NripeshN commented Jun 30, 2023

Copy link
Copy Markdown
Author

Hi @jongwook, this pull request may pass the failing operations. PyTorch should be installed with MPS compatibility for torch.backends.mps.is_available() to work. Otherwise, it would throw out an error. Wrapping it around try and catch statement would fix this issue.

@NripeshN NripeshN closed this Jun 30, 2023
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