tinygrad/test
George Hotz 81b9c04574
move high level stuff to unit tests [pr] (#10708)
* move high level stuff to unit tests [pr]

* process replay on unit tests

* fix pr, less compute

* set omp num threads

* set 200MB buffer size limit

* delete junk

* fix tests

* faster

* move test_indexing to unit

* faster
2025-06-08 14:05:56 -07:00
..
external move high level stuff to unit tests [pr] (#10708) 2025-06-08 14:05:56 -07:00
mockgpu Very basic mock sqtt (#10512) 2025-05-26 14:38:28 -07:00
models move high level stuff to unit tests [pr] (#10708) 2025-06-08 14:05:56 -07:00
testextra fix: skip kernel timing tests on ci cuda (#10348) 2025-05-16 11:48:06 -07:00
unit move high level stuff to unit tests [pr] (#10708) 2025-06-08 14:05:56 -07:00
web inline viz get_name [pr] (#10682) 2025-06-07 11:16:16 +03:00
__init__.py All devices are equal! (#196) 2020-12-15 23:44:08 -08:00
Dockerfile new cloud is cloudy [pr] (#7631) 2024-11-11 20:18:04 +08:00
helpers.py UOp.valid and const_like work with just shapes [pr] (#10569) 2025-05-30 08:55:06 +03:00
test_amd_llvm.py llvm diagnostic error (#10267) 2025-05-16 02:03:20 -04:00
test_arange.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_assign.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_compile_failures.py enable a few tests that work now (#7721) 2024-11-15 14:30:52 -05:00
test_const_folding.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_conv_shapetracker.py move files into uop dir (#10399) 2025-05-18 11:38:28 -07:00
test_copy_speed.py CLANG -> CPU (#9189) 2025-02-20 18:03:09 -05:00
test_device_speed.py add name uop (#9149) 2025-02-18 15:26:58 +08:00
test_dtype.py move high level stuff to unit tests [pr] (#10708) 2025-06-08 14:05:56 -07:00
test_dtype_alu.py MSTACK little non-functional changes (#10648) 2025-06-05 13:20:22 -07:00
test_edgecases.py fix tensor int floor div (#10327) 2025-05-21 06:46:54 -04:00
test_fusion_op.py just schedule in test_recursive_pad [pr] (#8860) 2025-02-02 15:01:24 +02:00
test_fuzz_shape_ops.py CLANG -> CPU (#9189) 2025-02-20 18:03:09 -05:00
test_gc.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_graph.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_hcq.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_hcq_iface.py usb: cache writes into 0xa000 (#10191) 2025-05-07 16:03:35 +03:00
test_image_dtype.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_interop.py hotfix: interop example (#9237) 2025-02-25 10:32:00 +03:00
test_jit.py Cloud graph (#9876) 2025-05-07 11:41:41 -07:00
test_jit_cases.py enumerate cases of Tensors in the JIT (#10548) 2025-05-28 11:51:27 -07:00
test_kernel_cache.py CLANG -> CPU (#9189) 2025-02-20 18:03:09 -05:00
test_linearizer.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_linearizer_dumb.py remove test_unaligns_idxs, UOps don't have order like this [pr] (#10587) 2025-06-01 12:16:14 +03:00
test_linearizer_failures.py move high level stuff to unit tests [pr] (#10708) 2025-06-08 14:05:56 -07:00
test_linearizer_overflows.py refactor LOAD(DEFINE_GLOBAL, VIEW) in kernels to LOAD(VIEW(DEFINE_GLOBAL)) (#10541) 2025-05-30 14:27:58 +03:00
test_masked_st.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_memory_planner.py add memplanner tests (#9577) 2025-03-26 10:59:39 +07:00
test_metal.py Use MTLCompiler directly (v2) (#7920) 2024-12-04 16:36:48 +08:00
test_method_cache.py simple LoadOps.ASSIGN (#3745) 2024-03-14 20:44:34 -07:00
test_mnist_dataset.py remove becomes map (#10533) 2025-05-27 11:47:11 -07:00
test_multitensor.py move high level stuff to unit tests [pr] (#10708) 2025-06-08 14:05:56 -07:00
test_net_speed.py hotfix: test_net_speed can't backward before realize 2024-12-19 20:32:59 -08:00
test_nn.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_ocl.py Fix GPT2 with OpenCL backend. (#6821) 2024-10-01 16:57:22 +08:00
test_ops.py move high level stuff to unit tests [pr] (#10708) 2025-06-08 14:05:56 -07:00
test_opt_gemm.py lil work on llvm speed (#10157) 2025-05-04 16:37:26 -07:00
test_optim.py raise RuntimeError in schedule_step if not Tensor.training [pr] (#8834) 2025-01-31 12:03:04 -05:00
test_pickle.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_profiler.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_quantize_onnx.py refactor LOAD(DEFINE_GLOBAL, VIEW) in kernels to LOAD(VIEW(DEFINE_GLOBAL)) (#10541) 2025-05-30 14:27:58 +03:00
test_randomness.py smaller tests are faster tests [pr] (#10704) 2025-06-08 10:54:19 -07:00
test_rearrange_einops.py Missing features from rearrange (#6184) 2024-08-19 11:19:07 -07:00
test_renderer_failures.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_rewrite_tracked_childen.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_sample.py enable more webgpu tests (#9502) 2025-03-18 23:03:54 -04:00
test_schedule.py move high level stuff to unit tests [pr] (#10708) 2025-06-08 14:05:56 -07:00
test_search.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_setitem.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_softmax_fusion.py do fusion locally (#10095) 2025-04-28 20:45:37 -04:00
test_specific_conv.py Solve get_grouped_dims does not split issue (#9085) 2025-02-16 19:57:29 -05:00
test_speed_v_torch.py lil work on llvm speed (#10157) 2025-05-04 16:37:26 -07:00
test_stunning.py assert in test_indexing_two_bind instead of silent fail (#10099) 2025-04-29 20:23:25 +08:00
test_subbuffer.py Use REAL_DEV for test skips (#10420) 2025-05-19 17:32:14 -07:00
test_symbolic_jit.py simple symbolic slice in llama [pr] (#10112) 2025-04-30 14:36:35 -04:00
test_symbolic_ops.py feat: variable bs bitcast (#10674) 2025-06-06 17:21:53 -07:00
test_symbolic_shapetracker.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_tensor.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_tensor_data.py [BUGFIX] Tensor([]).data() (#7884) 2024-11-24 16:42:57 -05:00
test_tensor_uop.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_tensor_variable.py [bounty] [pr] index validation with z3 (#9981) 2025-04-24 08:06:08 -04:00
test_tiny.py [bounty] [pr] index validation with z3 (#9981) 2025-04-24 08:06:08 -04:00
test_to_numpy.py Apply ruff linting rules to tests (#2473) 2023-11-27 21:24:06 -08:00
test_transcendental.py Fix DSP transcendentals (#9542) 2025-03-22 11:08:18 +08:00
test_uop_graph.py support for uop tags (#10477) 2025-05-22 19:53:48 -07:00
test_uops.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00
test_uops_stats.py move files into uop dir (#10399) 2025-05-18 11:38:28 -07:00
test_winograd.py test winograd is close to normal conv [pr] (#10557) 2025-06-06 19:11:49 -04:00
test_zero_copy.py rename lazydata to uop (#10698) 2025-06-08 08:42:22 -07:00