Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor KVCache and add stream generate #53

Merged
merged 6 commits into from
Jul 26, 2024
Merged

Refactor KVCache and add stream generate #53

merged 6 commits into from
Jul 26, 2024

Conversation

Blaizzy
Copy link
Owner

@Blaizzy Blaizzy commented Jul 25, 2024

This PR refactors the KVCache implementation and adds stream_generate to simplify fastMLX integration.

It also unblocks Will's batch processing PR.

Inspired by MLX-LM :)

cc: @willccbb

@Blaizzy
Copy link
Owner Author

Blaizzy commented Jul 25, 2024

@JosefAlbers I can't get Paligemma to output the segmentation and bounding boxes.

Could you help me investigate what's wrong?

@Blaizzy Blaizzy marked this pull request as ready for review July 26, 2024 12:59
Copy link
Owner Author

@Blaizzy Blaizzy left a comment

Choose a reason for hiding this comment

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

LGTM!

@Blaizzy Blaizzy merged commit 6c98971 into main Jul 26, 2024
1 check passed
@Blaizzy Blaizzy deleted the pc/refactor-utils branch October 25, 2024 19:46
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.

1 participant