From 6de479ac5ee1df0509778518e8586ac589d1a004 Mon Sep 17 00:00:00 2001 From: Zhuoyang Date: Mon, 2 Oct 2023 13:50:45 -0700 Subject: [PATCH] fix cuda check --- tests/test_project_gaussians.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_project_gaussians.py b/tests/test_project_gaussians.py index c74c21394..9c709820b 100644 --- a/tests/test_project_gaussians.py +++ b/tests/test_project_gaussians.py @@ -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