Skip to content

Commit

Permalink
fix cuda check
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuoyang-Pan committed Oct 2, 2023
1 parent 5dbf8fa commit 6de479a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_project_gaussians.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
device = torch.device("cuda:0")


@pytest.mark.skipif(not torch.cuda.is_available, reason="No CUDA device")
@pytest.mark.skipif(not torch.cuda.is_available(), reason="No CUDA device")
def test_project_gaussians_forward():
from diff_rast import _torch_impl
import diff_rast.cuda as _C
Expand Down

0 comments on commit 6de479a

Please sign in to comment.