Skip to content

Commit c95ce06

Browse files
committed
fix
1 parent 2d07e41 commit c95ce06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/models/ltx2/ltx2_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ def load_vae_weights(
338338
idx = int(part.split("_")[-1])
339339

340340
if name == "resnets":
341-
resnet_index = idx
342341
pt_list.append("resnets")
342+
pt_list.append(str(idx))
343343
elif name == "upsamplers":
344344
pt_list.append("upsampler")
345345
# Skip the index 0 for upsampler as Flax uses singular non-list

0 commit comments

Comments
 (0)