Josh Peterson
MModular
•Created by Sai Ram on 1/11/2025 in #questions
Is there a way to package a python code run under mojo compiler as an executable on android?
Welcome to programming! It is tons of fun, and there is plenty to learn.
Mojo does not support Android now, and I don't expect support to be added in the near future, so I don't think this will be possible.
3 replies
MModular
•Created by PawnDuelAtDawn on 1/9/2025 in #questions
Channel for Jupyter/Mojo issues?
I think that #tooling is the best place to ask about this.
4 replies
MModular
•Created by Sushil on 12/26/2024 in #questions
error: 'https://dl.modular.com/public/magic/raw/versions/latest/magic-x86_64-apple-darwin' not found
Are you using macOS on an Intel CPU (e.g. x86_64 architecture)? If so, that is not supported. Magic and MAX only work with ARM processors on macOS.
5 replies
MModular
•Created by Nebula on 12/19/2024 in #questions
Will MAX GPU or NPU support come to Qualcomm xelite chips?
We're focused on NVIDIA (and soon) AMD GPU support now. We've trying to design the tech stack to be orthogonal to the hardware platform to allow it to be ported pretty easily, but we don't have a roadmap now for support of any other accelerators.
4 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