Skip to content

Can auto_quant calculate the score for kv-cache separately? #2158

Description

@zcfh

Make sure you already checked the examples and documentation before submitting an issue.

How would you like to use ModelOpt

        # Disable KV Cache quantization
        # Currently KV Cache quantization is enabled for some quantization formats and disabled for others
        # This breaks the monotonicity of the quantization formats in terms of weight compression Vs accuracy

The reason for disabling key-value caching is that some recipes are enabled while others are disabled, thus breaking monotonicity. If the weighted recipes, batches, and sequence are fixed, is it possible to compare kv-cached recipes? In other words, to calculate the cost/score separately for the kv-cache.

Who can help?

  • ?

Metadata

Metadata

Assignees

Labels

questionHelp is is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions