Skip to content

Commit 6508e3f

Browse files
authored
Update tuned model SD v2.1base (huggingface#634)
1 parent a15cb14 commit 6508e3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

shark/examples/shark_inference/stable_diffusion/opt_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ def get_unet():
2323
if args.precision == "fp16":
2424
if args.use_tuned:
2525
bucket = "gs://shark_tank/vivian"
26-
model_name = "unet_1dec_fp16_tuned"
26+
if args.version == "v1.4":
27+
model_name = "unet_1dec_fp16_tuned"
28+
if args.version == "v2.1base":
29+
model_name = "unet2base_8dec_fp16_tuned"
2730
return get_shark_model(bucket, model_name, iree_flags)
2831
else:
2932
bucket = "gs://shark_tank/stable_diffusion"

0 commit comments

Comments
 (0)