mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-02-08 21:55:14 -05:00
oops, gpu not available
This commit is contained in:
@@ -307,4 +307,7 @@ def _register_ops(namespace, device=Device.CPU):
|
||||
|
||||
import importlib
|
||||
for d,ops in Device.imports.items():
|
||||
_register_ops(importlib.import_module('tinygrad.'+ops), d)
|
||||
try:
|
||||
_register_ops(importlib.import_module('tinygrad.'+ops), d)
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user