Closed bghira closed 6 months ago
could you please tell me which file + line of code?
that API call seeds the RNG for all devices in torch. it works due to side-effects. it’s not necessary to use the Generator it returns.
https://pytorch.org/docs/stable/notes/randomness.html#pytorch-random-number-generator
Howdy, checking through your implementation with Diffusers and I noticed you're setting manual_seed but the returned torch.Generator isn't assigned to a value or passed into the refiner.