mlx-vlm breaking changes
mlx-vlm 0.8.0 (November 16, 2026) is its newest release with breaking changes, 47 of them. The first: Max tokens now defaults to the model's own value when unspecified in mlx-vlm 0.8.0. Every breaking API change we have recorded in mlx-vlm on PyPI: 371 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.8.3, released December 4, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
mlx-vlm 0.8.0 breaking changes
- Default changed
When max tokens is not specified, the model's default is now used instead of the previous default. Code that relied on the old default output length may see different results. github.com - Signature changed
mlx_vlm.load
Was def load(path_or_hf_repo: str, adapter_path: Optional[str] = None, lazy: bool = False, revision: Optional[str] = None, strict: bool = True, **kwargs) -> Tuple[nn.Module, ProcessorMixin]; now def load(path_or_hf_repo: str, adapter_path... pypi.org - Signature changed
mlx_vlm.models.deepseek_v41.config.ModelConfig.__init__
Was def __init__(self, model_type: str = 'deepseek_v41', model_path: Optional[str] = None, vocab_size: int = 129280, hidden_size: int = 5120, moe_intermediate_size: int = 2304, num_hidden_layers: int = 40, num_attention_heads: int = 64... pypi.org - Signature changed
mlx_vlm.models.deepseek_v41.ModelConfig.__init__
Was def __init__(self, model_type: str = 'deepseek_v41', model_path: Optional[str] = None, vocab_size: int = 129280, hidden_size: int = 5120, moe_intermediate_size: int = 2304, num_hidden_layers: int = 40, num_attention_heads: int = 64... pypi.org - Signature changed
mlx_vlm.models.gemma4_text.config.ModelConfig.__init__
Was def __init__(self, model_type: str = 'gemma4_text', hidden_size: int = 1536, num_hidden_layers: int = 35, intermediate_size: int = 6144, num_attention_heads: int = 8, head_dim: int = 256, global_head_dim: int = 512... pypi.org - Signature changed
mlx_vlm.models.gemma4_text.ModelConfig.__init__
Was def __init__(self, model_type: str = 'gemma4_text', hidden_size: int = 1536, num_hidden_layers: int = 35, intermediate_size: int = 6144, num_attention_heads: int = 8, head_dim: int = 256, global_head_dim: int = 512... pypi.org - Signature changed
mlx_vlm.models.gemma4_unified.config.TextConfig.__init__
Was def __init__(self, model_type: str = 'gemma4_unified_text', hidden_size: int = 3840, num_hidden_layers: int = 48, intermediate_size: int = 15360, num_attention_heads: int = 16, head_dim: int = 256, global_head_dim: int = 512... pypi.org - Signature changed
mlx_vlm.models.gemma4_unified.TextConfig.__init__
Was def __init__(self, model_type: str = 'gemma4_unified_text', hidden_size: int = 3840, num_hidden_layers: int = 48, intermediate_size: int = 15360, num_attention_heads: int = 16, head_dim: int = 256, global_head_dim: int = 512... pypi.org - Signature changed
mlx_vlm.models.gemma4.config.TextConfig.__init__
Was def __init__(self, model_type: str = 'gemma4_text', hidden_size: int = 1536, num_hidden_layers: int = 35, intermediate_size: int = 6144, num_attention_heads: int = 8, head_dim: int = 256, global_head_dim: int = 512... pypi.org - Signature changed
mlx_vlm.models.gemma4.TextConfig.__init__
Was def __init__(self, model_type: str = 'gemma4_text', hidden_size: int = 1536, num_hidden_layers: int = 35, intermediate_size: int = 6144, num_attention_heads: int = 8, head_dim: int = 256, global_head_dim: int = 512... pypi.org - Signature changed
mlx_vlm.models.kimi_k3.language.KimiK3TextModel.__call__
Was def __call__(self, inputs: mx.array, cache: Optional[List[Any]] = None, inputs_embeds: Optional[mx.array] = None) -> mx.array; now def __call__(self, inputs: mx.array, cache: Optional[List[Any]] = None, inputs_embeds... pypi.org - Signature changed
mlx_vlm.models.kimi_k3.language.ShortConv1d.__call__
Was def __call__(self, x: mx.array, state: Optional[mx.array], mask: Optional[mx.array], lengths: Optional[mx.array]) -> Tuple[mx.array, mx.array]; now def __call__(self, x: mx.array, state: Optional[mx.array], mask: Optional[mx.array]... pypi.org - Signature changed
mlx_vlm.models.llama_bidirec.llama_bidirec.LlamaModel.__call__
Was def __call__(self, inputs: mx.array, cache=None, input_embeddings: Optional[mx.array] = None); now def __call__(self, inputs: mx.array, cache=None, input_embeddings: Optional[mx.array] = None, capture_layer_ids=None, hidden_sink=None). pypi.org - Signature changed
mlx_vlm.models.llama.language.LlamaModel.__call__
Was def __call__(self, inputs: mx.array, cache=None, input_embeddings: Optional[mx.array] = None); now def __call__(self, inputs: mx.array, cache=None, input_embeddings: Optional[mx.array] = None, capture_layer_ids=None, hidden_sink=None). pypi.org - Signature changed
mlx_vlm.models.mage_vl.language.Qwen3Model.__call__
Was def __call__(self, inputs: mx.array, cache=None, input_embeddings: Optional[mx.array] = None); now def __call__(self, inputs: mx.array, cache=None, input_embeddings: Optional[mx.array] = None, capture_layer_ids=None, hidden_sink=None). pypi.org - Signature changed
mlx_vlm.models.mistral_large4.config.ModelConfig.__init__
Was def __init__(self, text_config: TextConfig = TextConfig(), vision_config: VisionConfig = VisionConfig(), model_type: str = 'mistral_large4', ignore_index: int = -100, image_token_index: int = 10, image_token_id: int = None... pypi.org - Signature changed
mlx_vlm.models.mistral_large4.language.supports_masked_qmv
Was def supports_masked_qmv(linear); now def supports_masked_qmv(linear, *, input_alignment=512). pypi.org - Signature changed
mlx_vlm.models.mistral_large4.mistral_large4.Model.shard
Was def shard(self, group=None); now def shard(self, group=None, *, weights=None). pypi.org - Signature changed
mlx_vlm.models.mistral_large4.Model.shard
Was def shard(self, group=None); now def shard(self, group=None, *, weights=None). pypi.org - Signature changed
mlx_vlm.models.mistral_large4.ModelConfig.__init__
Was def __init__(self, text_config: TextConfig = TextConfig(), vision_config: VisionConfig = VisionConfig(), model_type: str = 'mistral_large4', ignore_index: int = -100, image_token_index: int = 10, image_token_id: int = None... pypi.org - Signature changed
mlx_vlm.models.mistral_large4.ModelConfig.__post_init__
Was def __post_init__(self); now def __post_init__(self, native_config=None). pypi.org - Signature changed
mlx_vlm.models.mistral_large4.moe_kernel.supports_masked_qmv
Was def supports_masked_qmv(linear); now def supports_masked_qmv(linear, *, input_alignment=512). pypi.org - Signature changed
mlx_vlm.models.mistral3.language.Mistral4Model.__call__
Was def __call__(self, inputs: mx.array, cache=None, inputs_embeds: Optional[mx.array] = None); now def __call__(self, inputs: mx.array, cache=None, inputs_embeds: Optional[mx.array] = None, capture_layer_ids=None, hidden_sink=None). pypi.org - Signature changed
mlx_vlm.models.mistral4.language.Mistral4Model.__call__
Was def __call__(self, inputs: mx.array, cache=None, inputs_embeds: Optional[mx.array] = None); now def __call__(self, inputs: mx.array, cache=None, inputs_embeds: Optional[mx.array] = None, capture_layer_ids=None, hidden_sink=None). pypi.org - Signature changed
mlx_vlm.models.qwen3.language.Qwen3Model.__call__
Was def __call__(self, inputs: mx.array, cache=None, input_embeddings: Optional[mx.array] = None); now def __call__(self, inputs: mx.array, cache=None, input_embeddings: Optional[mx.array] = None, capture_layer_ids=None, hidden_sink=None). pypi.org - Signature changed
mlx_vlm.privacy_filter.load_model
Was def load_model(model_path: Path, lazy: bool = False, **kwargs) -> nn.Module; now def load_model(model_path: Path, lazy: bool = False, sharding_group: Optional[mx.distributed.Group] = None, progress_callback: Optional[ProgressCallback]... pypi.org - Signature changed
mlx_vlm.quant_utils.dequantize_model
Was def dequantize_model(model: nn.Module) -> nn.Module; now def dequantize_model(model: nn.Module, class_predicate: Optional[Callable[[str, nn.Module], bool]] = None) -> nn.Module. pypi.org - Signature changed
mlx_vlm.trainer.common.config.CoreTrainingArgs
Was class CoreTrainingArgs; now CoreTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.common.engine.apply_final_accumulated_gradients
Was def apply_final_accumulated_gradients(model: nn.Module, optimizer, gradients: Any, total_steps: int, accumulation_steps: int) -> int; now def apply_final_accumulated_gradients(model: nn.Module, optimizer, gradients: Any, total_steps... pypi.org - Signature changed
mlx_vlm.trainer.common.engine.apply_gradient_step
Was def apply_gradient_step(model: nn.Module, optimizer, loss_value_and_grad: Callable, batch: Any, previous_gradients: Any = None, *, update: bool, accumulation_steps: int, loss_args: Sequence[Any] = ()) -> tuple[Any, Any, Any]; now def... pypi.org - Signature changed
mlx_vlm.trainer.common.model.prepare_model_for_training
Was def prepare_model_for_training(model: nn.Module, *, train_type: str = 'lora', lora_rank: int = 8, lora_alpha: float = 16.0, lora_dropout: float = 0.0, target_modules: Sequence[str] | None = None, quantization_bits: int | None = None... pypi.org - Signature changed
mlx_vlm.trainer.common.utils.apply_accumulated_gradients
Was def apply_accumulated_gradients(model: nn.Module, optimizer, gradients, steps: int) -> None; now def apply_accumulated_gradients(model: nn.Module, optimizer, gradients, steps: int, grad_clip: float | None = None) -> None. pypi.org - Signature changed
mlx_vlm.trainer.common.utils.apply_final_accumulated_gradients
Was def apply_final_accumulated_gradients(model: nn.Module, optimizer, gradients: Any, total_steps: int, accumulation_steps: int) -> int; now def apply_final_accumulated_gradients(model: nn.Module, optimizer, gradients: Any, total_steps... pypi.org - Signature changed
mlx_vlm.trainer.common.utils.apply_gradient_step
Was def apply_gradient_step(model: nn.Module, optimizer, loss_value_and_grad: Callable, batch: Any, previous_gradients: Any = None, *, update: bool, accumulation_steps: int, loss_args: Sequence[Any] = ()) -> tuple[Any, Any, Any]; now def... pypi.org - Signature changed
mlx_vlm.trainer.CoreTrainingArgs
Was class CoreTrainingArgs; now CoreTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.DPOTrainingArgs
Was class DPOTrainingArgs(VLMTrainingArgs); now DPOTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.GRPOTrainingArgs
Was class GRPOTrainingArgs(VLMTrainingArgs); now GRPOTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.ORPOTrainingArgs
Was class ORPOTrainingArgs(VLMTrainingArgs); now ORPOTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.prepare_model_for_training
Was def prepare_model_for_training(model: nn.Module, *, train_type: str = 'lora', lora_rank: int = 8, lora_alpha: float = 16.0, lora_dropout: float = 0.0, target_modules: Sequence[str] | None = None, quantization_bits: int | None = None... pypi.org - Signature changed
mlx_vlm.trainer.vlm.config.VLMTrainingArgs
Was class VLMTrainingArgs(CoreTrainingArgs); now VLMTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.vlm.dpo.config.DPOTrainingArgs
Was class DPOTrainingArgs(VLMTrainingArgs); now DPOTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.vlm.grpo.config.GRPOTrainingArgs
Was class GRPOTrainingArgs(VLMTrainingArgs); now GRPOTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.vlm.orpo.config.ORPOTrainingArgs
Was class ORPOTrainingArgs(VLMTrainingArgs); now ORPOTrainingArgs. pypi.org - Signature changed
mlx_vlm.trainer.VLMTrainingArgs
Was class VLMTrainingArgs(CoreTrainingArgs); now VLMTrainingArgs. pypi.org - Signature changed
mlx_vlm.utils.load
Was def load(path_or_hf_repo: str, adapter_path: Optional[str] = None, lazy: bool = False, revision: Optional[str] = None, strict: bool = True, **kwargs) -> Tuple[nn.Module, ProcessorMixin]; now def load(path_or_hf_repo: str, adapter_path... pypi.org - Signature changed
mlx_vlm.utils.load_model
Was def load_model(model_path: Path, lazy: bool = False, **kwargs) -> nn.Module; now def load_model(model_path: Path, lazy: bool = False, sharding_group: Optional[mx.distributed.Group] = None, progress_callback: Optional[ProgressCallback]... pypi.org - Signature changed
mlx_vlm.utils.load_model_weights
Was def load_model_weights(model: nn.Module, config: dict, weights: dict, model_path: Path, *, lazy: bool = False, strict: bool = True, declared_keys: Optional[set] = None, is_offload_dir: bool = False, **kwargs) -> nn.Module; now def... pypi.org
mlx-vlm 0.7.0 breaking changes
- Removed
mlx_vlm.apc_adapters.CheckpointAdapter.deserialize
CheckpointAdapter.deserialize was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.CheckpointAdapter.merge_rows
CheckpointAdapter.merge_rows was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.CheckpointAdapter.serialize
CheckpointAdapter.serialize was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.CompositeAdapter
mlx_vlm.apc_adapters.CompositeAdapter was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.PrefixCachePlan.adapter_for
PrefixCachePlan.adapter_for was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.PrefixStateAdapter
mlx_vlm.apc_adapters.PrefixStateAdapter was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.resolve_adapter
mlx_vlm.apc_adapters.resolve_adapter was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.resolve_adapter_by_capability
mlx_vlm.apc_adapters.resolve_adapter_by_capability was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.StateFragment.capability
StateFragment.capability was removed in mlx-vlm 0.7.0 pypi.org - Removed
mlx_vlm.apc_adapters.StateFragment.eval_targets
StateFragment.eval_targets was removed in mlx-vlm 0.7.0 pypi.org
And 103 more in this version. Sign up to see every change
mlx-vlm 0.6.0 breaking changes
- Removed
mlx_vlm.generate.APC_PRIVATE_PROMPT_KEYS
mlx_vlm.generate.APC_PRIVATE_PROMPT_KEYS was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.apply_chat_template
mlx_vlm.generate.apply_chat_template was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.cache
mlx_vlm.generate.cache was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.DEFAULT_AUDIO
mlx_vlm.generate.DEFAULT_AUDIO was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.DEFAULT_COMPLETION_BATCH_SIZE
mlx_vlm.generate.DEFAULT_COMPLETION_BATCH_SIZE was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.DEFAULT_IMAGE
mlx_vlm.generate.DEFAULT_IMAGE was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.DEFAULT_KV_GROUP_SIZE
mlx_vlm.generate.DEFAULT_KV_GROUP_SIZE was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.DEFAULT_KV_QUANT_SCHEME
mlx_vlm.generate.DEFAULT_KV_QUANT_SCHEME was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.DEFAULT_MAX_TOKENS
mlx_vlm.generate.DEFAULT_MAX_TOKENS was removed in mlx-vlm 0.6.0 pypi.org - Removed
mlx_vlm.generate.DEFAULT_MIN_P
mlx_vlm.generate.DEFAULT_MIN_P was removed in mlx-vlm 0.6.0 pypi.org
And 201 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.