tinygrad/test/unit
Bhavya Gada 534597e753
fix all test warnings (#7024)
* fix pytorch warning in nn.conv2d for same padding

* fix future warning in torch load

* fix overflow warning in tensor list test: https://github.com/numpy/numpy/issues/23606#issuecomment-1512752172

* fix floating point warnings in dtype tests using docs https://numpy.org/doc/stable/reference/generated/numpy.errstate.html and a neat solution https://stackoverflow.com/questions/53634965/change-np-seterr-behavior-inside-a-function-only

* put err state in one place; comment taken care of by function hover

* enter np errstate context manager on test setup

* put decorator on class
2024-10-18 08:56:40 +08:00
..
__init__.py more test cleanups (#2631) 2023-12-05 16:17:57 -08:00
test_device.py cleanup nv/cuda compilers (#5767) 2024-07-29 13:50:03 +03:00
test_disk_cache.py helpers.diskcache_clear (#4436) 2024-05-05 14:19:01 -04:00
test_disk_tensor.py fix all test warnings (#7024) 2024-10-18 08:56:40 +08:00
test_elf.py run unit tests separate from others (and only once) (#6020) 2024-08-10 11:17:56 -07:00
test_graph_rewrite.py remove pyint [pr] (#7016) 2024-10-12 22:36:24 +08:00
test_helpers.py remove NumNode (#7035) 2024-10-13 16:42:19 -04:00
test_pattern_matcher.py explore global uop cache [pr] (#6863) 2024-10-03 13:08:13 +08:00
test_qcom.py qcom test for image pitch (#6621) 2024-09-20 18:13:48 +08:00
test_shapetracker.py remove NumNode (#7035) 2024-10-13 16:42:19 -04:00
test_shapetracker_math.py UOp.variable (#7010) 2024-10-12 18:20:44 +08:00
test_shm_tensor.py ops_shm removed (#2351) 2023-11-18 11:41:58 -08:00
test_simplify_valid_idx.py minor dtype cleanup [pr] (#7124) 2024-10-17 17:41:23 +08:00
test_tqdm.py tinytqdm write support (#6359) 2024-10-16 14:51:41 -04:00
test_uop_resolve.py remove pyint [pr] (#7016) 2024-10-12 22:36:24 +08:00
test_uop_symbolic.py remove CStyleLanguage from test_uop_symbolic (#7142) 2024-10-17 19:39:34 -04:00
test_uop_vmin_vmax.py remove pyint [pr] (#7016) 2024-10-12 22:36:24 +08:00
test_verify_ast.py minor dtype cleanup [pr] (#7124) 2024-10-17 17:41:23 +08:00
test_view.py check contiguous in View.create after canonicalizing mask and offset (#4770) 2024-05-29 11:31:13 -04:00