Commit 4e4791a7 authored by novelailab's avatar novelailab

Remove questionable seed line

parent c19c8e15
......@@ -324,8 +324,6 @@ class StableDiffusionModel(nn.Module):
@torch.no_grad()
@torch.autocast("cuda", enabled=True, dtype=torch.float16)
def sample(self, request):
seed_everything(abs(hash(str(request.prompt))%(2**31-1))) # ensure consistent states
if request.module is not None:
if request.module == "vanilla":
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment