Skip to content

Commit

Permalink
remove cuda runtime check
Browse files Browse the repository at this point in the history
this prevents the code from building in a docker image.
  • Loading branch information
nbren12 authored Sep 11, 2024
1 parent 82506cc commit 986881c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ def get_compiler():
import torch
from torch.utils.cpp_extension import CUDAExtension

if not torch.cuda.is_available():
raise ImportError()

ext_modules.append(
CUDAExtension(
name='healpixpad_cuda',
Expand Down

0 comments on commit 986881c

Please sign in to comment.