Skip to content

Commit

Permalink
remove setup runtime cuda calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
MamatShamshiev committed Feb 3, 2022
1 parent fb3872d commit ff21248
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from torch.utils.cpp_extension import BuildExtension, CppExtension, CUDAExtension
from setuptools import setup, find_packages

if torch.cuda.is_available():
assert torch.matmul(torch.ones(2097153,2).cuda(),torch.ones(2,2).cuda()).min().item()==2, 'Please upgrade from CUDA 9.0 to CUDA 10.0+'

this_dir = os.path.dirname(os.path.realpath(__file__))
torch_dir = os.path.dirname(torch.__file__)
Expand Down

0 comments on commit ff21248

Please sign in to comment.