Skip to content

Commit a272d08

Browse files
committed
load transformer error
1 parent 634591b commit a272d08

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/maxdiffusion/models/ltx_video/transformers/transformer3d.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ def scale_shift_table_init(key):
154154
matmul_precision=self.matmul_precision,
155155
)
156156
def init_weights(self, key, in_channels, caption_channels, eval_only=True):
157+
import pdb; pdb.set_trace()
157158
example_inputs = {}
158159
batch_size, num_tokens = 4, 256
159160
input_shapes = {

src/maxdiffusion/pipelines/ltx_video/ltx_video_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def load_transformer(cls, config):
240240
tx=None,
241241
config=config,
242242
mesh=mesh,
243-
weights_init_fn=weights_init_fn,
243+
weights_init_fn=None,
244244
checkpoint_manager=checkpoint_manager,
245245
checkpoint_item=" ",
246246
model_params=None,

0 commit comments

Comments
 (0)