fix stable_diffusion with fp16 (#5239)

This commit is contained in:
chenyu
2024-06-30 12:59:31 -04:00
committed by GitHub
parent 649641a2f2
commit 88763eb9ff
2 changed files with 6 additions and 2 deletions

View File

@@ -39,6 +39,8 @@ jobs:
# run: echo "RUN_PROCESS_REPLAY=1" >> $GITHUB_ENV
- name: Run Stable Diffusion
run: JIT=2 THREEFRY=1 python3 examples/stable_diffusion.py --seed 0 --noshow --timing | tee sd.txt
- name: Run Stable Diffusion with fp16
run: JIT=2 THREEFRY=1 python3 examples/stable_diffusion.py --fp16 --seed 0 --noshow --timing | tee sd_fp16.txt
- name: Run SDXL
run: JIT=2 THREEFRY=1 python3 examples/sdxl.py --seed 0 --noshow | tee sdxl.txt
- name: Run model inference benchmark
@@ -105,6 +107,7 @@ jobs:
matmul.txt
matmul_half.txt
sd.txt
sd_fp16.txt
sdxl.txt
beautiful_mnist.txt
train_cifar.txt