Skip to content

Commit 2fec055

Browse files
committed
debug for NaNs
1 parent e7d7ba1 commit 2fec055

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/schedulers/scheduling_unipc_multistep_flax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ def step(
719719
)
720720

721721
# Convert model_output (noise/v_pred) to x0_pred or epsilon_pred, based on prediction_type
722-
model_output_for_history = self.convert_model_output(state, model_output, sample)
722+
model_output_for_history = self.convert_model_output(state, model_output, sample, step_val)
723723
check_nan_jit(model_output_for_history, "model_output_for_history", step_val)
724724

725725
# Apply corrector if applicable

0 commit comments

Comments
 (0)