mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 23:48:01 -05:00
hotfix: missing return in METAL dm benchmark (#6749)
This commit is contained in:
4
test/external/external_model_benchmark.py
vendored
4
test/external/external_model_benchmark.py
vendored
@@ -74,7 +74,9 @@ def benchmark_model(m, devices, validate_outs=False):
|
||||
del inputs, tinygrad_model, tinygrad_jitted_model
|
||||
except RuntimeError as e:
|
||||
# TODO: we don't run the dm model on METAL for now
|
||||
if Device.DEFAULT == "METAL": assert "buffer count limit" in str(e)
|
||||
if Device.DEFAULT == "METAL":
|
||||
assert "buffer count limit" in str(e)
|
||||
return
|
||||
else: raise e
|
||||
|
||||
# convert model to torch
|
||||
|
||||
Reference in New Issue
Block a user