Skip to content

Commit d26d848

Browse files
Update run.py
1 parent 650ef69 commit d26d848

File tree

1 file changed

+1
-1
lines changed
  • text_to_image/stable_diffusion

1 file changed

+1
-1
lines changed

text_to_image/stable_diffusion/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
def run_pytorch_fp32(model_path, config, steps, scale, batch_size, num_runs, timeout):
99
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "stablediffusion"))
10-
10+
import torch
1111
from omegaconf import OmegaConf
1212
from contextlib import nullcontext
1313
from utils.benchmark import run_model

0 commit comments

Comments
 (0)