Skip to content

Commit c8e7eb1

Browse files
authored
fix typo in getenv call (vllm-project#1972)
1 parent 24f60a5 commit c8e7eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def get_torch_arch_list() -> Set[str]:
138138

139139
# Use NVCC threads to parallelize the build.
140140
if nvcc_cuda_version >= Version("11.2"):
141-
nvcc_threads = int(os.getenv("NVCC_THREADS"), 8)
141+
nvcc_threads = int(os.getenv("NVCC_THREADS", 8))
142142
num_threads = min(os.cpu_count(), nvcc_threads)
143143
NVCC_FLAGS += ["--threads", str(num_threads)]
144144

0 commit comments

Comments
 (0)