Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skrample/diffusers.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def get_step_noise[T: TensorNoiseProps | None](
# multiply by step index to spread the values and minimize clash
# does not work across batch sizes but at least Flux will have something mostly deterministic
seeds = [
torch.Generator().manual_seed(
torch.Generator(torch.get_default_device()).manual_seed(
int(b.reshape(b.numel())[b.numel() // 2].item() * 1e4 * (step.position() + 1))
)
for b in sample
Expand Down
Loading