Native apple silicon macOS m1 and m2 support

Can I install Mojo on macOS m1 or m2 yet?
93 Replies
Jack Clayton
Jack Clayton13mo ago
Not yet, we're working on native support, and you can upvote the GitHub ticket here: https://github.com/modularml/mojo/issues/510 We have instructions to set up a remote x86-64 environment here: https://developer.modular.com/download And if you're on macOS with an x86 chip you can set up a docker container: https://github.com/modularml/mojo/blob/main/examples/docker/Dockerfile.mojosdk
GitHub
[Feature Request] Support for macOS · Issue #510 · modularml/mojo
Review Mojo's priorities I have read the roadmap and priorities and I believe this request falls within the priorities. What is your request? Tracking issue for supporting Mojo on macOS. Please...
GitHub
mojo/examples/docker/Dockerfile.mojosdk at main · modularml/mojo
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
Julia
Julia13mo ago
Is it expected not to work even when using a Docker container built with FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/base:ubuntu-22.04?
titusmoore
titusmoore13mo ago
I am already running it in the remote x86_64 env, but it is not the same you sure understand. It is good for testing Mojo itself apart from all my real life projects
Jack Clayton
Jack Clayton13mo ago
@Julia that's right emulation through QEMU and Rosetta both don't work
titusmoore
titusmoore13mo ago
Sure I could build API for communication with it, but who does have time for that when I have fulltime job Upvoted
Jack Clayton
Jack Clayton13mo ago
Definitely we understand how much the community wants native support!
𝐍𝐚𝐩𝐢𝐞𝐫
When can we expect it for mac
Three chickens in the green bag
Even a month (a named month) estimate would be greatly appreciated imo.
sgaseretto
sgaseretto12mo ago
Even having support for ARM so we could run it with Docker would be great I think
rick
rick12mo ago
is there a non-native version rn? pardon my misunderstanding but i thought just linux for now?
Jack Clayton
Jack Clayton12mo ago
You can install into a remote container if on arm64, or use a docker container if on x86_64
ksandvik
ksandvik12mo ago
Yes, please keep this Q&A about Mac M1/M2 support, thx.
chadbrewbaker
chadbrewbaker12mo ago
I finally found some sane documentation on targeting Apple Neural Engine directly. https://github.com/eiln/ane/blob/main/docs/README.md The most simple HelloWorld would be to use the ANE to make a memcopy()? Second would be hashing memory regions?
Want results from more Discord servers?
Add your server