mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 07:28:15 -05:00
smaller tests are faster tests [pr] (#10704)
* remove del spam from CI * more * preconstruct default buffer spec * ignore those errors * check exception * more exception check * skip stuff * smaller tests mean faster tests * a few more
This commit is contained in:
@@ -1233,8 +1233,8 @@ class TestSchedule(unittest.TestCase):
|
||||
|
||||
def test_adam_step_fusion(self):
|
||||
with Tensor.train():
|
||||
x = Tensor.empty(4, 64, 768)
|
||||
layer = nn.Linear(768, 768*4)
|
||||
x = Tensor.empty(4, 64, 32)
|
||||
layer = nn.Linear(32, 32*4)
|
||||
_realize_weights(layer)
|
||||
opt = nn.optim.Adam(nn.state.get_parameters(layer), lr=1e-4)
|
||||
layer(x).relu().sum().backward()
|
||||
|
||||
Reference in New Issue
Block a user