Skip to content

Conversation

@kashif
Copy link
Contributor

@kashif kashif commented Oct 21, 2022

fixed vae test as well as torch.generator() call.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 21, 2022

The documentation is not available anymore as the PR was closed or merged.


# Device type MPS is not supported for torch.Generator() api.
if torch_device == "mps":
generator = torch.manual_seed(0)
Copy link
Member

Choose a reason for hiding this comment

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

👍

@pcuenca pcuenca merged commit 9bca402 into huggingface:main Oct 22, 2022
@kashif kashif deleted the mps-tests branch October 22, 2022 07:40
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.

3 participants