Skip to content

Commit

Permalink
Update config.py for distill
Browse files Browse the repository at this point in the history
  • Loading branch information
zml-ai authored Jun 6, 2024
1 parent cb70930 commit 3f5bb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_args(default_args=None):
# HunYuan-DiT
parser.add_argument("--model", type=str, choices=list(HUNYUAN_DIT_CONFIG.keys()), default='DiT-g/2')
parser.add_argument("--norm", type=str, default="layer", help="Normalization layer type")
parser.add_argument("--load-key", type=str, choices=["ema", "module"], default="ema", help="Load model key for HunYuanDiT checkpoint.")
parser.add_argument("--load-key", type=str, choices=["ema", "module", "distill"], default="ema", help="Load model key for HunYuanDiT checkpoint.")
parser.add_argument('--size-cond', type=int, nargs='+', default=[1024, 1024],
help="Size condition used in sampling. 2 values are required for height and width. "
"If a single value is provided, the image will be treated to (value, value).")
Expand Down

0 comments on commit 3f5bb49

Please sign in to comment.