From 425849f387615967c03f9ee50a38a936eb73215c Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 20 Jan 2024 22:05:08 +0800 Subject: [PATCH] try generating fat binaries for cuda --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c0a6ded52..a6e286086 100644 --- a/Makefile +++ b/Makefile @@ -147,7 +147,7 @@ ifdef CUDA_DOCKER_ARCH NVCCFLAGS += -Wno-deprecated-gpu-targets -arch=$(CUDA_DOCKER_ARCH) else ifdef LLAMA_PORTABLE - NVCCFLAGS += -Wno-deprecated-gpu-targets -arch=all-major + NVCCFLAGS += -Wno-deprecated-gpu-targets -arch=all else NVCCFLAGS += -arch=native endif