George Hotz and GitHub
26f2049d43
Merge branch 'master' into bitcast_spec
2026-08-12 19:24:33 -07:00
geohot
ff0cb28c21
skip slow whisper tests
2026-08-12 13:12:37 -07:00
qazal and GitHub
ed8297a102
kerenl opts test from nan in llama 8b ( #17510 )
...
* all2all
* nan
* remove that
* less
* has_local
* only the nan change here
* use nice getitem syntax for INDEX
* work
* remove
* even simpler
2026-08-13 04:07:30 +09:00
Raine and GitHub
de04781b36
simplify equivalent const max ( #17505 )
...
* add const max folds
* add regression test
* move
2026-08-12 08:39:29 -07:00
nimlgen and GitHub
4f106ebe87
hcq2: enqueue speed ( #17504 )
2026-08-12 13:08:53 +03:00
qazal and GitHub
04c271ac41
simplify digitalocean_mi350x ( #17502 )
...
* simplify digitalocean_mi350x
* no hardcoded rocm path
2026-08-12 16:00:04 +09:00
qazal and GitHub
2e5a9a4121
no hardcoded device names in test_sliced_buffer_function ( #17501 )
2026-08-12 15:19:25 +09:00
qazal and GitHub
e1013a6356
llama: create dataset cache by default in dev_beam ( #17500 )
2026-08-12 15:03:39 +09:00
wozeparrot and GitHub
f891f5ffd0
gptoss: route lm_head thru asm_gemm ( #17497 )
2026-08-11 18:32:50 -07:00
George Hotz and GitHub
3686a1758f
mac/rdma imports lazy ( #17496 )
...
* mac/rdma imports lazy
* ish
* fixes
2026-08-11 17:23:11 -07:00
George Hotz and GitHub
4a253db9b4
minor cleanups to improve import speed ( #17495 )
...
* minor cleanups to improve import speed
* dumb
2026-08-11 16:06:25 -07:00
sirhcm and GitHub
479ffb0cda
remove Ops.SLICE ( #17492 )
2026-08-11 18:50:04 -04:00
nimlgen and GitHub
2b5018e86a
hcq2: fix debug 2 info ( #17491 )
...
* hcq2: fix debug 2 info
* x
* x
* x
2026-08-12 00:25:44 +03:00
George Hotz and GitHub
e11df72e0f
notes from digitalocean_mi350x ( #17494 )
...
* notes from digitalocean_mi350x
* cleanup
* revert non-doc changes on digitalocean_mi350x branch
2026-08-11 13:22:11 -07:00
nimlgen and GitHub
a8c84ab34e
hcq2: enable all multitesnor tests ( #17490 )
2026-08-11 17:47:33 +03:00
nimlgen and GitHub
ffef35c53e
hcq2: fix deps ( #17481 )
...
* hcq2: proper unmap
* hcq2: fix deps
* x
* x
2026-08-11 16:22:43 +03:00
nimlgen and GitHub
55e4f9d4f3
hcq2: proper unmap ( #17489 )
2026-08-11 15:41:28 +03:00
sirhcm and GitHub
0c6a2c7dd6
slice is just shrink ( #17483 )
2026-08-10 23:37:17 -04:00
Raine and GitHub
ad2fdeae69
move WMMA pms to codegen ( #17485 )
...
* move wmma pms to codegen
* lint tabs
2026-08-10 17:05:21 -07:00
Raine and GitHub
115bf9940f
add kwargs to group ( #17484 )
2026-08-10 17:04:38 -07:00
George Hotz and GitHub
7edf80a48a
small changes from new rangeify + remove flaky tc tests ( #17486 )
...
* small changes from new rangeify
* remove test/opt/test_tensor_cores.py
2026-08-10 15:58:49 -07:00
qazal and GitHub
22722ea2e7
llama: correct optim_dtype for mxfp4 ( #17482 )
2026-08-11 03:01:28 +09:00
Raine and GitHub
d41ca5e60f
Fix WMMA CI ( #17479 )
...
* init
* split into sub tests
* trigger ci
2026-08-10 08:39:14 -07:00
nimlgen and GitHub
e29606f07e
hcq2: copy kernel ( #17480 )
...
* hcq2: copy with kernel
* test
* x
2026-08-10 17:28:46 +03:00
nimlgen and GitHub
8611fe22a7
fix hevc ( #17477 )
...
* hevc tests
* x
2026-08-10 13:33:49 +03:00
qazal and GitHub
2821bd646f
late loss.to("CPU") in llama ( #17476 )
...
* late loss.to("CPU") in llama
* acc = 0
2026-08-10 17:31:50 +09:00
qazal and GitHub
44f1f45cd5
llama: custom silu kernels ( #17462 )
...
* start by copying the C
* uop kernel
* cleanup tests
* estimates is part of SPEC
2026-08-10 16:43:01 +09:00
George Hotz and GitHub
566f32fe9f
move platform tests to platform.yml ( #17475 )
...
* ci: split mac/windows/qcom-cl tests into platform.yml
Move the 6 jobs that don't run on Linux (4 macos, 1 windows, 1 QCOM CL
compile test on arm) out of test.yml into a separate Platform Tests
workflow so they run (and can be gated/runners-matched) independently.
* ci: gate platform tests to the upstream repo
Skip mac/windows/qcom-cl jobs anywhere but tinygrad/tinygrad, so the
Platform Tests workflow is disabled on the gitea fork (and any fork).
* ci: revert repo gate on platform tests
Job-level if is only evaluated by gitea when a runner with matching
labels fetches the task; with no mac/windows/arm runners the jobs queue
forever. Disable the workflow on the instance instead.
2026-08-09 23:25:18 -07:00
nimlgen and GitHub
8c8b43de62
hcq2: fix beam ( #17467 )
...
* fix beam
* x
2026-08-09 16:53:47 +03:00
nimlgen and GitHub
e17c21e102
hcq2: timings ( #17464 )
...
* hcq2: timings
* Dx
* x
* x
* x
* x
* align
* x
2026-08-08 22:00:32 +03:00
George Hotz and GitHub
d4d537c8ae
add SPEC checking for the kernel graph ( #17432 )
...
* add SPEC checking for the kernel graph
* skip test
* raise there, not None
* handwritten
* issue with unshard
* multi works
* and bitcast
* fix new tests
* fix linear
* remove call index
* fix shrink
* fixes
2026-08-08 10:00:06 -07:00
b1tg and GitHub
abe2256299
fix symbolic sharded reshape ( #17463 )
2026-08-08 09:18:02 -07:00
b1tg and GitHub
8c49a7a34b
support symbolic shapes in copy ( #17461 )
...
* pad_to is no-op when same shape
* support symbolic shapes in copy
2026-08-08 09:16:59 -07:00
qazal and GitHub
9dd3b8402e
default llama 8b to MXFP4=1 ( #17465 )
2026-08-09 00:13:32 +08:00
sirhcm and GitHub
c0d2f9ac0c
nolocals supports variables ( #17457 )
2026-08-07 17:54:38 -04:00
nimlgen and GitHub
4c206a52b1
fix ci emu (gpt) ( #17437 )
...
* fix ci emu
* x
2026-08-07 22:36:59 +03:00
chenyu and GitHub
4a3b8f6501
better _drop_valid_stmts [pr] ( #17454 )
2026-08-07 15:18:35 -04:00
chenyu and GitHub
59b88ea5e2
move pm_fold_cast_const [pr] ( #17453 )
...
move to lower index dtype
2026-08-07 13:31:56 -04:00
chenyu and GitHub
f76422b8af
fix cast to float _min_max [pr] ( #17451 )
2026-08-07 11:56:19 -04:00
wozeparrot and GitHub
1827ec57f7
gptoss: fix sharded invalids ( #17450 )
2026-08-07 08:42:02 -07:00
nimlgen and GitHub
b6189db8e9
cpu: fix eintr ( #17449 )
2026-08-07 17:46:57 +03:00
chenyu and GitHub
73e670c10f
c0+x<c1 -> x < c1-c0 is ints only [pr] ( #17448 )
2026-08-07 10:44:01 -04:00
chenyu and GitHub
fca695a36f
clean up reduce MUL gradient ( #17447 )
2026-08-07 10:08:04 -04:00
Robert Joseph and GitHub
0c96cdc300
fix prod gradients at zero ( #17404 )
2026-08-07 09:56:52 -04:00
chenyu and GitHub
baa6148066
fix var of large half input ( #17444 )
...
* fix var of large half input
similar to mean, we use sum_acc_dtype for denominator
* mypy
2026-08-06 23:14:32 -04:00
1858f1fd9a
viz: collapse PROGRAM nodes like CALL (codex) ( #17438 )
...
Co-authored-by: qazal <[email protected] >
2026-08-07 11:44:34 +09:00
f253c4469d
remove contiguous from custom_kernel ( #17149 )
...
* no user contig on custom_kernel
* clean up
* non removable
* test MXFP4 llama without hipcc
* use compiler-free HIPCC renderer in llama CI
* move llama coverage to AMD tests
* run llama coverage in AMD test matrix
* respect configured ROCm path in llama profile
* work
* clean up
* fix
* add views back
* remove that
* update test
* test_double_permute one less kernel
* test_shrink less kernels
---------
Co-authored-by: George Hotz <[email protected] >
2026-08-07 11:20:59 +09:00
chenyu and GitHub
28195d51fb
fix f2f from fp8e5m2fnuz to half ( #17442 )
...
* fix f2f from fp8e5m2fnuz to half
* it works if it's supported
2026-08-06 21:19:46 -04:00
chenyu and GitHub
9020a88f03
truncate float in DType.const [pr] ( #17439 )
2026-08-06 20:19:08 -04:00
chenyu and GitHub
d8cbc11105
update linear interpolate to use int math for indices ( #17441 )
2026-08-06 20:18:39 -04:00