0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
zml/docs
Guillaume Wenzek 1480f77a55
zml: add the platform tag inside the Buffer (#326)
CPU buffers behave differently from Cuda/Rocm/TPU buffers,
and in particular they are addressable from main memory.
This was annoying and prevented us to add some safety checks that
weren't valid for CPU.

I'm adding a tag to buffers so that we know which target they refer to.

Also there is a bug in PJRT unitialized which doesn't respected the
memory. I've opened https://github.com/openxla/xla/pull/31292
but in the meantime I've a workaround in ZML that uses the regular
.fromHostBuffer.
(I've also a patched version of PJRT plugins in
https://github.com/zml/pjrt-artifacts/pull/41 but not merged yet)
History 2025-09-18 15:35:25 +02:00
..
howtos zml: add the platform tag inside the Buffer (#326) 2025-09-18 15:35:25 +02:00
learn docs: move image in concepts.md (#128) 2024-12-09 19:48:10 +01:00
misc zml: initial release 2024-09-17 11:11:18 +02:00
tutorials async: remove asynk, asyncc, awaitt, await_ (#325) 2025-09-18 10:05:54 +02:00
README.md [Docs] : fix typos (#60) 2024-10-22 17:38:05 +02:00

Greetings, Programs!

If you want to run our example models, please head over to Getting Started.

Ready to write some code? Try starting with your first model in ZML, or familiarize yourself with the high-level ZML concepts first.

MENU:

Tutorials

How to ?

Learn more...

  • ZML Concepts : Tensors, Models, Executables, etc. explained

Contribute