We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af91979 commit 2d07e41Copy full SHA for 2d07e41
1 file changed
src/maxdiffusion/models/ltx2/ltx2_utils.py
@@ -373,12 +373,10 @@ def load_vae_weights(
373
# _tuple_str_to_int might not be needed if we already injected ints, but it's safe
374
flax_key = _tuple_str_to_int(flax_key)
375
376
- flax_key = tuple(flax_key_str)
377
- flax_key = _tuple_str_to_int(flax_key)
378
-
379
# Allow latents_mean/std
380
381
# DEBUG
+ flax_key_str = [str(x) for x in flax_key]
382
if "conv" in flax_key_str or "bias" in flax_key_str:
383
# print(f"DEBUG: VAE Key Map: {pt_tuple_key} -> {flax_key}")
384
pass
0 commit comments