mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
fix viz with untracked graph_rewrite calls (#8298)
* fix viz with untracked graph_rewrite calls * mark as green
This commit is contained in:
@@ -114,7 +114,6 @@ class TestViz(unittest.TestCase):
|
||||
self.assertIs(ret[0], a.sqrt().sin()) # only rewrite
|
||||
|
||||
# NOTE: calling graph_rewrite when the function isn't decorated with track_rewrites should not VIZ
|
||||
@unittest.expectedFailure
|
||||
def test_rewrite_without_context(self):
|
||||
def untracked_graph_rewrite(sink): return graph_rewrite(sink, symbolic)
|
||||
@track_rewrites(named=True)
|
||||
|
||||
Reference in New Issue
Block a user