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 a15cb14 commit 6508e3fCopy full SHA for 6508e3f
shark/examples/shark_inference/stable_diffusion/opt_params.py
@@ -23,7 +23,10 @@ def get_unet():
23
if args.precision == "fp16":
24
if args.use_tuned:
25
bucket = "gs://shark_tank/vivian"
26
- model_name = "unet_1dec_fp16_tuned"
+ 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"
30
return get_shark_model(bucket, model_name, iree_flags)
31
else:
32
bucket = "gs://shark_tank/stable_diffusion"
0 commit comments