Commit ee214949 authored by finetuneanon's avatar finetuneanon Committed by GitHub

Set seed for benchmark

parent 64307d2e
...@@ -267,6 +267,7 @@ class StableDiffusionModel(nn.Module): ...@@ -267,6 +267,7 @@ class StableDiffusionModel(nn.Module):
settings.steps = 50 settings.steps = 50
settings.sampler = "k_euler_ancestral" settings.sampler = "k_euler_ancestral"
settings.uc = "" settings.uc = ""
settings.seed = 42
res_list = [(512,512), (512,704), (512,768), (576,768), (768,768), (1024,704), (1024,768), (1024,1024), (1280,1280)] res_list = [(512,512), (512,704), (512,768), (576,768), (768,768), (1024,704), (1024,768), (1024,1024), (1280,1280)]
results = [] results = []
print("benchmarking") print("benchmarking")
......
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