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

Unit1/01_introduction_to_diffusers.ipynb #60

Open
yao-yu1999 opened this issue Feb 23, 2023 · 4 comments
Open

Unit1/01_introduction_to_diffusers.ipynb #60

yao-yu1999 opened this issue Feb 23, 2023 · 4 comments

Comments

@yao-yu1999
Copy link

This link doesn't seem right. Have you changed the address?
https://github.com/huggingface/diffusers/raw/main/examples/unconditional_image_generation/train_unconditional.py
Is this link the same as the one above?
"https://github.com/huggingface/diffusers/blob/main/examples/unconditional_image_generation/train_unconditional.py"
If yes, do you know what the error is and how to solve it?

@johnowhitaker
Copy link
Collaborator

It looks like the script is trying to import a library that isn't installed on your machine. Try
pip install tensorboard - hopefully that will solve it

@yao-yu1999
Copy link
Author

Wow, problem solved, thanks!

@ayu1729
Copy link

ayu1729 commented May 18, 2023

In Accelerate script there is warning coming.

UserWarning: Grad strides do not match bucket view strides. This may indicate grad was not created according to the gradient layout contract, or that the param's strides changed since DDP was constructed. This is not an error, but may impair performance.
grad.sizes() = [512, 1024, 1, 1], strides() = [1024, 1, 1024, 1024]
bucket_view.sizes() = [512, 1024, 1, 1], strides() = [1024, 1, 1, 1] (Triggered internally at ../torch/csrc/distributed/c10d/reducer.cpp:323.).

Can this cause issue?I guess this is because of not using contiguous after permute somewhere in diffusers.

@igeor
Copy link

igeor commented Dec 19, 2023

@ayu1729 Hi, did you find any solution your above mentioned warning?

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

No branches or pull requests

4 participants