tinygrad/test/unit
leopf f0401e14e8
tar_extract with Tensors (#7853)
* initial

* USTAR, PAX and GNU support + testing

* from_bytes byteorder

* use TarInfo.frombuf

* tensor only usage

* remove contextlib.suppress

* shorter ow,pax

* more tests

* testing length + move tests

* cleanup

* new approach: RawTensorIO

* fix fetch

* enable read test

* cleanup and ignore fix

* fix for python < 3.12

* make it RawIO

* functions

---------

Co-authored-by: George Hotz <72895+geohot@users.noreply.github.com>
Co-authored-by: chenyu <chenyu@fastmail.com>
2024-12-04 17:03:19 +08:00
..
__init__.py more test cleanups (#2631) 2023-12-05 16:17:57 -08:00
test_device.py Device method cleanup [pr] (#7375) 2024-10-29 12:49:47 -04:00
test_disk_cache.py helpers.diskcache_clear (#4436) 2024-05-05 14:19:01 -04:00
test_disk_tensor.py tar_extract with Tensors (#7853) 2024-12-04 17:03:19 +08: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 move is_dtype_supported to device [pr] (#7575) 2024-11-07 20:38:03 +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 clean up fully_flatten [pr] (#7885) 2024-11-25 06:53:18 -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_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 enable a few tests that work now (#7721) 2024-11-15 14:30:52 -05:00
test_shm_tensor.py line reduction [pr] (#7296) 2024-10-25 17:05:09 +07:00
test_simplify_valid_idx.py update uop and tests to not use lt/gt/le/ge [pr] (#8023) 2024-12-03 21:02:52 -05:00
test_tar.py tar_extract with Tensors (#7853) 2024-12-04 17:03:19 +08:00
test_tensor_io.py tar_extract with Tensors (#7853) 2024-12-04 17:03:19 +08: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 update uop and tests to not use lt/gt/le/ge [pr] (#8023) 2024-12-03 21:02:52 -05:00
test_uop_vmin_vmax.py update uop and tests to not use lt/gt/le/ge [pr] (#8023) 2024-12-03 21:02:52 -05:00
test_verify_ast.py delete ReduceOps, only use REDUCE_AXIS (#7667) 2024-11-13 19:04:27 +08:00
test_view.py check contiguous in View.create after canonicalizing mask and offset (#4770) 2024-05-29 11:31:13 -04:00