From 6f98d1fbf29a188c2aa92ae89d615385ff8ab74e Mon Sep 17 00:00:00 2001 From: Dariusz Trawinski Date: Wed, 18 Dec 2024 13:07:51 +0100 Subject: [PATCH] fix handling new llm test models folder --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2de0af130c..b8b103cb9c 100644 --- a/Makefile +++ b/Makefile @@ -672,10 +672,14 @@ cpu_extension: mkdir -p ./lib/${OS} docker cp $$(docker create --rm sample_cpu_extension:latest):/workspace/libcustom_relu_cpu_extension.so ./lib/${OS} -run_unit_tests: +prepare_models: ./prepare_llm_models.sh ${TEST_LLM_PATH} ifeq ($(RUN_GPU_TESTS),1) - ./prepare_gpu_models.sh ${GPU_MODEL_PATH} && \ + ./prepare_gpu_models.sh ${GPU_MODEL_PATH} +endif + +run_unit_tests: prepare_models +ifeq ($(RUN_GPU_TESTS),1) docker run \ --device=/dev/dri \ --group-add=$(shell stat -c "%g" /dev/dri/render* | head -n 1) \