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

fix random number generator in session #56

Merged
merged 2 commits into from
Apr 27, 2024
Merged

Conversation

noskill
Copy link
Collaborator

@noskill noskill commented Apr 26, 2024

remove clip_skip implementation, clip_skip is implemented in diffusers for non-community pipelines and also for lpw pipelines for SDXL

torch.cuda.manual_seed returns None so we always pass None to pipeline

https://pytorch.org/docs/stable/_modules/torch/cuda/random.html#manual_seed

This PR replaces torch.cuda.manual_seed with torch.Generator()

@noskill noskill requested a review from Necr0x0Der April 26, 2024 14:46
@Necr0x0Der Necr0x0Der merged commit 277aa89 into singnet:main Apr 27, 2024
1 check passed
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.

2 participants