0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-18 18:57:29 +00:00
Commit graph

154 commits

Author SHA1 Message Date
Corentin Godeau
fed66d3f4b Merge remote-tracking branch 'origin/gw/slice1d' into corendos/tokenizer 2025-01-08 16:06:17 +00:00
Guillaume Wenzek
cd5772d15c refactor profiler 2025-01-07 18:03:20 +01:00
Steeve Morin
bda3465ea3 WIP 2025-01-07 17:31:10 +01:00
Steeve Morin
c1bf644151 WIP 2025-01-07 17:30:13 +01:00
Guillaume Wenzek
38909101ea remove warnings and dynslice rewrite 2025-01-07 16:01:55 +01:00
Guillaume Wenzek
9ed5f88ff9 use i64 for resource id 2025-01-07 09:52:35 +01:00
Guillaume Wenzek
d08675bb32 rewrite batched scatter to nice looking scatter 2025-01-07 09:52:35 +01:00
Guillaume Wenzek
bd515c3ace start scatterRewriter 2025-01-07 09:52:35 +01:00
Guillaume Wenzek
32f80ca2a1 drop _test_compile_opts
# Conflicts:
#	zml/testing.zig
2025-01-07 09:52:33 +01:00
Guillaume Wenzek
8a29461d6e scatterConfig 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
5b609a6d39 playing with xla config flags 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
58bc3fe7c1 scatter: restore last test 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
b36e8ce295 scatter: restore some tests 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
d668e3a869 scatter: handle simplified batching syntax 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
5ef822be3f change scatter syntax 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
6476e053b1 add scatter todos 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
261ce1b77c more verbose error for expectClose 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
b3239bc0c3 expose zml.pjrt 2025-01-07 09:51:19 +01:00
Guillaume Wenzek
4ecfa16867 meta.edit 2025-01-07 09:51:18 +01:00
Guillaume Wenzek
dc41aadcd7 HostBuffer.pretty 2025-01-07 09:51:18 +01:00
Guillaume Wenzek
d635c1a7b3 limit profiler output to a size that can be handled by the UI 2025-01-07 09:51:18 +01:00
Guillaume Wenzek
cb1513d8bd lockStderr 2025-01-07 09:51:18 +01:00
Guillaume Wenzek
bdfa990237 argMax can automatically chose the index dtype 2025-01-07 09:51:18 +01:00
Guillaume Wenzek
62024ec847 Tensor.all 2025-01-07 09:51:18 +01:00
Guillaume Wenzek
cbc6a64490 add outer on the shape 2025-01-07 09:51:18 +01:00
Guillaume Wenzek
ac0c6f83da remainder should leverage binop 2025-01-07 09:51:18 +01:00
Guillaume Wenzek
d68155de1e fix scalar of bool 2025-01-07 09:51:17 +01:00
Guillaume Wenzek
fc51164f01 gatherSlices should accept a shape literal 2025-01-07 09:51:17 +01:00
Guillaume Wenzek
f054492aa7 sdpa: drop bias term
you can use the attn_mask, they play the same role
2025-01-07 09:51:17 +01:00
Guillaume Wenzek
22f31106a2 use just shape in error message
should this be the default formatting ?
2025-01-07 09:51:17 +01:00
Guillaume Wenzek
f0a16409ff HostBuffer.prettyPrint 2025-01-07 09:51:17 +01:00
Guillaume Wenzek
ec336ac72a scatter handle several inputs 2025-01-07 09:51:17 +01:00
Guillaume Wenzek
fab89aa2fb better location info 2025-01-07 09:51:17 +01:00
Guillaume Wenzek
e594dd2e67 compacter shape printing 2025-01-07 09:51:03 +01:00
Guillaume Wenzek
3450096f80 simplify transposeIsAReshape 2025-01-07 09:50:56 +01:00
Guillaume Wenzek
ee4b8aa823 transposeIsJustAReshape 2025-01-07 09:50:35 +01:00
Guillaume Wenzek
e782b574d1 zml: dynSlice1d should use DynSlice too 2025-01-07 09:50:34 +01:00
Steeve Morin
8956b567f7 WIP 2025-01-06 16:33:26 +01:00
Steeve Morin
d9a716b4fd WIP 2025-01-06 15:58:56 +01:00
Hugo Mano
80ec28f3c7
workspace: bump llvm / xla / stablehlo / pjrt plugins xla@20250103.0-5f1fe6a (#141) 2025-01-06 15:06:52 +01:00
Steeve Morin
f220fbfa54 WIP 2025-01-06 13:27:03 +01:00
Steeve Morin
50d00f4db4 WIP 2025-01-06 10:50:37 +01:00
Steeve Morin
309c8a88d2 async: broadcasting on a Condition forces a reactor tick
This is way way more intuitive.
2025-01-06 10:48:57 +01:00
Corentin Godeau
d0643ffd59
zml/module.zig: fix superfluous optional unwrapping (#140)
Closes #137
2025-01-02 14:12:31 +01:00
Steeve Morin
5864c7c122 WIP 2024-12-29 16:29:54 +00:00
Steeve Morin
5f430bd77f WIP 2024-12-29 16:22:27 +00:00
Steeve Morin
4a9bdca7aa WIP 2024-12-28 16:48:40 +00:00
Steeve Morin
cf13fdf638 WIP 2024-12-27 16:02:06 +00:00
Steeve Morin
63df2e25c9 WIP 2024-12-25 23:38:43 +01:00
Steeve Morin
25d8cf4d3a zml/tokenizer: add huggingface tokenizers binding 2024-12-25 00:39:17 +01:00