chenyu and GitHub
9607787ce1
delete more explicitly set dtype to UOp [PR] ( #17726 )
...
* delete more explicitly set dtype to UOp [PR]
* not that
2026-08-25 08:32:45 -04:00
qazal and GitHub
77f698e55b
cleanup the mxfp4 gemm ( #17660 )
2026-08-22 00:59:04 +09:00
wozeparrot and GitHub
72280bb218
gptoss: zero-2 optim ( #17581 )
2026-08-18 14:28:57 -07: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
39d144546e
fix mxfp4 mem estimate ( #17515 )
...
* add mem estimates
* rename
* move
2026-08-13 14:48:15 +09:00
wozeparrot and GitHub
1827ec57f7
gptoss: fix sharded invalids ( #17450 )
2026-08-07 08:42:02 -07: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
George Hotz and GitHub
c21a552f3d
llm: bugfixes + warmup ( #17384 )
2026-08-03 18:23:14 -07:00
wozeparrot and GitHub
3331944547
gptoss: fix moe routing ( #17377 )
2026-08-03 11:16:44 -07:00
chenyu and GitHub
8e2f175542
const(dtype, b) -> const(b, dtype) [PR] ( #17328 )
...
prep for dtype removal
2026-07-31 09:46:37 -04:00
qazal and GitHub
f7964acb64
llama with MXFP4 ( #17321 )
...
* mxfp4 in llama
* less
* name
2026-07-31 18:25:25 +09:00
qazal and GitHub
0a3325f9c2
add mxfp4 quantize and layout kernels ( #17320 )
2026-07-31 14:50:18 +09:00
qazal and GitHub
a8c1e89500
fp4 asm gemm 6+ pflops ( #17315 )
...
* fp4 gemm
* better kernargs structure
* move to .s files
* work
* work
* p2
* style
* use .py
* move to dsl
* cleanup
* add MFMA_SCALE_X2_ENCODING
* cleanup mfma
* fma docs
* gemm_mxfp4
* more cleanup
* move
* move to cdna_asm_gemm
* change
* rm
* change
* mx
2026-07-31 14:25:23 +09:00
wozeparrot and GitHub
b5a2a5666a
gptoss moe routing ( #17284 )
2026-07-30 07:49:14 -07:00
George Hotz and GitHub
52c9e5a99e
rename LOOP -> WEAK and STRONGLOOP -> LOOP ( #17283 )
2026-07-29 10:38:36 -07:00
George Hotz and GitHub
451120c6e1
make .barrier implicit (kimi) ( #17275 )
...
* make .barrier implicit (kimi)
* simplier
* lil
* remove tinygrad stock barriers
* readable
* lil
2026-07-28 22:34:57 -07:00
George Hotz and GitHub
57ae1bc7a7
rename MULTI to UNSHARD ( #17267 )
...
* rename MULTI to UNSHARD
* comment updates (glm)
* rename method to unshard
2026-07-28 16:51:41 -07:00
wozeparrot and GitHub
c9b60caf8c
gptoss: moe gemm kernels ( #17178 )
2026-07-24 07:25:15 -07:00
chenyu and GitHub
13ca9bd8a6
remove dtypes.index again ( #17104 )
...
also reverted some dtype change, the split made things needlessly complicated
2026-07-20 20:30:04 -04:00
qazal and GitHub
1cf8f2f68c
llama: inplace amax update ( #17064 )
...
* llama: inplace amax update
* remove amax_out return
* work
* fit
* work
* work
* keep
* diff cleanup
2026-07-20 15:05:41 +09:00
wozeparrot and GitHub
a836c3822a
gptoss: 3d mx block scale ( #17062 )
2026-07-16 23:30:24 -07:00
George Hotz and GitHub
61e104bdfb
use UOp.wmma everywhere ( #17045 )
...
* use UOp.wmma everywhere
* fix
2026-07-16 10:40:48 -07:00
George Hotz and GitHub
8b0dd870ce
use wmma helper ( #17038 )
2026-07-15 23:25:17 -07:00
George Hotz and GitHub
03ecad9486
full removal of dtype.vec ( #16996 )
...
* full removal of dtype.vec
* fix typo
2026-07-12 09:25:50 -07:00
qazal and GitHub
cae6696d75
llama: split current and next amax state ( #16993 )
2026-07-12 18:52:33 +09:00
qazal and GitHub
9ea7de020b
llama: fuse grad scale in gemm epilogue ( #16992 )
2026-07-12 18:15:01 +09:00
qazal and GitHub
73b38854b4
llama: aT_b fp8 gemm ( #16991 )
2026-07-12 16:57:10 +09:00
chenyu and GitHub
047a467bf9
delete UOp._stack and UOp.vectorize [PR] ( #16988 )
2026-07-11 15:26:55 -04:00
qazal and GitHub
75a4bfddc9
fp8 gemm tests including fused scales ( #16980 )
...
* fp8 gemm tests matching fused scales
* work
* diff
2026-07-11 12:33:21 +09:00
chenyu and GitHub
ba2c68b1ed
start dtypes.index [PR] ( #16949 )
2026-07-09 15:12:23 -04:00
George Hotz and GitHub
fdffc6c0c8
remove dtypes base ( #16931 )
...
* remove dtypes base
* find/replace bug
* vcount is junk too
2026-07-08 11:48:11 -07:00
George Hotz and GitHub
2fc7e5341b
final removal of PtrDType (glm) ( #16913 )
...
* final removal of PtrDType (glm)
* junk
2026-07-07 13:37:33 -07:00
George Hotz and GitHub
6f1a983493
Ops.GROUP has no shape, like sink ( #16906 )
...
* Ops.GROUP has no shape, like sink
* readme
2026-07-07 08:20:38 -07:00
George Hotz and GitHub
6e44176cfe
fix flash attention example ( #16900 )
...
* fix spec for amd_copy_matmul
* remove shaped wmma
* fix flash attention example?
* dead code
2026-07-06 20:51:32 -07:00
George Hotz and GitHub
d94ad4444e
fix spec for amd_copy_matmul + remove SHAPED_WMMA ( #16897 )
...
* fix spec for amd_copy_matmul
* remove shaped wmma
2026-07-06 19:00:10 -07:00
George Hotz and GitHub
40d112d4d6
remove ptr=True from index ( #16898 )
2026-07-06 18:34:18 -07:00
George Hotz and GitHub
9512dc30f4
remove vec from const ( #16889 )
...
* remove vec from const
* reject in spec
* remove all vector dtypes
* not needed
* remove that
* clean up invalid
2026-07-06 12:23:07 -07:00
wozeparrot and GitHub
35522af0df
gptoss: use quantize_mxfp8 ( #16881 )
2026-07-05 17:48:24 -07:00
George Hotz and GitHub
a145fdce4b
remove the .gep method ( #16867 )
2026-07-04 14:07:09 -07:00
qazal and GitHub
07f7383d29
llama: remove unused bf16 assembly gemm ( #16859 )
...
* only hk bf16 gemm
* rm asm gemm
* more cleanup
* half isn't supported in asm gemm anymore
* more test edits
* unused
* remove TestMagicGu
* uop gemm is still tested
* minimal diff
2026-07-04 18:41:54 +09:00
chenyu and GitHub
3a9b87e48f
remove Ops.DEVICE from Ops.PROGRAM [PR] ( #16797 )
2026-06-29 17:41:31 -04:00
qazal and GitHub
b8224e19a7
llama: remove unused fp8 transpose kernel ( #16763 )
2026-06-26 16:31:13 +09:00
wozeparrot and GitHub
e0c69d7a12
llama: fused grad quantize ( #16731 )
2026-06-24 23:25:39 -04:00
wozeparrot and GitHub
fe9b19b12d
llama: more mp mem fixes ( #16701 )
...
* llama: more mp mem fixes
* clean: unused
* fix: batch
2026-06-22 10:54:35 -04:00
chenyu and GitHub
267af9c601
full_like to CreationMixin [PR] ( #16702 )
2026-06-22 09:33:23 -04:00
wozeparrot and GitHub
5164c21b44
gemm: keep shape thru mxfp8 quantize ( #16692 )
2026-06-20 22:28:53 -07:00
George Hotz and GitHub
649971f02a
remove DEFINE_LOCAL and DEFINE_REG (gpt) ( #16673 )
...
* remove define_local and define_reg (gpt)
* fix precommit
* cleanups
* regalloc fix
* cleanups 2
2026-06-19 10:07:50 -07:00
wozeparrot and GitHub
36f6d1b064
gemm: fix bf16 atb for mp sharding ( #16637 )
2026-06-16 15:58:47 -07:00
qazal and GitHub
f998b9930a
fp8 gemm inv_scale in epilogue ( #16625 )
...
* fuse scale
* remove python inv_scale
* more inv_scale removal
* more cleanups
* cleaner
* diff polish
* work
* rename
* simpler
* simpler
* compute
* c
* Revert "c"
This reverts commit 8941fec7ca .
* Revert "compute"
This reverts commit 9db573a6d3 .
* Revert "simpler"
This reverts commit 910ad33f87 .
* Revert "simpler"
This reverts commit bf75d235a1 .
* s_g
* update types
* less diff noise
* remove
2026-06-15 18:44:41 +09:00
wozeparrot and GitHub
67a4f129c2
llama: fix bf16 gemm oob ( #16603 )
2026-06-12 19:43:05 -07:00