huggingface / huggingface/diffusion-models-class

Introduction to Diffusers Notebook - Mac M1 Support

Open
#12 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
492
PR merge metrics
No merged PRs in 30d

Description

I have spotted an Issue not directly for this notebook but for Mac m1 users.

If you set `device = torch.device("cpu")` the output of `show_images(xb).resize((8 * 64, 64), resample=Image.NEAREST)` gives you 8 different images of butterflies.
Bit if you set `device = torch.device("mps")` the output of the same functions return 8 times the same butterfly.

Don´t know what's going on under the hood with torch gpu for Mac m1 yet - didn't find something googeling it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.