0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
Commit graph

146 commits

Author SHA1 Message Date
Steeve Morin
eb05f39fb3 WIP 2026-02-12 20:59:20 +01:00
louis
161ff5defc llama per layers 2026-02-04 19:30:17 +01:00
Corentin Godeau
30c25d9294 wip 2026-02-04 09:47:41 +01:00
Corentin Kerisit
fb3778e619 wip 2026-02-03 20:05:27 +01:00
Steeve Morin
862b654668 platforms: add metal 2026-02-03 17:09:21 +01:00
Steeve Morin
0f460fb636 zml: expose Memory, pass Platform as *const, add zml.io.load 2026-02-03 10:59:39 +00:00
Corentin Godeau
e04091b5af zml: Removed ConstSlice
constness is now handled at runtime via a union in `zml.Slice`
2026-01-21 11:00:19 +01:00
Steeve Morin
0aff9cf4dc examples/llama: plug std.Progress to the compilation pipeline 2026-01-19 18:42:05 +01:00
Steeve Morin
21a7c5fec8 platforms: pass allocator to load 2026-01-19 17:41:57 +01:00
Hugo Mano
dc2e876b21 Fix llama stack corruption and remove Buffer.fromIoBufferize 2026-01-19 14:27:23 +00:00
Steeve Morin
32ca342f2c examples/llama: remove S3 vfs init 2026-01-16 21:32:39 +01:00
Corentin Godeau
7bbce6c3d0
Attention Backend on ZML V2 (#373) 2026-01-16 10:59:12 +01:00
Corentin Godeau
de41199c68 examples/llama: fix buffer size allocation 2026-01-15 18:24:34 +00:00
Hugo Mano
015ed2245f zml/io/vfs: add s3 vfs 2026-01-15 16:12:43 +00:00
Hugo Mano
3c96903568 Refactor llama and VFS to new CLI and IO APIs 2026-01-15 15:19:10 +01:00
Steeve Morin
6ee968e033 WIP 2026-01-14 18:08:56 +01:00
Hugo Mano
42633d133d use model name as progress 2026-01-14 18:04:56 +01:00
Hugo Mano
25a5ee10f6 rework zml.io.* 2026-01-14 18:04:55 +01:00
Steeve Morin
dc4f6e2f00 zml: remove zml.init and deinit 2026-01-11 21:24:57 +01:00
Steeve Morin
2ba6d73af2 zml: expose stdx from inside zml 2026-01-06 10:52:28 +00:00
Steeve Morin
84e8b28131 examples: remove outdated examples 2026-01-06 10:51:18 +00:00
Steeve Morin
53a4b6905d examples: remove outdated examples (will reintroduce later) 2026-01-06 10:45:28 +00:00
Steeve Morin
c2780ca7c5 workspace: zml2 -> zml 2026-01-06 10:08:17 +00:00
Steeve Morin
48eddd98b6 examples/mnist: cosmetic changes 2026-01-05 09:09:43 +00:00
Steeve Morin
541a0b2f41 examples/llama: remove clap, take prompt from stdin 2026-01-05 09:09:34 +00:00
Steeve Morin
749a22c881 examples/benchmark: update 2026-01-05 09:09:17 +00:00
Steeve Morin
799b69e2b7 examples/llama: properly cancel tokenizer loading 2026-01-03 11:05:16 +00:00
Steeve Morin
7eaf650d0e zml: Platform.Device and iterator 2026-01-03 11:04:45 +00:00
Steeve Morin
a854a29cb3 examples/llama: cosmetic changes 2026-01-03 10:44:50 +00:00
Steeve Morin
1ec373368b examples/llama: remove stdx.time.Timer usage 2026-01-03 10:43:26 +00:00
Steeve Morin
7cdce4ffae zml/platform: new compile prototype 2026-01-03 10:36:44 +00:00
Steeve Morin
39876f6936 zml/tokenizers: add fromBytes 2026-01-03 09:16:16 +00:00
Steeve Morin
f9828e445f examples/llama: disable VFS 2026-01-02 20:37:56 +00:00
Steeve Morin
f3245c5968 MNIST running again 2026-01-01 17:56:29 +00:00
Steeve Morin
db3ded4f80 WIP 2026-01-01 08:49:18 +00:00
Corentin Godeau
5ca3dad667 Change parameter order for Buffer.toSlice
std.Io should be as close to the beginning as possible for consistency
2025-12-22 15:57:56 +01:00
Corentin Godeau
11ca632931 Introduced variant of Exe.call
By default, we don't wait for execution completion when calling
`Exe.call`. If you want to await the result, you can use `Exe.callOpts`.
2025-12-22 15:18:16 +01:00
Corentin Godeau
e3ad311536 Ported simple_layer example to new API 2025-12-22 12:13:58 +01:00
Corentin Godeau
2739c925a6 Fixed mnist example with new VFS.File changes 2025-12-22 12:13:58 +01:00
Hugo Mano
5d2dc7c8c1
io: fixes (#369)
Co-authored-by: Corentin Godeau <corentin.godeau@zml.ai>
2025-12-22 11:29:55 +01:00
Corentin Godeau
09df6d757d Make Llama more async 2025-12-19 15:18:36 +01:00
Corentin Godeau
3988755c73 Fix VFS.File init in llama 2025-12-19 11:16:47 +01:00
Corentin Godeau
f46e649a29 Small fixe on LLama 2025-12-19 11:11:30 +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 Godeau
95401d52aa wip llama 2025-12-16 17:58:33 +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
03b0b5726d Ported benchmark examples to v2 2025-12-12 15:25:01 +01:00