Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mlx_lm/models/nemotron_h.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class ModelArgs(BaseModelArgs):
_block_type_to_char = {"mamba": "M", "attention": "*", "moe": "E", "mlp": "-"}

def __post_init__(self):
if self.time_step_limit is None and self.time_step_min is not None:
self.time_step_limit = (self.time_step_min, float("inf"))
if self.time_step_limit is None:
self.time_step_limit = (0.0, float("inf"))

# Normalize to hybrid_override_pattern (single-char list)
if self.hybrid_override_pattern is None and self.layers_block_type is not None:
Expand Down
Loading