OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Set KV-cache to FP16 in LLM evaluation tests (#27956)
Alexander Kozlov3015156807e6
diff --git a/tests/llm/accuracy_conformance.py b/tests/llm/accuracy_conformance.pyindex 7f75a8e912b..4c6a1e140e5 100644--- a/tests/llm/accuracy_conformance.py+++ b/tests/llm/accuracy_conformance.py@@ -98,7 +98,7 @@ test_scope = init_test_scope()test_scope,)def test_accuracy_conformance(model_path, model_type, precision, gt_data, device):- target_model = OVModelForCausalLM.from_pretrained(model_path, device=device)+ target_model = OVModelForCausalLM.from_pretrained(model_path, device=device, ov_config={"KV_CACHE_PRECISION": "f16"})tokenizer = AutoTokenizer.from_pretrained(model_path)evaluator = wwb.Evaluator(