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

Adding quantization_weights_path for fp8 weights #57

Merged
merged 5 commits into from
Jun 19, 2024

Conversation

charlifu
Copy link

@charlifu charlifu commented Jun 19, 2024

Current fp8 gemm computation is using quantization_param_path to load quantized fp8 weights, but this arg is also being use by fp8 kv cache. This PR adds another arg named quantization_weights_path for the quantized safetensor file to load the fp8 weights.

@charlifu charlifu requested a review from gshtras June 19, 2024 20:48
@gshtras
Copy link
Collaborator

gshtras commented Jun 19, 2024

Looks good, just rename to quantized_weights_path please

@charlifu charlifu merged commit 93aab3c into main Jun 19, 2024
13 checks passed
@charlifu charlifu deleted the charlifu/fix_arg_for_quant_param branch August 5, 2024 19:24
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.

2 participants