[kernel slimming] Move fast_hadamard_transform to jit_kernel (#18475)
This commit is contained in:
@@ -584,8 +584,8 @@ class TestNSAIndexer(CustomTestCase):
|
||||
output = rotate_activation(x)
|
||||
self.assertEqual(output.shape, x.shape)
|
||||
self.assertEqual(output.dtype, torch.bfloat16)
|
||||
except ImportError:
|
||||
self.skipTest("sgl_kernel not available for hadamard_transform")
|
||||
except Exception:
|
||||
self.skipTest("hadamard JIT kernel not available")
|
||||
|
||||
def test_rotate_activation_invalid_size(self):
|
||||
"""Test that rotate_activation fails with non-power-of-2 size."""
|
||||
|
||||
Reference in New Issue
Block a user