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

[Feature] FP8 weight only w8a16 quantization native support #3007

Open
2 tasks done
arunpatala opened this issue Jan 20, 2025 · 1 comment
Open
2 tasks done

[Feature] FP8 weight only w8a16 quantization native support #3007

arunpatala opened this issue Jan 20, 2025 · 1 comment
Assignees
Labels
quant LLM Quantization

Comments

@arunpatala
Copy link

Checklist

Motivation

Hi,

I was using VLLM for inference and I am using A10 GPU which doesnt have w8a8 fp8 support. But when I use (without quantization beforehand)

./vllm_docker.sh meta-llama/Llama-3.1-8B-Instruct --quantization fp8

the server starts with

Your GPU does not have native support for FP8 computation but FP8 quantization is being used. Weight-only FP8 compression will be used leveraging the Marlin kernel. This may degrade performance for compute-heavy workloads.

I am ok with the performance gains of w8a16 as my model doesnt degrade much at this quantization level. Is there a way to acheive the same in SGLang?

Thanks

Related resources

No response

@zhaochenyang20 zhaochenyang20 added the quant LLM Quantization label Jan 21, 2025
@zhaochenyang20 zhaochenyang20 self-assigned this Jan 21, 2025
@zhaochenyang20
Copy link
Collaborator

I‘ve asked fan for help. Stay tuned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quant LLM Quantization
Projects
None yet
Development

No branches or pull requests

2 participants