Skip to content

Commit e6105e6

Browse files
committed
vocoder debug
1 parent d031e4f commit e6105e6

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"After act_out - shape: {hidden_states.shape}, min: {hidden_states.min()}, max: {hidden_states.max()}")
473474
print(f"conv_out kernel - min: {self.conv_out.kernel.value.min()}, max: {self.conv_out.kernel.value.max()}")
474475
hidden_states = self.conv_out(hidden_states)
475476
print(f"After conv_out - shape: {hidden_states.shape}, min: {hidden_states.min()}, max: {hidden_states.max()}")

0 commit comments

Comments
 (0)