Skip to content

Batch cleanup#1649

Merged
rltakashige merged 3 commits intoleo/prepare-batch-implementationfrom
batch-cleanup
Mar 3, 2026
Merged

Batch cleanup#1649
rltakashige merged 3 commits intoleo/prepare-batch-implementationfrom
batch-cleanup

Conversation

@Evanev7
Copy link
Member

@Evanev7 Evanev7 commented Mar 2, 2026

what da ya think!

Comment on lines -87 to +124
MpSender[GenerationResponse],
Generator[GenerationResponse],
SendableGenerator[GenerationResponse],
Generator[GenerationResponse | ToolCallResponse | None],
Copy link
Member Author

Choose a reason for hiding this comment

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

commenting ahead of time; the first generator is for the raw GenerationResponses from mlx_generate - for compat with batching - the second is to send them into the processing pipeline, the third is for processed responses.

@Evanev7 Evanev7 force-pushed the batch-cleanup branch 2 times, most recently from d922fa6 to df3b7e6 Compare March 2, 2026 17:48
@Evanev7 Evanev7 force-pushed the leo/prepare-batch-implementation branch from f6eccf1 to 6962838 Compare March 3, 2026 10:49
@Evanev7 Evanev7 marked this pull request as ready for review March 3, 2026 11:35
@rltakashige rltakashige merged commit e919358 into leo/prepare-batch-implementation Mar 3, 2026
2 of 3 checks passed
@rltakashige rltakashige deleted the batch-cleanup branch March 3, 2026 14:06
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.

2 participants