From 0e8db9f2d26de64f74314c65a02b06ce26b1d2ce Mon Sep 17 00:00:00 2001 From: Javi Polo Date: Thu, 25 Jul 2024 11:01:46 -0400 Subject: [PATCH] Split main targets into instructlab + bootc target Signed-off-by: Javi Polo --- training/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/training/Makefile b/training/Makefile index 090f8c41..6a25d3c5 100644 --- a/training/Makefile +++ b/training/Makefile @@ -62,16 +62,22 @@ vllm: # # Create bootc container images prepared for AI # -.PHONY: driver-tookit amd nvidia intel bootc-models +.PHONY: driver-tookit amd-bootc nvidia-bootc intel-bootc driver-tookit: $(MAKE) -C common/ -f Makefile.common driver-toolkit -amd: instruct-amd +amd-bootc: $(MAKE) -C amd-bootc/ bootc -intel: instruct-intel +intel-bootc: $(MAKE) -C intel-bootc/ bootc -nvidia: instruct-nvidia +nvidia-bootc: $(MAKE) -C nvidia-bootc/ driver-toolkit bootc +# bootc container images with the instructlab dependency +.PHONY: amd nvidia intel +amd: instruct-amd amd-bootc +intel: instruct-intel intel-bootc +nvidia: instruct-nvidia nvidia-bootc + # # Create bootc container images prepared with AI models pre-loaded #