Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/outlines/models/mlxlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def generate_batch(
"""
from mlx_lm import batch_generate

if output_type:
if output_type is not None:
raise NotImplementedError(
"mlx-lm does not support constrained generation with batching."
+ "You cannot provide an `output_type` with this method."
Expand Down