Skip to content

Fix server batching condition for SSMs#655

Merged
angeloskath merged 4 commits into
mainfrom
fix-ssm-batchable
Dec 9, 2025
Merged

Fix server batching condition for SSMs#655
angeloskath merged 4 commits into
mainfrom
fix-ssm-batchable

Conversation

@angeloskath

Copy link
Copy Markdown
Member

Fixes #653 by adding the cache type to the is_batchable condition. Basically, we don't implement batching for SSMs yet.

Also tokenizes properly when the model has a chat template.

@angeloskath angeloskath requested a review from awni December 5, 2025 21:38

@awni awni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!!

@angeloskath angeloskath merged commit eea2e5f into main Dec 9, 2025
2 checks passed
@angeloskath angeloskath deleted the fix-ssm-batchable branch December 9, 2025 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mlx_lm.server AttributeError: 'str' object has no attribute 'append'

2 participants