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

Add support for JetStream generative inference for all KerasHub LLMs #1863

Open
mattdangerw opened this issue Sep 22, 2024 · 2 comments
Open
Assignees

Comments

@mattdangerw
Copy link
Member

JetStream is throughput optimized generation software for JAX and TPUs. We should add support for JetStream generation for all KerasHub generative models.

The most useful starting reference for us will be the max engine implementation here.

@mattdangerw
Copy link
Member Author

Looked at this a bit. I think #1861 will be a important precursor work to make implementing this reasonable. I also think we might want to consider starting on some of #1862 to add support, for example, for passing a custom token position inputs, but I doubt it's a strict requirement.

@mattdangerw mattdangerw changed the title Add support for JetStream TPU generation for all KerasHub LLMs Add support for JetStream generative inference for all KerasHub LLMs Sep 23, 2024
@mattdangerw
Copy link
Member Author

It's unclear to me whether Jetstream supports tokenization beyond sentencepiece and gpt-style-bpe, see this for maxtext. This is something to look into.

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

No branches or pull requests

2 participants