tinygrad/test
Gabe Caldwell bdd6325f31
default num_classes value for one_hot (#6182)
* num_classes=-1

If num_classes set to -1, the number of classes will be inferred as one greater than the largest class value in the input tensor.

* num_classes desc

comment to explain num_classes default and what that means.

* replacing ' with `
2024-08-19 12:07:14 -07:00
..
external lowering error in diff_schedule is fine [run_process_replay] (#6185) 2024-08-19 20:51:12 +03:00
imported update pylint path to check indent/space for all (#6022) 2024-08-10 14:41:09 -04:00
models add failing regression test for image (#5540) 2024-07-17 17:27:18 -07:00
testextra names shadowing builtins (#5179) 2024-06-27 08:15:01 -04:00
unit Write tar_extract (#6180) 2024-08-19 12:06:17 -07:00
Dockerfile Docker fix (#1039) 2023-06-25 10:38:58 -07:00
__init__.py
helpers.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_arange.py fix tests locally on metal (#6025) 2024-08-10 12:36:22 -07:00
test_assign.py RUF018 assignment-in-assert [run_process_replay] (#6172) 2024-08-19 00:34:52 -04:00
test_compile_failures.py new test for e2e compile failures (#6101) 2024-08-15 18:56:22 -07:00
test_const_folding.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_conv.py db in wal mode (#5388) 2024-07-12 20:43:36 -07:00
test_conv_shapetracker.py st_arg, never -1 [run_process_replay] (#6128) 2024-08-16 22:46:56 -07:00
test_copy_speed.py remove cpu and torch backends (#3399) 2024-02-15 16:55:39 +01:00
test_custom_function.py s/loadops/metaops [run_process_replay] (#5421) 2024-07-12 13:26:50 -07:00
test_device_speed.py remove iter from uopgraph (#6110) 2024-08-16 15:58:29 -07:00
test_dtype.py threefry half (#6154) 2024-08-18 15:23:12 -07:00
test_dtype_alu.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_fusion_op.py AST is UOp (#6030) 2024-08-16 22:09:00 +03:00
test_fuzz_shape_ops.py fix typing for test to run in py38 (#4930) 2024-06-12 13:22:30 -04:00
test_gc.py add E275 missing-whitespace-after-keyword linting rule (#6149) 2024-08-17 16:44:34 -04:00
test_graph.py fix hcq sync (#5062) 2024-06-26 17:50:37 +03:00
test_hcq.py RUF018 assignment-in-assert [run_process_replay] (#6172) 2024-08-19 00:34:52 -04:00
test_image_dtype.py add failing regression test for image (#5540) 2024-07-17 17:27:18 -07:00
test_jit.py remove realize from threefry (#5969) 2024-08-07 15:08:49 -07:00
test_kernel_cache.py move the compiler cache to be global (#2957) 2024-01-01 10:59:56 -08:00
test_lazybuffer.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_linearizer.py RUF018 assignment-in-assert [run_process_replay] (#6172) 2024-08-19 00:34:52 -04:00
test_linearizer_dumb.py remove iter from uopgraph (#6110) 2024-08-16 15:58:29 -07:00
test_linearizer_failures.py type verify intermediate UOps [run_process_replay] (#6140) 2024-08-19 20:59:01 +03:00
test_linearizer_overflows.py AST is UOp (#6030) 2024-08-16 22:09:00 +03:00
test_masked_st.py multitensor start (#2676) 2023-12-07 17:07:05 -08:00
test_method_cache.py simple LoadOps.ASSIGN (#3745) 2024-03-14 20:44:34 -07:00
test_multitensor.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_net_speed.py nv mockgpu (#4600) 2024-05-15 23:46:08 +03:00
test_nn.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_ocl.py touchup cl_errors (#6058) 2024-08-13 13:06:59 -04:00
test_ops.py default num_classes value for one_hot (#6182) 2024-08-19 12:07:14 -07:00
test_optim.py improve test_dropout_on_shard (#4912) 2024-06-11 11:36:02 -04:00
test_pattern_matcher.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_pickle.py AST is UOp (#6030) 2024-08-16 22:09:00 +03:00
test_profiler.py hcq profiler support args (#5989) 2024-08-09 00:18:36 +03:00
test_randomness.py threefry touchup [run_process_replay] (#6169) 2024-08-18 23:01:24 -04:00
test_rearrange_einops.py Missing features from rearrange (#6184) 2024-08-19 11:19:07 -07:00
test_renderer_failures.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_sample.py enable test_sample for all backend (#2593) 2023-12-03 17:20:27 -05:00
test_schedule.py split test_sgd_4convs_fuse [run_process_replay] (#6158) 2024-08-18 18:35:42 +03:00
test_search.py use membufs in ImageDType checks [run_process_replay] (#6136) 2024-08-17 16:17:46 +03:00
test_setitem.py setitem in-place operator tests (#4577) 2024-05-14 01:28:02 -04:00
test_specific_conv.py nv mockgpu (#4600) 2024-05-15 23:46:08 +03:00
test_speed_v_torch.py remove CUDACPU flag in tests [run_process_replay] (#5902) 2024-08-04 16:06:38 -04:00
test_subbuffer.py remove CUDACPU flag in tests [run_process_replay] (#5902) 2024-08-04 16:06:38 -04:00
test_symbolic_jit.py sort vars in jit when building expected input args (#4990) 2024-06-16 15:55:51 -04:00
test_symbolic_ops.py threefry touchup [run_process_replay] (#6169) 2024-08-18 23:01:24 -04:00
test_symbolic_shapetracker.py support symbolic reshape with non-contiguous (#4844) 2024-06-05 16:01:19 -04:00
test_tensor.py add support for retain_graph in backward (#6145) 2024-08-18 16:08:31 -07:00
test_tensor_data.py BEAM_COMPARE=2 validates the correctness of BEAM kernels (#5458) 2024-07-13 13:53:43 -07:00
test_tensor_variable.py Should this symbolic test fail? (#4501) 2024-06-18 15:21:26 -04:00
test_to_numpy.py Apply ruff linting rules to tests (#2473) 2023-11-27 21:24:06 -08:00
test_transcendental.py lower float64 sin fuzzer threshold (#6173) 2024-08-19 00:25:42 -04:00
test_uop_graph.py UOpGraph -> linearize_uop [run_process_replay] (#6119) 2024-08-16 19:48:39 -07:00
test_uops.py extra matcher from renderer [run_process_replay] (#6130) 2024-08-16 23:53:11 -07:00
test_uops_stats.py type verify ImageDType and PtrDType [run_process_replay] (#6137) 2024-08-17 16:37:07 +03:00
test_winograd.py merge uops with ops (#6111) 2024-08-16 18:17:57 -04:00
test_zero_copy.py remove numpy from device (#3123) 2024-01-14 19:36:05 -08:00