nimlgen
9213223c82
revrt
2026-08-16 22:52:31 -07:00
nimlgen and GitHub
38655e8123
Merge branch 'master' into hcq2_one_submitter
2026-08-17 08:42:51 +03:00
chenyu and GitHub
138fb4a783
delete dead DType.scalar [PR] ( #17561 )
2026-08-16 21:12:17 -04:00
chenyu and GitHub
057a18a07c
fix emulated long cast to double ( #17559 )
2026-08-16 20:52:42 -04:00
nimlgen
0a2d1e7689
hcq2: c submitter
2026-08-16 11:35:30 +00:00
George Hotz and GitHub
e688e07758
add max_shape/max_numel to mixins + pad_to ( #17553 )
2026-08-15 20:05:10 -07:00
nimlgen and GitHub
97022960ae
device: fix remap ( #17549 )
2026-08-16 01:01:36 +03:00
chenyu and GitHub
417563ca20
fix webgpu is_nan [pr] ( #17551 )
2026-08-15 16:31:19 -04:00
chenyu and GitHub
5ca87f1bac
fix cast to weak twice [pr] ( #17548 )
...
also no gradient for weak target
2026-08-15 12:39:54 -04:00
chenyu and GitHub
26cbadd69a
no pm_fold_cast_const in full_rewrite_to_sink [PR] ( #17547 )
2026-08-15 10:18:59 -04:00
chenyu and GitHub
fae893753b
no pm_fold_cast_const in get_kernel_graph [pr] ( #17546 )
...
* no pm_fold_cast_const in get_kernel_graph [pr]
* maybe
2026-08-15 09:57:05 -04:00
chenyu and GitHub
539a03343a
no casted const from sub and div [pr] ( #17543 )
2026-08-15 07:47:40 -04:00
qazal and GitHub
a57569349c
renumber invalids before callify ( #17542 )
...
* renumber invalids before callify
* change
* Revert "change"
This reverts commit 6f4df1541e .
* renumber in tensor
* scope renumber_invalid_outputs
* cleanup
2026-08-15 18:00:54 +09:00
qazal and GitHub
5c43a89fb1
precompile_backward tests for sched_cache ( #17544 )
...
* work
* back
* work
* keep +
2026-08-15 15:25:31 +09:00
qazal and GitHub
e6f5bb9c09
simple test for Invalid clone cache miss regression ( #17541 )
...
* simple test for Invalid clone cache miss regression
* xfail
* _
2026-08-15 11:00:21 +09:00
chenyu and GitHub
4b0525e594
no pm_fold_cast_const in UOp.simplify and hcq2 [pr] ( #17540 )
2026-08-14 21:39:47 -04:00
chenyu and GitHub
13c381b0c0
remove pm_fold_cast_const from initial symbolic [pr] ( #17535 )
...
interestingly it gives more accurate numerics when composing const like log10
2026-08-14 14:14:40 -04:00
chenyu and GitHub
ac7067ac60
fix deconstruct_function for python 3.11 ( #17534 )
2026-08-14 13:38:34 -04:00
chenyu and GitHub
80169c6758
remove where push cast to branches from sym [pr] ( #17533 )
...
* remove where push cast to branches from sym [pr]
not really needed and one less place that generates casted weak const when it's not needed
* fix
2026-08-14 12:57:56 -04:00
chenyu and GitHub
89ab344c42
fix assign into bitcast with no explicit realize ( #17531 )
2026-08-14 09:23:01 -04:00
nimlgen and GitHub
6b35220622
cpu hcq2 ( #17503 )
...
* cpu hcq2
* temp
* slop
* test with backpressure
* x
* x
* x
* x
* x
* x
* Dx
* save reverts
* um?
* x
* x
* call from py
* x?
* x
* submitters gone
* x
* x
* z
* Dx
* Dx
* x
* x
* fixes
* repl
* x
* f
* for now keep hcqbuffer
2026-08-14 15:06:03 +03:00
George Hotz and GitHub
b1859805b1
remove Ops.BIND ( #17511 )
...
* remove Ops.BIND
* param arg
* simplify that
* simplify
* cleaner
* props, not functions
* param and buffer can share
2026-08-13 23:52:16 -07:00
qazal and GitHub
faba071b1d
don't enter CALL body in assign fixups ( #17527 )
...
* fix python time regression in mxfp4
* this saves even more time
* s_nop test
* itertools count
* cleanup
2026-08-14 15:05:04 +09:00
qazal and GitHub
16c5ff2490
add external_benchmark_all2all.py ( #17507 )
...
* add external_benchmark_all2all.py
* mv
* more minimal
* less
* fix space
2026-08-13 15:50:43 +09:00
George Hotz and GitHub
e103fb2a10
more lil llm improvements ( #17514 )
...
* more lil llm improvements
* default float
2026-08-12 20:13:20 -07:00
George Hotz and GitHub
2297118541
lil llm improvements ( #17513 )
2026-08-12 19:29:32 -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
qazal and GitHub
2e5a9a4121
no hardcoded device names in test_sliced_buffer_function ( #17501 )
2026-08-12 15:19:25 +09:00
sirhcm and GitHub
479ffb0cda
remove Ops.SLICE ( #17492 )
2026-08-11 18:50:04 -04: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
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
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
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
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
f76422b8af
fix cast to float _min_max [pr] ( #17451 )
2026-08-07 11:56:19 -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
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
qazal and GitHub
f258708d7d
llama: custom quantize_mxfp4+transpose kernel (codex) ( #17434 )
...
* llama: custom quantize_mxfp4+transpose kernel (codex)
* rename to cpp
* inline
* cleanup
* lds load_bf16x4
* more tests, add Estimates
2026-08-06 16:13:28 +09:00
chenyu and GitHub
28e6ef6937
fix postopt symbolic [pr] ( #17433 )
...
REDUCE with src simplied to const would become unparented
2026-08-06 00:12:30 -04:00
chenyu and GitHub
7a9cd8e329
move weak function and pm to uop/weak [PR] ( #17429 )
2026-08-05 22:27:40 -04:00