Skip to content

Commit d031e4f

Browse files
committed
debug for weights
1 parent 7501406 commit d031e4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/maxdiffusion/models/ltx2/vocoder_ltx2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ def __call__(self, hidden_states: Array, time_last: bool = False) -> Array:
470470
print(f"After resnets level {i} - shape: {hidden_states.shape}, min: {hidden_states.min()}, max: {hidden_states.max()}")
471471

472472
hidden_states = self.act_out(hidden_states)
473+
print(f"conv_out kernel - min: {self.conv_out.kernel.value.min()}, max: {self.conv_out.kernel.value.max()}")
473474
hidden_states = self.conv_out(hidden_states)
474475
print(f"After conv_out - shape: {hidden_states.shape}, min: {hidden_states.min()}, max: {hidden_states.max()}")
475476

0 commit comments

Comments
 (0)