-
Notifications
You must be signed in to change notification settings - Fork 26
[WIP] Granite 2b & 3b support #496
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
👋 Hi! Thank you for contributing to vLLM support on Spyre.
Or this can be done with
Now you are good to go 🚀 |
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
self.kv_cache_specs['head_dim'] = self.config.hidden_size // \ | ||
self.config.num_attention_heads | ||
|
||
# *** ALERT *** Granite 2b hack for AIU Compiler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we know if this is a temporary hack? Then perhaps we can add a compatibility test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will see how they implement it properly in fms. I do just mirror their strategy here... (very much work in progress)
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
Supporting granite 2b & 3b: work in progress
consumes this fms branch: https://github.com/foundation-model-stack/foundation-model-stack/tree/granite-2b-expand-q-k-128