diff --git a/python/test/unit/language/test_core.py b/python/test/unit/language/test_core.py index 186aaf962..9b037165f 100644 --- a/python/test/unit/language/test_core.py +++ b/python/test/unit/language/test_core.py @@ -740,8 +740,6 @@ def test_cast(dtype_x, dtype_z, bitcast, device='cuda'): x = np.array([x0], dtype=getattr(np, dtype_x)) x_tri = to_triton(x) - SIZE = 1024 - x = triton.testing.random((SIZE, ), dtype=cvt[dtype_x], device=device) # triton kernel @triton.jit def kernel(X, Z, BITCAST: tl.constexpr):