guidorice
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
mojo-pytest: Mojo test runner and pytest plugin
Update the docs and the CI script to use mojo v24.5 https://github.com/guidorice/mojo-pytest
13 replies
MModular
•Created by Krisztian Szucs on 7/19/2024 in #community-showcase
Firebolt: In-progress implementation of Apache Arrow in Mojo
hi @Krisztian Szucs if I can make a humble suggestion, would you consider release versions that track the mojo tagged release, ex. v24.4?. This is similar to how https://github.com/endia-org/Endia is doing it for example. It makes it easier to get started as a package user. I am interested in using firebolt to make a geoarrow ( https://geoarrow.org ) integration, and after that, to create a rasterization package that converts geo vector data into mojo Tensors.
26 replies
MModular
•Created by Krisztian Szucs on 7/19/2024 in #community-showcase
Firebolt: In-progress implementation of Apache Arrow in Mojo
I do need to read through it all- it sounds like you may have solved the zero-copy use case.
26 replies
MModular
•Created by Krisztian Szucs on 7/19/2024 in #community-showcase
Firebolt: In-progress implementation of Apache Arrow in Mojo
And I also quote from the Arrow documentation in that issue.
26 replies
MModular
•Created by Krisztian Szucs on 7/19/2024 in #community-showcase
Firebolt: In-progress implementation of Apache Arrow in Mojo
@kszucs cool, and interesting! I am curious what you think about this proposal which I opened: https://github.com/modularml/mojo/issues/1515
Because it seems to me that mojo will need to be enhanced to allow zero-copy interactions with arrow formatted data and have any kind of interoperability with the rest of the arrow ecosystem.
26 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
mojo-pytest: Mojo test runner and pytest plugin
Hey mojo-pytest users, here is a performance tip with the new v24.4 package:
https://github.com/guidorice/mojo-pytest/wiki#2024-07-17-here-is-a-performance-tip
13 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
mojo-pytest: Mojo test runner and pytest plugin
Hi all, I released
mojo-pytest
v24.4 which is compatible with mojo 24.4. It's a redesigned plugin which wraps mojo test
and I think it's simpler to use as well. There are some breaking changes, so please do check out the Readme.
https://github.com/guidorice/mojo-pytest13 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
mojo-pytest: Mojo test runner and pytest plugin
Tracking issue on GH: https://github.com/guidorice/mojo-pytest/issues/17
13 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
mojo-pytest: Mojo test runner and pytest plugin
Thanks @toasty
13 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
mojo-pytest: Mojo test runner and pytest plugin
@Leandro Leites good point! I think mixed python + mojo codebase are going to very common. 👍
13 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
mojo-pytest: Mojo test runner and pytest plugin
Thanks @Jack Clayton ! I was actually thinking of archiving
mojo-pytest
, because now mojo has mojo test
. 🎉 that seems new- when did that land? v24 I guess. Also there is a nice docs section here: https://docs.modular.com/mojo/tools/testing
Let me know if anyone thinks mojo-pytest is still of any use?
cc @Leandro Leites13 replies
MModular
•Created by benny on 12/16/2023 in #questions
Get Date/Time in Native Mojo
Check out some 3rd party options at https://github.com/mojicians/awesome-mojo
The mojo stdlib is not fully built out yet.
9 replies
MModular
•Created by chebu_pizza on 12/13/2023 in #questions
Is it possible to push mojo code on GitHub?
The maintainer is already excluding the top contributors, quoting here from the issue thread on GH:
Three users are having an undue influence on the figures with one repo accounting for over 1000 of the results. Excluding them and forks brings things down quite a bit.🥹
16 replies
MModular
•Created by chebu_pizza on 12/13/2023 in #questions
Is it possible to push mojo code on GitHub?
I've been following that issue as well. I get a sense of "moving the goalpost" on github-linguist part.
16 replies
MModular
•Created by Leandro Campos on 12/7/2023 in #questions
Are literals splatted in SIMD Operations?
It seems like there must be some tiny overhead to concert convert from FloatLiteral to SIMD, but only by running the benchmark module could you say for sure.
4 replies
MModular
•Created by Janks on 9/22/2023 in #questions
Multi threading in Mojo
I opened an issue https://github.com/modularml/mojo/issues/1418
7 replies
MModular
•Created by Janks on 9/22/2023 in #questions
Multi threading in Mojo
@santagada yes that's a good point. I have been assuming that
async_parallelize
is how you would perform more heterogeneous threaded workloads, but I have not tried it (have not seen any code examples, either) . Definitely submit feature requests to https://github.com/modularml/mojo/issues/new/choose
Somewhere it was stated that Mojo has a lightweight threading model, (maybe actors/channels/fibers?) but it seems kind of a black box currently.7 replies
MModular
•Created by Janks on 9/22/2023 in #questions
Multi threading in Mojo
In mojo, "parallelize" is the same as threading: https://docs.modular.com/mojo/notebooks/Mandelbrot.html#parallelizing-mandelbrot
btw as an aside, it looks very well done- I was able to get ~ 100% utilization on all of my laptops cores in one code experiment https://docs.modular.com/mojo/stdlib/algorithm/functional.html
7 replies
MModular
•Created by Pierre Augier on 11/29/2023 in #questions
Meaning of "caching throughout the compilation flow"?
I think "caching" in that context alludes to not just incremental compilation like ccache would provide, but a whole bundle of engineering feats, this is the most technical info that's been shared so far: https://www.modular.com/blog/mojo-llvm-2023, and https://www.youtube.com/watch?v=SEwTjZvy8vw
3 replies