-
Notifications
You must be signed in to change notification settings - Fork 60
Support Quantization #209
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
Merged
Merged
Support Quantization #209
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| auto v_reshaped = v->view({seq_len, num_key_value_heads_, head_dim_}); | ||
|
|
||
| if (use_qk_norm_) { | ||
| if (model_config_->get<std::string>("model_type") == "qwen3") { |
Collaborator
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.
得把这个llama模型提出来共用部分了,在llama attention里判断model type是qwen3太怪了
be5878b to
4340dff
Compare
0faef9b to
2cd04c1
Compare
36d173e to
4bf20d6
Compare
支持nv w8 1batch 1tp 增加json支持 InfiniLM 增加量化层和global config 以一种比较优雅的方式增加了quant config的支持 修改部分代码结构,删除无用代码 跟随inifnicore修改 删除所有的model_config,统一使用global_config 跟随InfiniLM最新代码修改 修改函数参数顺序 改名global config 为model config Refactor: add new API alongside legacy interfaces with deprecation warnings 添加w4 inifnicore相关内容,以及将Quantization config划入InfiniCore 添加w4 inifnicore相关内容,以及将Quantization config划入InfiniCore
qy_page_131: add qy device success qy inference_server.py
Signed-off-by: Ceng23333 <[email protected]>
Signed-off-by: Ceng23333 <[email protected]>
4bf20d6 to
4f64019
Compare
wooway777
approved these changes
Feb 11, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.