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

1,078 commits

Author SHA1 Message Date
Corentin Godeau
09df6d757d Make Llama more async 2025-12-19 15:18:36 +01:00
Hugo Mano
14d8f2359b
io: HF VFS v2 + alignment with HTTP VFS + fix for File VFS (#368) 2025-12-19 14:00:26 +01:00
Corentin Godeau
e17f07e1fc Use correct default parameter for TopK 2025-12-19 12:48:00 +01:00
Corentin Godeau
3988755c73 Fix VFS.File init in llama 2025-12-19 11:16:47 +01:00
Corentin Godeau
ec52dc22f1 Small fix in File VFS
DIRECT flag is not supported on macOS
2025-12-19 11:16:10 +01:00
Corentin Godeau
f46e649a29 Small fixe on LLama 2025-12-19 11:11:30 +01:00
Corentin Godeau
3581770d26 Fix tests 2025-12-19 11:09:34 +01:00
Hugo Mano
190141926f
io(vfs/file): implement direct io (#367) 2025-12-18 13:35:06 +01:00
Corentin Godeau
0776802b41 wip llama working 2025-12-17 18:32:52 +01:00
Corentin Godeau
ad93a58030 wip loading 2025-12-17 16:36:37 +01:00
Hugo Mano
860a52e8f0
io: fixes (#366) 2025-12-17 16:34:59 +01:00
Corentin Kerisit
cc0349fd70
Update ROCm runtime and sandbox to 7.1.1 (#364)
Co-authored-by: Corentin Godeau <corentin.godeau@zml.ai>
Co-authored-by: Hugo Mano <hugo@zml.ai>
2025-12-17 13:32:55 +01:00
Corentin Kerisit
0463e503c4 Await transfer event to avoid segfault 2025-12-17 12:01:23 +00:00
Corentin Godeau
95401d52aa wip llama 2025-12-16 17:58:33 +01:00
Corentin Godeau
850c8f3152 Re-introduced zml/tokenizer 2025-12-16 17:58:32 +01:00
Hugo Mano
be6d93990f
io: perf on linux (#365) 2025-12-16 17:19:14 +01:00
Corentin Godeau
56f16dadc7 Add output Memory Kind support 2025-12-16 12:07:23 +01:00
Corentin Godeau
f680e17178 First clean version of Mnist 2025-12-15 18:55:43 +01:00
Corentin Godeau
6df392bbe2 First port of Mnist to new API
Everything is done by hand so that's not the final version, but at least
it works!
2025-12-15 16:10:50 +01:00
Corentin Godeau
ed1e690578 Small fix in stdx 2025-12-15 16:10:37 +01:00
Hugo Mano
39911d6de7
io: hf + zml: safentensors (#363) 2025-12-15 13:39:48 +01:00
Corentin Godeau
03b0b5726d Ported benchmark examples to v2 2025-12-12 15:25:01 +01:00
Corentin Godeau
4294a19dd8 Expose compile and compileModel through Platform 2025-12-12 14:55:08 +01:00
Corentin Godeau
11a9ef2d58 Introduced Buffer.fromSlice 2025-12-12 14:27:16 +01:00
Corentin Godeau
1c51e65f90 Changed order of parameters for Buffer.from/fromBytes
std.Io should be put at the beginning (similar to std.mem.Allocator)
2025-12-12 14:25:59 +01:00
Corentin Godeau
1e9fe65c33 Some work on Platform
* Added a way to automatically select the best available platform
* Added a way to print available platforms
2025-12-12 14:00:21 +01:00
Corentin Godeau
b0f7f01a38 Simplified Tensor.init signature 2025-12-11 20:31:19 +01:00
Corentin Godeau
ed4bc7183d Use CompilationContext arena for chunkAllowTrailing 2025-12-11 19:06:45 +01:00
Corentin Godeau
9d5e54fddc Re-introduced ops.customCall + test 2025-12-11 19:03:07 +01:00
Corentin Godeau
92d42bde0a Added platform and an arena to CompilationContext 2025-12-11 19:02:49 +01:00
Corentin Godeau
13d2753c3b Re-enabled scatterConfig test 2025-12-11 18:26:44 +01:00
Hugo Mano
34dd16167e
io/file (#362) 2025-12-11 18:23:50 +01:00
Corentin Godeau
dc00398d1c Restored ops.triton 2025-12-11 18:23:11 +01:00
Corentin Godeau
51ec792d87 Migrate to @EnumLiteral() 2025-12-11 18:11:58 +01:00
Corentin Godeau
920fcbe9b2 Cleanup root main.zig 2025-12-11 18:11:58 +01:00
Corentin Godeau
cac4f38d03 Remove async package 2025-12-11 18:11:58 +01:00
Hugo Mano
ee18a2745b
zml/io (#361) 2025-12-11 17:41:19 +01:00
Corentin Godeau
f7aa2f3166 Some minor fixes
* Use std.testing.io to get test env
* Disable libnvptx when compiling
2025-12-11 16:05:17 +00:00
Corentin Godeau
447fc8c59b Made a simple main to test on other platforms 2025-12-11 16:02:28 +01:00
Corentin Godeau
33a5371dba Plug std.Io in runtimes 2025-12-11 16:02:20 +01:00
Corentin Godeau
742a8f1202 Introduced slice.zig with Slice and ConstSlice
This allows to easily manipulate shaped slice on the host.
2025-12-11 15:12:23 +01:00
Corentin Godeau
1574931db2 Removed useless refAllDecls + reordered imports 2025-12-11 13:44:51 +01:00
Corentin Godeau
1e9797f46b Re-introduced nn.zig + tests 2025-12-11 13:09:23 +01:00
Corentin Godeau
858b5bdd2d Fix partitioning for toDiagonal 2025-12-11 10:52:37 +01:00
Corentin Godeau
b4b8c2739b Various fixes in tensor.zig + Rng tests 2025-12-10 18:02:28 +01:00
Corentin Godeau
b0555085b3 Get new shape.zig from hugomano/explo-partitioning 2025-12-10 15:08:03 +01:00
Corentin Godeau
34b9283a6e Re-enabled dynamicUpdateSlice tests 2025-12-09 19:49:31 +01:00
Corentin Godeau
e0cba48ed7 Re-enabled scatterSlices tests 2025-12-09 19:34:15 +01:00
Corentin Godeau
1cfc13cd82 Re-enabled maxPool tests 2025-12-09 19:03:38 +01:00
Corentin Godeau
b4fddca0d6 Re-enabled unused tensor test 2025-12-09 18:49:50 +01:00