tinygrad/test/unit
George Hotz d817dc10db
start on test rewrite map [pr] (#8432)
* start on test rewrite map [pr]

* chatgpt writes dumb tests

* comment out failing

* fix that test

* fix gc issue

* oh, frame 2

* remove uop mutability

* map is only the map

* simplier + more tests

* test tiny passes

* tests that need to pass

* parent test passes

* child test passes

* 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.

* test_mutate_add passes

* this can pass

* Revert "Merge remote-tracking branch 'origin/no_uop_mutability' into test_rewrite_map"

This reverts commit 657822dcdc, reversing
changes made to 2a126c145b.

* Revert "test_mutate_add passes"

This reverts commit ab4fc4c78e.

* correct enough

* remove test_rewrite_map_schedule.py

* viz

* uops are immutable

---------

Co-authored-by: qazal <qazal.software@gmail.com>
2025-01-12 13:13:51 -05:00
..
__init__.py more test cleanups (#2631) 2023-12-05 16:17:57 -08:00
test_allreduce.py allow double copy [pr] (#8559) 2025-01-10 18:21:01 -05:00
test_device.py fix device canonicalize for :0 in middle [pr] (#8193) 2024-12-12 16:32:36 -05:00
test_disk_cache.py helpers.diskcache_clear (#4436) 2024-05-05 14:19:01 -04:00
test_disk_tensor.py remove more test skip for webgpu [pr] (#8192) 2024-12-12 14:06:35 -05:00
test_elf.py run unit tests separate from others (and only once) (#6020) 2024-08-10 11:17:56 -07:00
test_gguf.py add a missing unittest.main() [pr] (#8274) 2024-12-16 14:28:10 -05:00
test_gradient.py tests from grad uop path [pr] (#8313) 2024-12-18 09:25:05 -08:00
test_graph_rewrite.py update uop and tests to not use lt/gt/le/ge [pr] (#8023) 2024-12-03 21:02:52 -05:00
test_helpers.py simpler helpers.Context [pr] (#8433) 2024-12-27 17:27:14 -05:00
test_pattern_matcher.py Remove UnaryOps, BinaryOps, TernaryOps, MetaOps [pr] (#7725) 2024-11-16 20:56:56 +08:00
test_qcom.py BufferSpec and ProgramSpec [pr] (#7814) 2024-11-21 12:18:05 +08:00
test_rewrite_map.py start on test rewrite map [pr] (#8432) 2025-01-12 13:13:51 -05:00
test_shapetracker.py add test case of realize_size with 0 in shape (#8011) 2024-12-03 09:19:50 -05:00
test_shapetracker_math.py more typing cleanups [pr] (#8376) 2024-12-22 05:21:03 -05:00
test_shm_tensor.py line reduction [pr] (#7296) 2024-10-25 17:05:09 +07:00
test_simplify_valid_idx.py more typing cleanups [pr] (#8376) 2024-12-22 05:21:03 -05:00
test_tar.py accept filename decorator [pr] (#8049) 2024-12-05 11:40:59 +08:00
test_tensor_io.py tar_extract with Tensors (#7853) 2024-12-04 17:03:19 +08:00
test_tensor_uop_representation.py cleanups for COPY uop implementation and spec [pr] (#8513) 2025-01-06 11:39:12 +02:00
test_tqdm.py Context manager support for tqdm (#7770) 2024-11-18 14:12:03 -05:00
test_transcendental_helpers.py update payne_hanek_reduction [pr] (#7455) 2024-10-31 18:41:22 -04:00
test_uop_resolve.py rename MathTraits to maximum [pr] (#7356) 2024-10-29 16:43:04 +08:00
test_uop_symbolic.py use unravel in views_to_indexed_uops [pr] (#8560) 2025-01-12 10:25:55 -05:00
test_uop_vmin_vmax.py type annotation of resolve [pr] (#8467) 2025-01-01 10:21:59 -05:00
test_verify_ast.py revert VALID early folding for now (#8114) 2024-12-09 00:34:24 +08:00
test_view.py Small bug in _reshape_mask (#8538) 2025-01-08 22:11:24 -05:00