Commit 6fb46dd8 authored by finetuneanon's avatar finetuneanon Committed by GitHub

Run benchmark if configured

parent 0e606691
......@@ -257,6 +257,9 @@ class StableDiffusionModel(nn.Module):
if config.prior_path:
self.prior = VectorAdjustPrior.load_model(config.prior_path).to(self.device)
self.copied_ema = False
if config.benchmark == "1":
self.benchmark()
def benchmark(self):
settings = self.get_default_config
......
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