Skip to content

Commit 0f277f4

Browse files
author
Zhijian Liu
committed
[minor] reformat setup.py
1 parent 6c2adf1 commit 0f277f4

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
@@ -3,7 +3,7 @@
33
from setuptools import find_packages, setup
44

55
from torch.utils.cpp_extension import BuildExtension, CppExtension, CUDAExtension, CUDA_HOME
6-
has_cuda = (torch.cuda.is_available() and CUDA_HOME is not None) or os.getenv("FORCE_CUDA", "0") == "1"
6+
has_cuda = (torch.cuda.is_available() and CUDA_HOME is not None) or os.getenv('FORCE_CUDA', '0') == '1'
77

88
from torchsparse import __version__
99

0 commit comments

Comments
 (0)