move lazy to engine [pr] (#6886)

* move lazy to engine [pr]

* engine.lazy
This commit is contained in:
George Hotz
2024-10-04 23:19:26 +08:00
committed by GitHub
parent 6b063450df
commit 4df5c7a4ef
20 changed files with 20 additions and 20 deletions

View File

@@ -76,7 +76,7 @@ assert out.as_buffer().cast('I')[0] == 5
print("******** third, the LazyBuffer ***********")
from tinygrad.lazy import LazyBuffer
from tinygrad.engine.lazy import LazyBuffer
from tinygrad.engine.realize import run_schedule
from tinygrad.engine.schedule import create_schedule

View File

@@ -11,7 +11,7 @@ There is a good [bunch of tutorials](https://mesozoic-egg.github.io/tinygrad-not
Everything in [Tensor](../tensor/index.md) is syntactic sugar around [function.py](function.md), where the forwards and backwards passes are implemented for the different functions. There's about 25 of them, implemented using about 20 basic ops. Those basic ops go on to construct a graph of:
::: tinygrad.lazy.LazyBuffer
::: tinygrad.engine.lazy.LazyBuffer
options:
show_source: false