We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d548a1 commit f1a98c5Copy full SHA for f1a98c5
Makefile
@@ -597,7 +597,7 @@ $(info I CC: $(shell $(CC) --version | head -n 1))
597
$(info I CXX: $(shell $(CXX) --version | head -n 1))
598
ifdef LLAMA_CUBLAS
599
$(info I NVCC: $(shell $(NVCC) --version | tail -n 1))
600
-CUDA_VERSION := $(shell nvcc --version | grep -oP 'release (\K[0-9]+\.[0-9])')
+CUDA_VERSION := $(shell $(NVCC) --version | grep -oP 'release (\K[0-9]+\.[0-9])')
601
ifeq ($(shell awk -v "v=$(CUDA_VERSION)" 'BEGIN { print (v < 11.7) }'),1)
602
ifndef CUDA_DOCKER_ARCH
603
ifndef CUDA_POWER_ARCH
0 commit comments