PhoToN 飞得高
MModular
•Created by stu002 on 10/24/2024 in #questions
Canonical way to add NuMojo to a Mojo project?
We are currently planning to host NuMojo on prefix.dev where many community project are currently hosted. Once that's done, NuMojo will be added as a dependancy by magic once you modify the .toml file.
5 replies
MModular
•Created by Helehex on 8/5/2024 in #community-showcase
Thermo
I am mostly working on scientific right now. but I am interested in trying out game dev sometime too.
60 replies
MModular
•Created by Helehex on 8/5/2024 in #community-showcase
Thermo
@Ghostfire The Insatiable this looks amazing! Since I’m working on something similar, this is a great resource to learn from!
60 replies
MModular
•Created by PhoToN 飞得高 on 7/6/2024 in #community-showcase
Tenka 点火 - Mojo package manager
🎉 Announcing Tenka v0.1 - A Package Manager for Mojo 🔥
Hey Mojicians! I'm excited to introduce Tenka, a package manager for Mojo. Here's what you can do with this first release:
✨ Key Features:
• Create, activate, and manage multiple Mojo environments with different Mojo versions
• Search, install, and uninstall Mojo packages from Github
• Package your local Mojo files and add them to the active environment
• Easy-to-use CLI tool
🚀 Getting Started
Please check out the README for a detailed explanation of all features and Installation procedure, It's easy to install and use!
GitHub: https://github.com/shivasankarka/Tenka
Tenka is just getting started, and we'd love your feedback! Try it out and let us know what you think. If you're interested in contributing, please reach out. Feel free to open an issue or make a PR if you have any ideas or suggestions.
Together, we can become better Mojicians 🪄
2 replies
MModular
•Created by mad alex 1997 on 7/3/2024 in #community-showcase
NuMojo’s got NDArrays! 🥳
Hey @benny sorry for the that, that passed the radar. We were testing your implementation (which is really fast!) and it’s not part of NuMojo right now since we don’t have some compile time stuff and can’t be used. I will remove it for now and We will add the acknowledgment once we integrate it in later version! Thank you for understanding!
5 replies
MModular
•Created by Sam.H.W on 6/27/2024 in #questions
Unable to run the kmean blog example.
For all the changes, Please look at “Standard library changes” in the latest change log here, https://docs.modular.com/mojo/changelog
Kmeans should work once you implement these changes.
3 replies
MModular
•Created by Sam.H.W on 6/27/2024 in #questions
Unable to run the kmean blog example.
@Sam.H.W the main problems I see from the Error text file you have provided is importing problems. In the latest Mojo version, some of these math functions were moved around if I am not wrong.
For example,
1) You should use
SIMD.__div__
instead of math.div in above case.
2) slice.__len()__
has been removed in 24.4 and you have to calculate it explicitly instead.3 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
these are the plots corresponding to matmul.
26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
ah now I see the confusion! I'm so sorry @benny. The above graph is for
torch.mul
and not torch.matmul
, I think the label wasn't changed while changing graph from torch.matmul
.26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
where the
time_mojo
is generated from the mojo benchmark code above. time_torch
is from torch running in the same .py file. As for the matmul, we are using almost same implementation as Modular one (https://docs.modular.com/mojo/notebooks/Matmul), except for the changes in store[], load[] methods where we use single index to reduce some overhead instead of the two index used in modular version.26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
@benny , the following is the plotting code
26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
Hi @benny for benchmarking, it’s the same as that I have shared above except for the matplotlib code. Do you want the plotting part of the code?
26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
@Martin Dudek
Update: As expected (I fell for my own trap xD, gotta be careful when benchmarking), I made a mistake in parallelization which leads to the reduction in time for larger sizes. I am adding the new plots, please find it here. I will update the text above in accordance with new plots.
26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
@Martin Dudek you are right, we haven’t released the array (NDArray) yet as we are polishing it and doing tests to clear out edge cases. We will be releasing it soon (pretty exciting! 😁) along with many other functionalities and get some community feedback. Looking forward to see Mojo and NuMojo evolve! 🔥.
26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
Hope that helps! Cheers fellow mojicians 🪄
26 replies
MModular
•Created by Martin Dudek on 6/17/2024 in #questions
Seeking Clarification on Current and Future Tensor Library Support in Mojo
The code I used for Pytorch benchmark is the following:
and for NuMojo is the following,
26 replies