Darin Simmons
MModular
•Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
I do my best to avoid all things Docker so I'm not a good resource for this. I suggest starting your own #questions regarding Docker install.
19 replies
MModular
•Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
It appears - which is to say that I am not 100% sure - that the issue is with Docker /bin/sh. not using source like bash would. https://docs.docker.com/reference/dockerfile/#shell-form
19 replies
MModular
•Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
What operating system are you using? What command did you use to refresh your profile aka "source command" aka "source the terminal"
19 replies
MModular
•Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
Two things. One, I hope that smarter heads prevail.
conda
is no longer owned by Anaconda, has a BSD-license, and banning it would in practicality, force everything to PyPi. My personal opinion: Gimping the entire toolchain because someone wasn't willing to read the docs is more about stupidity and ignorance than risk-aversion.
Two, magic
is based on pixi and adapted for mojo+MAX use. (magic
is currently version 0.4.0 based on pixi
version 0.33.0). While conda channels can be skipped, pixi
uses conda to manage the environments. magic
cannot - as far as my imagination could come up with - be used without the project environment created by conda.
Hope that clarifies.19 replies
MModular
•Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
Good day. You can install mojo+MAX using either
The point behind
magic
or conda
.The point behind
magic
is to both attend to environments as well as package management as well as it's specifically designed to use mojo
, max
, as well as other languages. Here's the instuctions for magic
To use conda
to install mojo+MAX
,
19 replies
MModular
•Created by Nagaraj Hegde on 11/11/2024 in #questions
Will Mojo ever become fully free and open source?
Good to hear that you are loving mojo. Do you have any reservations about building a project? There's always the #licensing channel to get clarification and share concerns.
Mojo is already in the TIOBE index top50 and that's for a language that isn't even complete let alone GPU capable. What I think I hear is that you would like everyone to come and love the language as much as you do. That's one of the reasons I'm here too. In order for the entire adventure i.e Modular, MAX, and mojo to deliver quicker and reach a state that more people are willing to even consider, the Modular team integrated the two. Will they separate later when everything is feature complete? I cannot tell the future and I doubt the Modular team would be programming if they could either. There exists near infinite possibilities between now and the 1-2+ years to realize mojo and MAX. In the meantime, let's share the love. if there's something between a project and success, Discord is a good start.
4 replies
MModular
•Created by suri on 11/7/2024 in #questions
Error running https://builds.modular.com/builds/llama3/python example
Ehsan, these Build posts (llama2, llama3, replit) all have instructions based on old (global) instructions. Currently, they say to install max, git clone, then run python. No mention of project creation, no mention of entering changing directory into the project, no mention of adding pytorch or any other requirements. Then, they ask the user to run
python3 pipelines.py llama3 --prompt "I believe the meaning of life is"
Imo, they all need to be rewritten. The replit
example has pip install numpy transformers
as one of the needed commands. The llama2
leads with the punchline magic run llama2 --prompt "I believe the meaning of life is"
yet no amount of following the installation instructions before or after will result in that working. Whereas the llama3
example puts the punchline at the end, unfortunately the punchline is python3 pipelines.py llama3 --prompt "I believe the meaning of life is"
resulting in the OP's error. This is only because a project was created and shell invoked by me - both instructions not on the page.
You have seen the gh issue though additional issue are the incorrect instructions.5 replies
MModular
•Created by Wouks on 10/26/2024 in #questions
Error when running Mojo when path contains # (hash)
the upstream devs did put a sanitizer for environment creation names and agreed that the error message could be better. If you do find anything that Pixi does not do well, the prefix.dev team is incredibly responsive and both in their discord and on github. The fix will flow down.
13 replies
MModular
•Created by Wouks on 10/26/2024 in #questions
Error when running Mojo when path contains # (hash)
Pixi, the software that magic is based on, would like us to "
please use only lowercase letters, numbers and dashes
" in environment names. My theory is that the #
is being caught in the name parsing. In my case I used an underscore and it would let me create the environment, but would not let invoke the shell without throwing an error. .13 replies
MModular
•Created by tohmly on 10/15/2024 in #questions
Magic/Mojo on MacOS 12 not supported?
When you say the docs. Are you referring to the getting-started ? When you
magic --version
are you getting 0.3.1 ?
There was an issue - and I'm wondering if it's related - about magic, SSL certificates, mac0S, and the way some upstream developers were doing things. The fix for that was to revert the magic version command . I tried searching Discord for the details but got a bunch of noisy results. You can try to version 0.3.0 and see if that works. Also, there's an issue template for magic in the mojo repo13 replies
MModular
•Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
gotcha
84 replies
MModular
•Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
The hope/goal is that the community and the people and things in the orbit can share and connect and then ideally to bring back to the core.
84 replies
MModular
•Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
@Ghostfire @sora the moderators just had a conversation about this and we've taken a "Other people in the community will probably find this interesting/useful/helpful" approach. As long as its in the correct place and its not a solicitation. So #community-showcase is totally fine to promote a mojo game dev server. Things that are unrelated solicitations, like "hey my rando game server" a bit too far. Community being the mojo community and things related and surrounding it, not community as the entire internet.
84 replies
MModular
•Created by jmky on 10/7/2024 in #questions
Is there a disdain for Rust from the Mojo team?
Last we talked, I thought you were still waiting on some of the unfinished design bits to finish. I could be totally wrong but I thought this was among them. Admittedly, I hadn't give back to check.
23 replies
MModular
•Created by jmky on 10/7/2024 in #questions
Is there a disdain for Rust from the Mojo team?
@ivellapillil I think @rd4com did a nice job , food for thought for the book.
23 replies
MModular
•Created by jmky on 10/7/2024 in #questions
Is there a disdain for Rust from the Mojo team?
@jmky Chris Lattner has posted a new discussion
23 replies
MModular
•Created by jmky on 10/7/2024 in #questions
Is there a disdain for Rust from the Mojo team?
Skipping the entire Rust-Mojo thing, names are contracts. If it's called
thing
over there and then you call it thing
over here, thing
has already been established. If, for any reason, you want to do something different with thing
, you have broken the contract. If you call it new_word
, you can adopt as much, as little of it. Put another way, using the same word is equivalency and a new word is similarity.23 replies
MModular
•Created by maicmi on 9/26/2024 in #questions
How to solve failed to solve the pypi requirements?
I was unable to find
fastapi[standard]
. You can add the pypi channel with magic project channel add pypi
. (I understand if that's not what you want to do, just reporting what did work)
Interestingly/oddly I did try magic add --pypi fastapi
- that is all depending of course, if you are looking for fastapi
instead of fastapi[standard
- I got the same certificate failed to validate error...
7 replies
MModular
•Created by maicmi on 9/26/2024 in #questions
How to solve failed to solve the pypi requirements?
Hey, running the same commands from within a project and shell I got very similar results (mine were a bit more verbose). I did an update (on Linux) and got a different error message. 😐
It appears to be two issues, one with the dependencies and one with the certificate. So I poked at the dependency resolution problem
7 replies
MModular
•Created by Martin Dudek on 9/16/2024 in #questions
to_numpy with Mojo 24.5
Just to be clear, you updated
DTypePointer
to UnsafePointer
(due to deprecation) and got the above error? @Shashank P9 replies