We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d07e41 commit c95ce06Copy full SHA for c95ce06
1 file changed
src/maxdiffusion/models/ltx2/ltx2_utils.py
@@ -338,8 +338,8 @@ def load_vae_weights(
338
idx = int(part.split("_")[-1])
339
340
if name == "resnets":
341
- resnet_index = idx
342
pt_list.append("resnets")
+ pt_list.append(str(idx))
343
elif name == "upsamplers":
344
pt_list.append("upsampler")
345
# Skip the index 0 for upsampler as Flax uses singular non-list
0 commit comments