mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
Enable v1.5 to use tuned configs (#1049)
This commit is contained in:
@@ -85,6 +85,8 @@ def load_lower_configs():
|
||||
base_model_id = args.hf_model_id
|
||||
if args.ckpt_loc != "":
|
||||
base_model_id = fetch_and_update_base_model_id(args.ckpt_loc)
|
||||
if base_model_id == "runwayml/stable-diffusion-v1-5":
|
||||
base_model_id = "CompVis/stable-diffusion-v1-4"
|
||||
|
||||
variant, version = get_variant_version(base_model_id)
|
||||
|
||||
|
||||
@@ -265,6 +265,7 @@ def set_init_device_flags():
|
||||
"stabilityai/stable-diffusion-2-1",
|
||||
"stabilityai/stable-diffusion-2-1-base",
|
||||
"CompVis/stable-diffusion-v1-4",
|
||||
"runwayml/stable-diffusion-v1-5",
|
||||
]:
|
||||
args.use_tuned = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user