Josh Peterson
Josh Peterson
MModular
Created by spartacus3367 on 7/1/2024 in #questions
mojo windows
3 replies
MModular
Created by taalhaataahir01022001 on 5/21/2024 in #questions
Max Engine Understanding
Yes, I don't think anyone else has attempted to unify ML inference like this before.
9 replies
MModular
Created by taalhaataahir01022001 on 5/21/2024 in #questions
Max Engine Understanding
Also, parts of that "MAX model compiler" block are written in Mojo. So it is turtles all the way down. 🐢
9 replies
MModular
Created by taalhaataahir01022001 on 5/21/2024 in #questions
Max Engine Understanding
Here is the "peanut butter and jelly" part: Those blue boxes on the right - "MAX Graph API" and "Mojo API" mean you can write a model end-to-end in Mojo, expressing the machine learning graph via that MAX Graph API. So to answer your question:
Assuming I write my whole model in Mojo (I implement all the APIs required for the model in Mojo myself). Then Which compiler will be better?
Both! By doing this, you will be using both Mojo and the MAX engine.
9 replies
MModular
Created by taalhaataahir01022001 on 5/21/2024 in #questions
Max Engine Understanding
The Mojo compiler takes Mojo language input and produces executable machine code. The MAX model compiler takes a machine learning graph as input, and produces executable machine code. Both are compilers, but they accept different input.
9 replies
MModular
Created by taalhaataahir01022001 on 5/21/2024 in #questions
Max Engine Understanding
Here is the "MAX model compiler" is what I think you are referring to. This is different from the Mojo compiler.
9 replies
MModular
Created by taalhaataahir01022001 on 5/21/2024 in #questions
Max Engine Understanding
The MAX engine is for inference of machine learning models. In some sense it is orthogonal to Mojo, although the two of them do work well together (think peanut butter and jelly 😀 ). I like this diagram from the docs (https://docs.modular.com/engine/overview):
9 replies