Skip to content

Commit

Permalink
Fix --decomp_attn for VAE as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
monorimet committed Feb 26, 2024
1 parent 8b7087c commit 9ffaf82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion models/turbine_models/custom_models/sd_inference/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
PNDMScheduler,
)


def save_external_weights(
mapper,
model,
Expand Down
2 changes: 1 addition & 1 deletion models/turbine_models/custom_models/sdxl_inference/vae.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
parser.add_argument("--variant", type=str, default="decode")
parser.add_argument(
"--decomp_attn",
type=argparse.BooleanOptionalAction,
default=False,
action="store_true",
help="Decompose attention at fx graph level",
)

Expand Down

0 comments on commit 9ffaf82

Please sign in to comment.