George Hotz
652e395efd
not a part of regen
2025-09-05 15:41:34 -07:00
George Hotz
13e4cbd508
fix torch frontend
2025-09-05 15:39:52 -07:00
George Hotz
f6b661eb3c
imports
2025-09-05 15:34:49 -07:00
George Hotz
3e8dabbffc
Merge branch 'master' into delete_kernel_py
2025-09-05 15:31:39 -07:00
George Hotz
ee4f696086
delete more tests ( #12043 )
...
* delete more tests
* delete and simplify
* flaky on windows
* a few more, those remained
2025-09-05 15:31:30 -07:00
George Hotz
5bac311df4
don't test search
2025-09-05 15:15:05 -07:00
George Hotz
9a6d7f9a1e
Merge branch 'master' into delete_kernel_py
2025-09-05 15:13:36 -07:00
George Hotz
12c7b1bb01
cleanup lin tests without Kernel ( #12041 )
...
* cleanup lin tests without Kernel
* no kernel.py there
* remove that test
2025-09-05 15:13:14 -07:00
Sieds Lykles
8435d2d23b
fix openpilot speed regeression ( #12039 )
...
* set local_size=None if special.arg[0]=='i'
* add cast back
2025-09-06 00:05:45 +02:00
George Hotz
8f254d6c48
rip and tear
2025-09-05 14:56:58 -07:00
George Hotz
9d07e6ae03
delete that file
2025-09-05 14:53:48 -07:00
George Hotz
645b3c5ae3
delete kernel.py
2025-09-05 14:51:29 -07:00
George Hotz
e00858a2c3
only POSTOPT ( #12038 )
2025-09-05 14:46:33 -07:00
George Hotz
433581f8ed
make POSTOPT=2 the default ( #12034 )
...
* make POSTOPT=2 the default
* more matching tc
* fix winograd
* fix that test
* add matvec to Scheduler
* flip tc sort order
* similar speed
* fix beam on image
* disable slow tests
* slow
2025-09-05 14:34:05 -07:00
chenyu
3b41a04b96
remove test_openpilot in test_onnx ( #12037 )
...
openpilot is tested in compile3
2025-09-05 16:20:03 -04:00
Sieds Lykles
290521f68e
add check for z3>=4.12.4 ( #12035 )
2025-09-05 20:33:26 +02:00
George Hotz
870f63d9cc
add WARP axistype, fix postopt bugs ( #12033 )
...
* postopt is 83% match
* warp is bright CYAN
* beautiful mnist beam works
* fix shutdown bug
2025-09-05 10:36:55 -07:00
chenyu
4c2d4f683a
lower universal_test_unary cos domain ( #12032 )
...
flaky
2025-09-05 12:19:44 -04:00
chenyu
a340723bf1
SKIP_SLOW_TEST=1 for nv CI ( #12031 )
2025-09-05 11:52:02 -04:00
chenyu
ce7163e9b4
clean up skip slow tests in PYTHON ( #12028 )
...
skip with SKIP_SLOW_TEST and decorators
2025-09-05 11:35:26 -04:00
qazal
f08299d2ec
viz: small profiler resizing improvements ( #12026 )
...
* switch to ResizeObserver
* set a fixed size for device-list
* less
* height from devices
* int
* side rect, more const
2025-09-05 18:29:03 +03:00
chenyu
5dcc4c7f1b
skip test_linalg in windows unit test ( #12030 )
2025-09-05 11:28:40 -04:00
George Hotz
f8e2dd4dd1
investigate opts mismatches ( #12020 )
2025-09-05 07:40:29 -07:00
chenyu
e0da644171
lower sample count in test_multinomial ( #12027 )
2025-09-05 10:10:28 -04:00
chenyu
9b6f1b86cb
add Tensor.maximum in test_dtype_alu ( #12025 )
...
works except nan
2025-09-05 09:48:39 -04:00
nimlgen
3e1c04bcdf
jit: noopt for copy buffers ( #12023 )
2025-09-05 16:04:35 +03:00
qazal
ab413ce72f
viz: give tooltips a max-width ( #12022 )
...
* viz: give tooltips a max-width
* better
2025-09-05 14:25:38 +03:00
qazal
f461ccf407
exclude op2 nan lt in test_dtype_alu ( #12024 )
...
failure: https://github.com/tinygrad/tinygrad/actions/runs/17490320000/job/49679581331?pr=12022#step:6:125
2025-09-05 14:14:22 +03:00
nimlgen
4fcea8493d
viz: add label to tooltip ( #12021 )
2025-09-05 13:06:33 +03:00
George Hotz
2b5a73ac65
improve test_linearizer ( #12016 )
...
* improve test_linearizer
* tweaks
* simpler
* get_prg
* that one doesn't have to return
* fix postopt bugs
* fix rng
2025-09-04 20:44:05 -07:00
chenyu
7f3df6ea21
exclude nan in test_dtype_alu lt ( #12019 )
2025-09-04 23:38:37 -04:00
Sieds Lykles
f5404ca53c
Divmod combine - associative variations ( #12017 )
...
* add rule and test
* more rules and tests
* add all four variations
* fix test
* test fixed!
* adjust commment
* add new variations
* disable intel tensor core ops count test for bigger_matmul_half
2025-09-05 03:44:02 +02:00
chenyu
677220ae7e
test_tesnor_data to unit/ ( #12013 )
2025-09-04 19:58:27 -04:00
George Hotz
431666da74
POSTOPT=2 work ( #12012 )
...
* POSTOPT=2 work
* bugfixes
* add chain in one place
* tensor cores match
* better hcopt check
* match from old
* Change POSTOPT ContextVar value to 0
* we didn't need to check that
2025-09-04 16:55:56 -07:00
George Hotz
30eb42a69e
fix POSTOPT pad ( #11999 )
...
* fix POSTOPT=1
* fix some tests
* Revert "fix some tests"
This reverts commit 8ee058e206 .
* fix padding restrictions
* cuda has two tensor cores
* Set POSTOPT ContextVar to 0 in helpers.py
2025-09-04 14:28:58 -07:00
qazal
da61b40604
some viz tests don't need track_rewrites ( #12010 )
2025-09-04 23:59:32 +03:00
qazal
be364a1adb
viz: add default tracing group ( #12009 )
...
This enables seeing rewrites in unit tests like `VIZ=1 python3 test/test_uop_graph.py TestUOpGraph.test_in_bounds_access_gated_local` that call graph_rewrite directly.
`@track_rewrites` keeps existing as an optional helper to organize larger traces.
2025-09-04 23:29:56 +03:00
chenyu
52166fd7eb
smaller test_ops inputs ( #12007 )
2025-09-04 16:22:33 -04:00
chenyu
dc8501af30
clean up wino tests ( #12008 )
...
removed the one that tests hcopt and added one for backward kernel counts
2025-09-04 16:14:55 -04:00
chenyu
8c720e8760
less iterations for symbolic double for loops ( #12006 )
2025-09-04 15:09:17 -04:00
George Hotz
70ce29b630
test pyrender ( #12005 )
...
* test pyrender
* make them print
* switch to pyrendered
2025-09-04 11:48:40 -07:00
George Hotz
560df206cc
split tc test ( #12003 )
...
* split tc test
* split hand coded opts
* remove some skipped tests
* skips on emulated
2025-09-04 11:47:56 -07:00
qazal
4996bb668b
load all traces before asserting in test_viz ( #12004 )
2025-09-04 21:34:48 +03:00
George Hotz
9dee724fc4
make EMULATE a context var ( #12002 )
...
* make EMULATE a context var
* fix test amx
2025-09-04 11:15:43 -07:00
George Hotz
09106e4aae
refactor and split test_linearizer ( #12001 )
...
* refactor and split test_linearizer
* forget that file
* imports
* remove from docs
* test gen float4
2025-09-04 10:53:07 -07:00
chenyu
fb71d1e5fd
delete some test_search tests ( #11998 )
...
TC_SEARCH_OVER_SHAPE was removed so should the tests
2025-09-04 11:19:49 -04:00
chenyu
ca7574cb2d
ci set PYTHONPATH for all ( #11997 )
2025-09-04 10:06:04 -04:00
nimlgen
e213b85810
cpu: add thread_id to worker ( #11995 )
2025-09-04 14:58:13 +03:00
qazal
35f37a64a9
viz: remove useless ctx.save and restore calls ( #11996 )
...
It's a UI no-op since we always set the styles right before drawing.
2025-09-04 14:56:41 +03:00
Sieds Lykles
572a3c15c6
Move Ops.SPECIAL arg to src ( #11918 )
...
* initial moving bound to src
* arg to src
* remove import
* fixup linearizer
* arg to src
* fix test_uop_graph
* fix more tests
* fix python renderer
* get const value from const uop
* ssimplify uop estimates
* fix webgpu locals
* fix old test
* gate Ops.SPECIAL in linearizer
* use ssimplify() for local/global_size
* remove toposort gate_parents_instead_of_self
* fix rendering in comment
* cleanup
* rename and add comments
* add BottomUpGate with test
2025-09-04 09:31:44 +02:00