create engine folder and move code (#3948)

* retry

* older tf

* that
This commit is contained in:
George Hotz
2024-03-26 20:38:03 -07:00
committed by GitHub
parent 629cbc5587
commit 150ea2eb76
51 changed files with 54 additions and 54 deletions

View File

@@ -7,7 +7,7 @@ from tinygrad.nn.state import get_parameters
from tinygrad.nn import optim
from tinygrad import Tensor, GlobalCounters
from tinygrad.helpers import getenv
from tinygrad.features.jit import CacheCollector
from tinygrad.engine.jit import CacheCollector
def tensors_allocated():
return sum(isinstance(x, Tensor) for x in gc.get_objects())