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

Allow MPS devices to use the gradio interface #105

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

ggozad
Copy link
Contributor

@ggozad ggozad commented Oct 29, 2022

torch.Generator is not yet available for MPS devices. Here's a small fix to fallback to cpu.

@nateraw
Copy link
Owner

nateraw commented Nov 1, 2022

LGTM! Thanks so much for this...in back of my head I knew this was an issue but didn't have chance to fix it.

@nateraw nateraw merged commit e80012a into nateraw:main Nov 1, 2022
@ggozad ggozad deleted the FIX-generator-mps branch November 1, 2022 21:00
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