Skip to content

[Bug]: MLA Warnings when using FP8 KV cache in v0.7.1 #12680

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No 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? No Sign in to your account

Open
1 task done
Syst3m1cAn0maly opened this issue Feb 3, 2025 · 1 comment
Open
1 task done

[Bug]: MLA Warnings when using FP8 KV cache in v0.7.1 #12680

Syst3m1cAn0maly opened this issue Feb 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Syst3m1cAn0maly
Copy link

Your current environment

The output of `python collect_env.py`
Your output of `python collect_env.py` here

Model Input Dumps

No response

🐛 Describe the bug

Since v0.7.1, there are a lot of warnings when using fp8 KV cache on models quantized with llm-compressor :

WARNING 02-02 22:55:17 config.py:991] compressed-tensors MLA support requires fp8 activations and weights in group 'group_0', but got activations type 'float' and weights type 'float'.
WARNING 02-02 22:55:17 config.py:991] Full config: {'config_groups': {'group_0': {'input_activations': {'actorder': None, 'block_structure': None, 'dynamic': False, 'group_size': None, 'num_bits': 8, 'observer': 'minmax', 'observer_kwargs': {}, 'strategy': 'tensor', 'symmetric': True, 'type': 'float'}, 'output_activations': None, 'targets': ['Linear'], 'weights': {'actorder': None, 'block_structure': None, 'dynamic': False, 'group_size': None, 'num_bits': 8, 'observer': 'minmax', 'observer_kwargs': {}, 'strategy': 'tensor', 'symmetric': True, 'type': 'float'}}}, 'format': 'float-quantized', 'global_compression_ratio': 1.462046196596282, 'ignore': ['lm_head'], 'kv_cache_scheme': {'actorder': None, 'block_structure': None, 'dynamic': False, 'group_size': None, 'num_bits': 8, 'observer': 'minmax', 'observer_kwargs': {}, 'strategy': 'tensor', 'symmetric': True, 'type': 'float'}, 'quant_method': 'compressed-tensors', 'quantization_status': 'compressed'}

it has been introduced with this PR :
[Attention] Deepseek v3 MLA support with FP8 compute #12601

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
@Syst3m1cAn0maly Syst3m1cAn0maly added the bug Something isn't working label Feb 3, 2025
@LucasWilkinson
Copy link
Collaborator

should be fixed by: #12704

No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants