remove uop mutability [pr] (#8441)

* remove uop mutability [pr]

* test fixups

* most tests pass

* more tests pass

* lil test fixups

* them too

* fix test

* unneeded

* err, that

* fix test_hcq

* fix test failures

* fix that test

* tensor universe

* does this pass test

* Revert "does this pass test"

This reverts commit ed516b3169.

* Revert "tensor universe"

This reverts commit c21301852a.

* proper spidering for uops

* cleanups

* all tensors

* all tensors

* slow but correct

* fast

* no WeakSet

* faster

* no need for list

* revert that
This commit is contained in:
George Hotz
2024-12-31 00:29:56 -05:00
committed by GitHub
parent e276b6eecd
commit 4c94726bac
4 changed files with 50 additions and 10 deletions

View File

@@ -101,6 +101,10 @@ print(sched[-1].ast)
# run that schedule
run_schedule(sched)
# NOTE: UOps are no longer mutable, you have to fetch this from the becomes_map
from tinygrad.ops import becomes_map
out = becomes_map[out]
# check the data out
assert out.realized is not None and out.realized.as_buffer().cast('I')[0] == 5