ZML - High performance AI inference stack
1–10 of 13 posts
Re: ZML - High performance AI inference stack
#2That being said, I have a question regarding the ease of use. How difficult it is for someone with python/c++ background to get used to zig and (re)write a model to use with zml?
Re: ZML - High performance AI inference stack
#3First of all, great job! I think the inference will become more and more important. That being said, I have a question regarding the ease of use. How difficult it is for someone with python/c++ background to get used to zig and (re)write a model to use with zml?
Re: ZML - High performance AI inference stack
#4First of all, great job! I think the inference will become more and more important. That being said, I have a question regarding the ease of use. How difficult it is for someone with python/c++ background to get used to zig and (re)write a model to use with zml?
Coming from Python, the hardest part is learning memory management. What helps with ZML is that the model code is mostly meta programming, so we can be a bit flexible there.
We have a high level API, that should feel familiar to Pytorch user (as myself), but improves in a few ways
Re: ZML - High performance AI inference stack
#5Re: ZML - High performance AI inference stack
#6my only question is: is zig stable enough to base such a project on?
Re: ZML - High performance AI inference stack
#7my dreams have come true. hardware-agnostic ml primitives in a typed, compiled language. my only question is: is zig stable enough to base such a project on?
Stable as in reliable enough, I’d say so.
Re: ZML - High performance AI inference stack
#8Re: ZML - High performance AI inference stack
#9Given that the focus is performance, do you have any benchmarks to compare against the likes of TensoRT-LLM.
Note that our focus is being platform agnostic, easy to deploy/integrate, good performance all-around, and ease of tweaking. We are using the same compiler than Jax, so our performances are on par. But generally we believe we can gain on overall "tok/s/$" by having shorter startup time, choosing the most efficient hardware available, and easily implementing new tricks like multi-token prediction.
Re: ZML - High performance AI inference stack
#10Given that the focus is performance, do you have any benchmarks to compare against the likes of TensoRT-LLM.