Steeve Morin
7d373133ff
workspace: bump protobuf and prefer prebuilt protoc
2026-03-18 11:49:49 +01:00
Steeve Morin
a5f7e155e7
workspace: add remote build configuration
2026-03-18 11:49:49 +01:00
Benjamin Rabier
ba44bf47e7
bazel: Fix rules_zig for tests ( #415 )
2026-03-18 08:19:07 +01:00
Hugo Mano
619fea8b18
zml: introduce profiler ( #413 )
...
Move profiling behind a zml-owned primitive instead of exposing PJRT
details in user code. Add the XLA/TSL Bazel deps needed to convert
collected XSpace protobufs into Perfetto traces with XLA/TLS APIs
instead of having a custom fallible converter.
2026-03-17 18:14:24 +01:00
Benjamin Rabier
9422836884
third_party/zls: Remove absent attributes from latest rules_zig ( #414 )
2026-03-17 18:06:31 +01:00
Benjamin Rabier
ba8134f4a2
stdx/json: consistent serialization of Union, TaggedUnion and NeverNull ( #412 )
2026-03-17 13:58:31 +01:00
Tristan Gautie
880aeaf101
Use http archive for translate-c repo
2026-03-17 11:32:33 +01:00
Steeve Morin
9385ffbcfe
workspace: update rules_zig translate-c handling
2026-03-17 11:10:14 +01:00
Hugo Mano
9fef9b85ef
zml/sharding: remove partitionning for shard shape
2026-03-12 11:01:21 +00:00
Olivier Boulant
1b50eb526c
chore(zls): remove transfer-benchmark from zls completion ( #410 )
...
This allows the ZLS server to work.
Before this fix, `bazel run //:completion.print_build_config` would fail
into
```bash
ERROR: no such package 'examples/transfer-benchmark': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
- examples/transfer-benchmark
```
2026-03-11 16:49:58 +01:00
Corentin Godeau
70e4c9953d
Bump zig to 0.16.0-dev.2722+f16eb18ce ( #409 )
...
Co-authored-by: Hugo Mano <hugo@zml.ai>
2026-03-10 15:58:48 +01:00
Hugo Mano
7b048b7e51
zml/io/hf: fix request using identity header for tree api call
2026-03-10 12:51:08 +00:00
Hugo Mano
a6058eb354
third_party: stb is a non module dep
2026-03-10 12:49:33 +00:00
Hugo Mano
abde0a04dd
zml: sharding ( #407 )
...
Co-authored-by: Benjamin Rabier <benjamin@zml.ai>
2026-03-10 11:17:57 +01:00
KB
9df955adad
feat: add stb library integration with BUILD and repo files ( #408 )
...
Co-authored-by: Kevin Barre <kevin@zml.ai>
2026-03-10 11:09:07 +01:00
Benjamin Rabier
c7ca488f3b
third_party/zls: faillible canonicalization of modules ( #406 )
...
Files provided by bazel may not exist when zls starts, so
canonicalization would fail and break zls. Now we fall back to the
provided path instead. Furthermore, to make it a bit more robust, if any
part of the post process/canonicalization fails, we return the provided
input string instead of failing.
I'm now also using the same struct definition as ZLS instead of
manipulating `std.json.Value`.
2026-03-10 09:34:22 +01:00
Hugo Mano
26c832dc38
workspace/bazelrc: switch config native from rules_rust to rules_rs
2026-03-09 11:22:45 +00:00
Steeve Morin
fd53bfcf31
platforms: set glibc version for linux platform
2026-03-07 10:53:59 +00:00
Steeve Morin
e17da6892f
platforms/cuda: probe cuda-compat via an external binary
...
Detect CUDA Compat by spawning a probe binary that will try
to initialize it. If it succeeds, the main binary can use it
too.
2026-03-07 10:53:14 +00:00
Steeve Morin
54c2153389
platforms/cuda: enable cuda-compat only on supported GPUs
...
It turns out it's only supported on enterprise GPUs.
The trick is to set a soname on the compat/libcuda.so.1 and preload
it so that later resolution uses this one.
See
https://docs.nvidia.com/deploy/cuda-compatibility/forward-compatibility.html
2026-03-06 23:05:52 +00:00
Steeve Morin
2780770da7
workspace: re-enable rules_rs
2026-03-06 23:03:14 +00:00
Steeve Morin
0fda597649
platforms/cuda: add WSL support
2026-03-06 21:00:30 +00:00
Steeve Morin
8bd1676e0f
Revert "bazel: Revert cuda_compat & rules_rs ( #392 )"
...
This reverts commit c53d2275b4 .
2026-03-06 20:01:46 +00:00
Hugo Mano
9f1f46f686
mlir: introduce func extension registration via C++ bridge
2026-03-05 11:24:55 +00:00
Hugo Mano
0535a5b056
zml/module: make MLIR init one-time and reuse global dialect registry
2026-03-05 10:52:11 +00:00
Benjamin Rabier
8995f3a8dc
bazel: update llvm toolchain to 0.6.1 ( #401 )
2026-03-05 09:23:35 +01:00
Benjamin Rabier
cadf6f5759
zml/attention: Use divCeil form max_num_page and expose it ( #400 )
2026-03-04 10:47:32 +01:00
Benjamin Rabier
1df41a8ee1
zls: neovim fix canonicalizing paths ( #399 )
...
- Fix incorrect build config path by using runfiles.
- Canonicalize paths like neovim does for ZLS (doesn't work otherwise)
2026-03-04 08:05:37 +01:00
Benjamin Rabier
e258ecb147
Add devenv files
...
It defines my nix environment for this project, and it's a lot easier to
manage by committing it.
2026-03-03 17:41:40 +01:00
Hugo Mano
6be028f873
runtimes: update tpu plugin and fix mem
2026-02-25 12:42:26 +00:00
Benjamin Rabier
569bd1dfd7
examples/transfer-benchmark: Use VFS & full model for transfer-benchmark ( #390 )
...
Co-authored-by: Benjamin Rabier <benjamin@zml.ai>
2026-02-24 09:52:40 +01:00
Benjamin Rabier
8f85fc1c06
bazel: fix zls completion for zig_test ( #389 )
...
Co-authored-by: Benjamin Rabier <benjamin@zml.ai>
2026-02-24 09:52:19 +01:00
Benjamin Rabier
de284c05e0
bazel: Use target_platforms for neuron instead of pip args to force x86 ( #391 )
...
Co-authored-by: Benjamin Rabier <benjamin@zml.ai>
2026-02-23 14:11:38 +01:00
Benjamin Rabier
c53d2275b4
bazel: Revert cuda_compat & rules_rs ( #392 )
...
Co-authored-by: Benjamin Rabier <benjamin@zml.ai>
2026-02-23 14:10:37 +01:00
Corentin Kerisit
45b21db589
Replace rules_rust by rules_rs
2026-02-22 23:36:30 +01:00
Steeve Morin
6636093cb4
platforms/cuda: prevent cuda-compat leaking to host
2026-02-20 10:19:39 +00:00
Steeve Morin
a1506d3ed4
platforms/cuda: add cuda_compat functionality
2026-02-19 15:39:39 +00:00
Hugo Mano
32a8d69b06
zml/io/vfs/hf: check performRead http status correctly (aligned with s3
...
and http)
2026-02-19 10:36:49 +00:00
Hugo Mano
a9f2687237
zml/io/vfs: fixes for Zig 0.16.0-dev.2611+f996d2866 + new S3 VFS ( #388 )
2026-02-19 10:48:15 +01:00
Tristan Gautié
a175578eba
examples/llama: improve defer pattern ( #386 )
...
We improve the defer pattern in the Llama example to:
- avoid double deinit of `prefill_exe` and `decode_exe` by cleaning at
future-definition time,
- using defer instead of errdefer for future-allocated resources cleanup
in the main function scope,
- unload buffers from the arena allocator.
2026-02-19 09:28:36 +01:00
Benjamin Rabier
48df9c85e9
examples/benchmark: Add transfer-benchmark & fix benchmark ( #387 )
...
Co-authored-by: Benjamin Rabier <benjamin@zml.ai>
2026-02-19 09:27:53 +01:00
Benjamin Rabier
82c9c25836
examples/lfm: Add LiquidAI LFM2.5 ( #376 )
2026-02-19 09:27:10 +01:00
Steeve Morin
44f28b0335
third_party/zls: allow using outside of ZML repo
2026-02-16 20:52:23 +00:00
Corentin Godeau
aa0b4924d6
zml/nn: remove useless convert
2026-02-16 20:52:23 +00:00
Corentin Godeau
73d734cc27
zml/nn: added default value for rope_theta + linear scaling
2026-02-16 20:52:23 +00:00
Corentin Godeau
41f793fd39
zml/attention: added options for paged_attention
2026-02-16 20:52:23 +00:00
Corentin Godeau
5234081d59
zml/testing: formatting fix
2026-02-16 20:52:23 +00:00
Corentin Godeau
2bd356e0f9
zml/nn: added common rope_theta parameter to rope variants
2026-02-16 20:52:23 +00:00
Corentin Godeau
87d3eb83ed
zml/attention: update to latest zml/v2 changes
2026-02-16 20:52:23 +00:00
Corentin Godeau
0f694a8903
zml: added some convenience to paged_attention
2026-02-16 20:52:23 +00:00