mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
remove the all_int(shape) check in Tensor._loadop (#2874)
* remove the all_int(shape) check in Tensor._loadop we can support jittable symbolic shape random with custom rand now, and we can formalize it in the test after threefry is ready * MOCKHIP false positive
This commit is contained in:
@@ -46,6 +46,7 @@ class TestSymbolicOps(unittest.TestCase):
|
||||
expected = f(q, k, v).numpy()
|
||||
np.testing.assert_allclose(symbolic, expected, atol=1e-6, rtol=1e-6)
|
||||
|
||||
@unittest.skipIf(getenv("MOCKHIP"), "MOCKHIP only compiles and does not run")
|
||||
def test_attention_training(self):
|
||||
with Tensor.train():
|
||||
self.test_attention(dropout_p=0.0)
|
||||
|
||||
Reference in New Issue
Block a user