mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
hotfix: those tests fail locally on mac due to buffer count
This commit is contained in:
parent
2454bf01c3
commit
a9d9f98d05
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ class TestTrain(unittest.TestCase):
|
|||
check_gc()
|
||||
|
||||
@unittest.skipIf(CI, "slow")
|
||||
@unittest.skipIf(Device.DEFAULT in ["METAL", "WEBGPU"], "too many buffers for webgpu and metal")
|
||||
def test_efficientnet(self):
|
||||
model = EfficientNet(0)
|
||||
X = np.zeros((BS,3,224,224), dtype=np.float32)
|
||||
|
|
@ -56,6 +57,7 @@ class TestTrain(unittest.TestCase):
|
|||
train_one_step(model,X,Y)
|
||||
check_gc()
|
||||
|
||||
@unittest.skipIf(Device.DEFAULT in ["METAL", "WEBGPU"], "too many buffers for webgpu and metal")
|
||||
def test_transformer(self):
|
||||
# this should be small GPT-2, but the param count is wrong
|
||||
# (real ff_dim is 768*4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue