[CPU][BugFix] Remove redundant kv cache write (#50437)

Signed-off-by: Fadi Arafeh <fadi.arafeh@arm.com>
Signed-off-by: jiang1.li <jiang1.li@intel.com>
Co-authored-by: jiang1.li <jiang1.li@intel.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Fadi Arafeh
2026-07-31 15:28:44 +08:00
committed by GitHub
co-authored by jiang1.li Claude
parent 3ee2bd1321
commit 10e6b40015
3 changed files with 45 additions and 12 deletions
@@ -56,10 +56,11 @@ function cpu_tests() {
set -e
python3 examples/basic/offline_inference/generate.py --model facebook/opt-125m"
# Run model tests
# Test encoder-decoder and encoder-only models
docker exec cpu-test bash -c "
set -e
pytest -x -v -s tests/models/multimodal/generation/test_whisper.py -m cpu_model"
pytest -x -v -s tests/models/multimodal/generation/test_whisper.py -m cpu_model
pytest -x -v -s 'tests/models/language/pooling/test_embedding.py::test_models[sentence-transformers/all-MiniLM-L12-v2]'"
# Run quantized model tests
docker exec cpu-test bash -c "