We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, if kv_quant_granularity not given:
kv_quant_granularity
from omniserve import LLMEngine, EngineArgs M = 'mit-han-lab/Llama-3-8B-Instruct-QServe-g128' M = LLMEngine.from_engine_args(EngineArgs(M, ifb_mode=1, precision='w4a8kv4', quant_path=M))
results in
NotImplementedError: Unsupported kv_quant_granularity None
After adding one:
from omniserve import LLMEngine, EngineArgs M = 'mit-han-lab/Llama-3-8B-Instruct-QServe-g128' M = LLMEngine.from_engine_args(EngineArgs(M, ifb_mode=1, precision='w4a8kv4', quant_path=M, kv_quant_granularity='per_tensor'))
still results in
KeyError: 'model.layers.0.self_attn.qkv_proj.s2_scales'
I tried llama and mistral, non of them work. Maybe the model uploaded and readme are already too outdated?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, if
kv_quant_granularity
not given:results in
After adding one:
still results in
I tried llama and mistral, non of them work. Maybe the model uploaded and readme are already too outdated?
The text was updated successfully, but these errors were encountered: