Skip to content

Commit

Permalink
sdxl
Browse files Browse the repository at this point in the history
  • Loading branch information
sayakpaul committed Dec 5, 2023
1 parent dc3063a commit 63aee79
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions benchmarks/run_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,19 @@ def main():

for file in python_files:
print(f"****** Running file: {file} ******")
run_command(f"python {file}".split())
run_command(f"python {file} --run_compile".split())
command = f"python {file}"
run_command(command.split())

command += " --run_compile"
run_command(command.split())

if file == "benchmark_sd.py":
for ckpt in ["segmind/SSD-1B", "stabilityai/stable-diffusion-xl-base-1.0"]:
command = f"python {file} --ckpt {ckpt}"
run_command(command.split())

command += " --run_compile"
run_command(command.split())


if __name__ == "__main__":
Expand Down

0 comments on commit 63aee79

Please sign in to comment.