0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
zml/examples
Hugo Mano 1042cba3ff
zml/kernels/moe: make mesh and partitioning explicit (#1028)
MOE API currently relies on input sharding metadata or
partitioning choices made inside backend kernels. Ordinary graph
operations can leave that metadata unspecified, making the resulting
sharding depend on the backend and preceding operations.

Move the manual computation boundary into the shared
`zml.kernels.moe.forwardMoe` API using `manualComputation2`. 
Callers provide a logical mesh and typed input/output partitioning specs.
History 2026-11-09 15:26:03 +01:00
..
benchmark zml/Tensor: explicit sharding in Tensor code (#868) 2026-10-06 15:37:22 +02:00
io zml/Tensor: explicit sharding in Tensor code (#868) 2026-10-06 15:37:22 +02:00
llm zml/kernels/moe: make mesh and partitioning explicit (#1028) 2026-11-09 15:26:03 +01:00
mnist zml.Compiler: allow to propagate tensor store names (#1018) 2026-11-04 16:04:17 +01:00
sharding zml/ops: add manualComputation2 with explicit partitioning (#1013) 2026-11-03 18:22:59 +01:00