Repository navigation
model:add Zaya1 8B (Zyphra) - #32071
Conversation
|
Hi @varun10221, thanks for your contribution! Caution Your AI agent does not seem to follow AGENTS.md Many agents do not load Then update this PR accordingly. Per our contribution guidelines, the automated PR checker found the following issue(s) that need your attention:
Please note that maintainers reserve the right to make final decisions on PRs. If you believe there is a mistake, please comment below. |
Updated to conform to template. |
|
/bot review |
Automated code reviewReview of PR #32071 (Zaya1 8B support). I checked the new arch against Will slow the review (correctness/robustness)
Notes
Everything else (tensor name parity gguf-py/C++, saver coverage for This review was generated automatically by pi coding agent using |
- Added the support for Zaya. - Fixed the SSM_CONV case, so the model runs on cuda without abort. Please enter the commit message for your changes. Lines starting
1) Added runtime asserts when loading wrong KV head size, unsupported conv kernel size. 2) Removed the static cast usage. 3) Fixed double load of tokenizer. 4) Updated res_scale_in to be input tensor.
…e right move. ii) Fixed formatting
c7ca952 to
4f06c16
Compare
* model:add Zaya1 8B (Zyphra) - Added the support for Zaya. - Fixed the SSM_CONV case, so the model runs on cuda without abort. Please enter the commit message for your changes. Lines starting * Made the following changes based on the bot reviewer feedback: 1) Added runtime asserts when loading wrong KV head size, unsupported conv kernel size. 2) Removed the static cast usage. 3) Fixed double load of tokenizer. 4) Updated res_scale_in to be input tensor. * - Moved the res_scale_in back to layer 0 to fix the cuda bug * i) Removed the EOS addition.Team agreed that updating Tokenizer is the right move. ii) Fixed formatting * Fixed the comment to make it clear --------- Co-authored-by: varun <[email protected]>
* model:add Zaya1 8B (Zyphra) - Added the support for Zaya. - Fixed the SSM_CONV case, so the model runs on cuda without abort. Please enter the commit message for your changes. Lines starting * Made the following changes based on the bot reviewer feedback: 1) Added runtime asserts when loading wrong KV head size, unsupported conv kernel size. 2) Removed the static cast usage. 3) Fixed double load of tokenizer. 4) Updated res_scale_in to be input tensor. * - Moved the res_scale_in back to layer 0 to fix the cuda bug * i) Removed the EOS addition.Team agreed that updating Tokenizer is the right move. ii) Fixed formatting * Fixed the comment to make it clear --------- Co-authored-by: varun <[email protected]>
* model:add Zaya1 8B (Zyphra) - Added the support for Zaya. - Fixed the SSM_CONV case, so the model runs on cuda without abort. Please enter the commit message for your changes. Lines starting * Made the following changes based on the bot reviewer feedback: 1) Added runtime asserts when loading wrong KV head size, unsupported conv kernel size. 2) Removed the static cast usage. 3) Fixed double load of tokenizer. 4) Updated res_scale_in to be input tensor. * - Moved the res_scale_in back to layer 0 to fix the cuda bug * i) Removed the EOS addition.Team agreed that updating Tokenizer is the right move. ii) Fixed formatting * Fixed the comment to make it clear --------- Co-authored-by: varun <[email protected]> (cherry picked from commit 98d67c8)
* model:add Zaya1 8B (Zyphra) - Added the support for Zaya. - Fixed the SSM_CONV case, so the model runs on cuda without abort. Please enter the commit message for your changes. Lines starting * Made the following changes based on the bot reviewer feedback: 1) Added runtime asserts when loading wrong KV head size, unsupported conv kernel size. 2) Removed the static cast usage. 3) Fixed double load of tokenizer. 4) Updated res_scale_in to be input tensor. * - Moved the res_scale_in back to layer 0 to fix the cuda bug * i) Removed the EOS addition.Team agreed that updating Tokenizer is the right move. ii) Fixed formatting * Fixed the comment to make it clear --------- Co-authored-by: varun <[email protected]>
|
@varun10221 hello, I read the model presentation and I see the high quality performance is achieved via Markovian RSA. As I gather from the sentence "Markovian RSA has favorable inference properties", it's used during inference in particular. However, this PR does not mention implementing Markovian RSA, which would make benchmark results moot. So I'm kinda confused: as it stands, does llama.cpp run this model with Markovian RSA or not? |
Please enter the commit message for your changes. Lines starting
Overview
Additional information
Requirements