roboquant
MModular
•Created by Martin Dudek on 5/26/2024 in #questions
Why are you using Mojo?
Prototyping a bit of algorithmic trading strategies (and learning the basics of Mojo while going along)
23 replies
MModular
•Created by iam_gbenga_6 on 6/9/2024 in #questions
Can I use Mojo🔥 for web development and app development?
There is a framework called lightbug that might help.
But in general I would say not yet production ready. So great for testing and getting a sense for future use cases, but not ready yet to go live next month.
3 replies
MModular
•Created by Martin Dudek on 5/16/2024 in #questions
Python integration and performance
If indeed you often invoke CPython functionality in a loop, there will be indeed considerable overhead crossing the border from Mojo to CPython.
Mind you, there are more mature languages where the overhead is much larger. And I can imagine that Mojo still can improve in this area.
10 replies
MModular
•Created by Hasan Yousef on 11/18/2023 in #questions
Running code at GPU
That would be great. If mojo gets indeed nvidia support on the short term, I can see machine learning in mojo becoming a thing quickly.
14 replies
MModular
•Created by Hasan Yousef on 11/18/2023 in #questions
Running code at GPU
Curious what the extra hardware support entitles (if any). I get the feeling that Modular with their AI engine is first focusing on inference, so perhaps some Intel GPU/Habana hardware?
14 replies
MModular
•Created by Cross Product on 11/25/2023 in #questions
Compilation with Python?
Mojo directly compiles to native, there is no C intermediate code.
Right now there is support for a subset of Python, but things like classes, comprehensions and stdlib are all still missing.
9 replies
MModular
•Created by Hasan Yousef on 11/18/2023 in #questions
Running code at GPU
That is currently not yet supported. They have been indicating that some insights how to do this will be revealed soon.
14 replies
MModular
•Created by HybridRobotix on 11/17/2023 in #questions
Mojo on Arm
It runs on Apple M2. So at least the 64bit Arm cpu is implemented. The out of the box support for OSes is still basic.
4 replies
MModular
•Created by sryu1 on 10/27/2023 in #questions
Has anyone tried implementing Reinforcement Learning in mojo yet?
If you want to learn more about RL, you could build some RL algo using mojo, as long as it is a small space. Good exercise I would say. For example TicTacToe can be done with a simple table for the Q function.
Anything more serious requires typically deep learning networks to approximate Q (and V) functions. And this is not yet possible in native Mojo.
4 replies
MModular
•Created by roboquant on 10/25/2023 in #questions
Iterables
Ahh, works like a charm. So len is not a static value but returns the remaining of the iterator (which actually makes sense for an iterator type).
Thanks!!!
3 replies
MModular
•Created by roboquant on 10/23/2023 in #questions
cannot bind generic !mlirtype to memory-only type
The things to be aware is also that all attributes in your struct need to have register_passable enabled. But at least it works for some prototyping (till we have traits).
6 replies
MModular
•Created by roboquant on 10/23/2023 in #questions
cannot bind generic !mlirtype to memory-only type
It is in the "obscure" section: https://docs.modular.com/mojo/programming-manual.html#advancedobscure-mojo-features
6 replies
MModular
•Created by roboquant on 10/23/2023 in #questions
cannot bind generic !mlirtype to memory-only type
Thanks, I guess till that time register_passable will have to do.
6 replies