"""Tests numerical equivalence between the global spherical attention module and the neighborhood spherical attention module with the neighborhood set ot the whole sphere"""
"""Tests numerical equivalence between the global spherical attention module and the neighborhood spherical attention module with the neighborhood set ot the whole sphere"""
nlat_in,nlon_in=in_shape
nlat_in,nlon_in=in_shape
...
@@ -223,7 +223,7 @@ class TestNeighborhoodAttentionS2(unittest.TestCase):
...
@@ -223,7 +223,7 @@ class TestNeighborhoodAttentionS2(unittest.TestCase):
skip_on_empty=True,
skip_on_empty=True,
)
)
@unittest.skipUnless((torch.cuda.is_available()and_cuda_extension_available),"skipping performance test because CUDA is not available")
@unittest.skipUnless((torch.cuda.is_available()and_cuda_extension_available),"skipping performance test because CUDA is not available")