Skip to content

Commit

Permalink
fix compile w/o cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
nbren12 committed Sep 16, 2024
1 parent 8196668 commit fa2d3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_compiler():
extra_compile_args={'nvcc': ['-O2']},
),
)
except ImportError:
except (ImportError, OSError):
warnings.warn("Cuda extensions for torch not found, skipping cuda healpix padding module")


Expand Down

0 comments on commit fa2d3ac

Please sign in to comment.