tinygrad/test/backend
George Hotz a120709671
tighten shape spec for broadcasting (#16206)
* tighten shape spec for broadcasting

* use IndexError, not ValueError

* needs size
2026-05-18 22:12:04 -07:00
..
__init__.py move tests to test/backend (#14691) 2026-02-12 11:09:44 +08:00
test_arange.py all tests pass with NOOPT=1 (#16257) 2026-05-18 20:39:51 -07:00
test_asm_gemm.py remove use of requires_grad in test/ (#16237) 2026-05-16 17:21:07 -04:00
test_const_folding.py Tensor.device and UOp.device can be None (#16255) 2026-05-18 22:08:10 -04:00
test_custom_kernel.py remove use of requires_grad in test/ (#16237) 2026-05-16 17:21:07 -04:00
test_device.py Device.count() (#15842) 2026-04-21 16:46:38 -04:00
test_dtype.py requires_grad cannot be None (#16212) 2026-05-15 02:01:04 -04:00
test_dtype_alu.py ci: actually use clang-20, enable bfloat16 (#16249) 2026-05-18 19:06:43 -04:00
test_edgecases.py remove use of requires_grad in test/ (#16237) 2026-05-16 17:21:07 -04:00
test_graph.py validate_with_cpu as rewrite (#15938) 2026-04-26 19:58:53 +03:00
test_interop.py MOCKGPU interfaces (#15796) 2026-04-17 21:56:29 -04:00
test_jit.py deviceless const from UOp (#16243) 2026-05-18 14:14:12 -04:00
test_jit_cases.py move tests to test/backend (#14691) 2026-02-12 11:09:44 +08:00
test_jit_footguns.py jittable masked_select and nonzero (#16170) 2026-05-12 16:39:36 -04:00
test_kernel_cache.py move tests to test/backend (#14691) 2026-02-12 11:09:44 +08:00
test_linearizer.py all tests pass with NOOPT=1 (#16257) 2026-05-18 20:39:51 -07:00
test_linearizer_dumb.py programinfo (#15942) 2026-04-27 23:12:03 +03:00
test_multitensor.py all tests pass with NOOPT=1 (#16257) 2026-05-18 20:39:51 -07:00
test_nn.py remove use of requires_grad in test/ (#16237) 2026-05-16 17:21:07 -04:00
test_ops.py tighten shape spec for broadcasting (#16206) 2026-05-18 22:12:04 -07:00
test_opt_gemm.py remove schedule() from tests batch 2 (#15923) 2026-04-25 10:44:41 +03:00
test_optim.py remove use of requires_grad in test/ (#16237) 2026-05-16 17:21:07 -04:00
test_pickle.py remove schedule batch 3 (#15924) 2026-04-25 11:53:16 +03:00
test_profiler.py Revert "cleanup: untrack wait Metal buffers (#15954)" (#16010) 2026-05-01 21:18:19 +09:00
test_quantize_onnx.py programinfo (#15942) 2026-04-27 23:12:03 +03:00
test_randomness.py make slow tests faster (#16244) 2026-05-18 11:42:02 -04:00
test_rangeify.py remove noop requires_grad_ calls (#16213) 2026-05-15 13:31:10 -04:00
test_renderer_failures.py remove CompiledRunner (#15970) 2026-04-29 22:45:48 +03:00
test_schedule.py more deviceless const prerequisites [pr] (#16256) 2026-05-18 23:14:12 -04:00
test_setitem.py remove use of requires_grad in test/ (#16237) 2026-05-16 17:21:07 -04:00
test_softmax_fusion.py remove noop requires_grad_ calls (#16213) 2026-05-15 13:31:10 -04:00
test_stunning.py raise RuntimeError in schedule for conflicted var_val [pr] (#15031) 2026-02-26 15:16:01 -05:00
test_subbuffer.py MOCKGPU interfaces (#15796) 2026-04-17 21:56:29 -04:00
test_symbolic_jit.py allocate generates a call (#14958) 2026-02-23 15:59:20 +08:00
test_symbolic_ops.py Support triu variable on diagonal + SDPA symbolic (#15081) 2026-03-02 12:19:48 +08:00
test_tensor.py more deviceless const prerequisites [pr] (#16256) 2026-05-18 23:14:12 -04:00
test_tensor_variable.py Support triu variable on diagonal + SDPA symbolic (#15081) 2026-03-02 12:19:48 +08:00
test_to_numpy.py move tests to test/backend (#14691) 2026-02-12 11:09:44 +08:00
test_transcendental.py MOCKGPU interfaces (#15796) 2026-04-17 21:56:29 -04:00
test_uops.py time_call (#16152) 2026-05-12 16:58:28 +03:00
test_zero_copy.py move tests to test/backend (#14691) 2026-02-12 11:09:44 +08:00