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
eb1fad99e8 Re-enabled cartesianProductStacked tests 2025-12-09 18:47:37 +01:00
Corentin Godeau
0e4c4d9864 Re-enabled cartesianProduct tests 2025-12-09 18:45:37 +01:00
Corentin Godeau
d0da1c502f Re-enabled triangular tests 2025-12-09 18:39:27 +01:00
Corentin Godeau
f10a38c129 Re-enabled toDiagonal tests 2025-12-09 18:35:12 +01:00
Corentin Godeau
5db4a7ed29 Re-enabled dynamicSlice tests 2025-12-09 18:30:01 +01:00
Corentin Godeau
b0110a2b25 Re-enableds chunkAllowTrailing tests
I had to make choice about allocation to avoid memory leaks
2025-12-09 18:19:13 +01:00
Corentin Godeau
f59d5c5b19 Re-enabled chunkExact tests 2025-12-09 18:08:37 +01:00
Corentin Godeau
145a802491 Re-enabled argsort tests 2025-12-09 18:03:14 +01:00
Corentin Godeau
a56fe39534 Re-enabled argMax tests 2025-12-09 17:36:21 +01:00
Corentin Godeau
fe91568a2c Re-enabled gatherSlices tests 2025-12-09 17:12:24 +01:00
Corentin Godeau
09e3ddf55d Re-enabled gather tests 2025-12-09 16:56:29 +01:00
Corentin Godeau
0c90a0ff2d Re-enabled scalar tests 2025-12-09 16:33:59 +01:00
Corentin Godeau
ca49f06610 Re-enabled stutter1d tests 2025-12-09 16:32:24 +01:00
Corentin Godeau
4a71b381d6 Re-enabled repeat1d tests 2025-12-09 16:30:10 +01:00
Corentin Godeau
3772d657f0 Re-enabled slice tests 2025-12-09 16:10:10 +01:00
Corentin Godeau
9339b8d470 Re-enabled cumsum tests 2025-12-09 15:59:40 +01:00
Corentin Godeau
5b82edbc63 Added getValue in zml.Buffer 2025-12-09 15:59:28 +01:00
Corentin Godeau
0f05158a37 Re-enabled leakyReLU tests 2025-12-09 15:38:30 +01:00
Corentin Godeau
e50db03c21 Partially re-enabled Tensor.dot tests 2025-12-09 15:31:23 +01:00
Corentin Godeau
25df30598e Re-enabled convert tests 2025-12-09 15:13:58 +01:00
Corentin Godeau
6de7409a81 Reenabled all tests using refAllDecls 2025-12-09 15:00:33 +01:00
Corentin Godeau
edc451fcf3 Various fixes in stablehlo bindings 2025-12-09 14:59:47 +01:00
Corentin Godeau
715b0f745a Commented Writer in stdx.BoundedArray
It was causing compile issue in tests
2025-12-09 14:59:14 +01:00
Corentin Godeau
0916e7d7de Various PJRT fixes in bindings 2025-12-09 14:58:56 +01:00
Corentin Godeau
32d995ae10 Fixed DataType.minValue() and .maxValue() 2025-12-09 14:58:30 +01:00
Corentin Godeau
6391597f82 Cleanup pass on floats.zig 2025-12-09 14:58:05 +01:00
Corentin Godeau
054642f5b2 Restored basic test
* Only one Tensor test has been restored for now, Tensor.fmod
* Re-introduced helpers for testing
2025-12-08 17:57:53 +01:00
Corentin Godeau
86b5bb84df Various small fixes 2025-12-08 17:46:17 +01:00
Corentin Godeau
45c94dd5b5 Small fix in stablehlo.zig 2025-12-08 17:45:18 +01:00
Corentin Godeau
9cd56326e3 Basic support of zml.Buffer 2025-12-08 17:45:09 +01:00
Corentin Godeau
44fa0bf125 Added std.Io to compile functions 2025-12-05 18:55:50 +01:00
Corentin Godeau
2178b50c93 Moved MAX_RANK from shape.zig to constants.zig
This will be the single source of truth for constants throughout the
codebase.
2025-12-05 18:55:10 +01:00
Corentin Godeau
8e0e987968 Made it working on Zig 0.16 2025-12-05 16:42:28 +01:00
Corentin Godeau
fa8f75b9a1 Move some operations from tensor.zig to ops.zig 2025-12-05 16:42:28 +01:00
Corentin Godeau
d1fae650a4 Basic compilation support 2025-12-05 16:42:28 +01:00
Corentin Godeau
216c3bcab5 Tackled some TODOs on operations 2025-12-05 16:42:28 +01:00
Corentin Godeau
897c4dc87d Ported almost all previous Tensor operation to new mlir api
* Tests are disabled for now and marked with TODOs
* Missing operations are also marked with TODOs
2025-12-05 16:42:28 +01:00
Corentin Godeau
c182dda457 mlir and dialects modules rework
* Complete rework of mlir that uses pointers instead of values for basic
  types.
* Removed unused dialects.
2025-12-05 16:42:28 +01:00
Corentin Godeau
eba929b8cc Initial rework of Context and Platform
* Removed `zml.Context` for `zml.init()` and `zml.deinit()`
* `zml.Platform` is responsible for loading the PJRT api when
  initialized. This replace the previous behavior of trying to load all
  enabled runtimes.
2025-12-05 16:42:28 +01:00
Corentin Kerisit
299aaac7a7 cc_infos should be exposed as direct since translate_c use direct_public_headers 2025-12-05 16:08:15 +01:00
Corentin Kerisit
ddb05f5cde Remove cat 2025-12-02 16:26:23 +01:00
Corentin Kerisit
55b2073542 fix workspace_printer for all versions of zig 2025-12-02 16:23:25 +01:00
Steeve Morin
133abd1c7f WIP 2025-12-02 15:21:57 +01:00
Steeve Morin
de6b1a570b WIP 2025-12-02 15:21:25 +01:00
Steeve Morin
36760aec62 WIPREADER 2025-12-02 14:31:52 +01:00
Steeve Morin
bff3193026 WIP 2025-12-01 19:30:16 +01:00
Steeve Morin
3fe06706e9 WORKING !!! 2025-12-01 19:17:17 +01:00
Steeve Morin
255a2b6518 WIP 2025-11-27 15:48:19 +01:00
Steeve Morin
20747c4dcb WIP 2025-11-26 17:47:50 +01:00
Steeve Morin
42e9f801e6 WIP 2025-11-17 13:51:35 -08:00