We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650ef69 commit d26d848Copy full SHA for d26d848
text_to_image/stable_diffusion/run.py
@@ -7,7 +7,7 @@
7
8
def run_pytorch_fp32(model_path, config, steps, scale, batch_size, num_runs, timeout):
9
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "stablediffusion"))
10
-
+ import torch
11
from omegaconf import OmegaConf
12
from contextlib import nullcontext
13
from utils.benchmark import run_model
0 commit comments