[misc] Remove unit test cases that fail the admission criteria (round 3) (#30713)

This commit is contained in:
Liangsheng Yin
2026-07-09 19:42:51 -07:00
committed by GitHub
parent 7b9b2e4798
commit 23390589f7
19 changed files with 0 additions and 500 deletions
@@ -52,10 +52,6 @@ class TestE8M0ToF32(CustomTestCase):
# ---- Guardrails: pass on both buggy and fixed code ----------------------
def test_zero_exponent_is_one(self):
x = torch.tensor([127], dtype=torch.uint8)
self.assertEqual(e8m0_to_f32(x).item(), 1.0)
def test_shape_preserved(self):
x = torch.zeros((3, 4, 5), dtype=torch.uint8)
self.assertEqual(tuple(e8m0_to_f32(x).shape), (3, 4, 5))