Modular

M

Modular

This server is the home of the MAX and Mojo community. Join us to chat about all things Modular!

Join

questions

community-showcase

Mojo Versioning System

How is MOJO planning to handle version system or so? The way python does it right now is very messy, you get multiple versions of python installed on the same machine, and then sometimes when you install packages using pip, they go in site-packages of old versions and are not available for newer versions when trying to use them etc. Some information on this would be really helpful...

how to make an ai

ive never made an ai chat bot model work because my pc doesnt have the power to run python models wondering if i can run one on an i7-870 and nvidia geforce gt 710

how to use async in mojo?

```mojo async fn add_three(a: Int, b: Int, c: Int) -> Int: let sum:Int = a + b + c; return sum ...

Will Mojo Metaprogramming support Lisp/Julia Style Macros?

As Paul Graham is describing in http://www.paulgraham.com/avg.html Lisp let you abstract things with macros which can’t still be easily abstracted in current popular languages. If this would be realized in Mojo, we could write less Code and be even more productive.

PyObject support

Currently in my tests, it is very slow to transfer big numpy arrays, like from a camera into a mojo Tensor, will this case have better support in the future?

Can't find libpython

See the photo.🙏🙏🙏
No description

Bug in Typing

When i typing in file mojo (vs-code) left bracket '(' , the text return to the begin of line, without take care to the indentation

Is it possible to create a Discord bot with Mojo?

Not sure of a real use case yet, just curious.

Can I load a mojo file on the REPL session like irb in ruby so I can execute function?

Basically to call the functions in repl shell instead of writing the code

Can Mojo be installed on Linux Mint?

Linux Mint is based on Ubuntu and both are similar. However, is it installable on Mint?

How can I create a Python list to add and remove structs?

I am trying mojo and would like to define a few structs and use a Python like dynamic list. I would like to be able to add and remove structs, iterate over items etc.

How can I transform any Pyobject in form of Numpy array, int etc, into its type in mojo

for example Pyobject of 25 into a int8 or int 64 in mojo or numpy array into a mojo tensor...

Build .exe file Mojo

When I build .exe file and try to execute by ./name, there is an error occur " can't locate pythonlib..." How I can fix it? Of course there is import of Python and PythonObject in the code Mojo....

How does Mojo's compile-time interpreter work?

I've been pretty curious about the Mojo compiler's internal workings for quite a while: how it decides which parameters to pick for autotuning, how it allows programmers to seamlessly program GPUs and stuff (I'm assuming without explicitly needing to mention which accelerator the code should run on). For now I want to know what exactly Mojo's compile time interpreter is. What is the need for it? What use cases does it solve? And how does it work?...

FIx error install mojo

How can fix error install
No description

keyword Arguments prob

if pass any value by keyword Arguments i dint know where the value goes i cant use the value also i cant print it. is it a bug.?...

Parallelism and multithreading

I couldn't find a sample code of Mojo multithreading, Can anyone guide me where I can find the proper guide, or provide me with sample snippets to learn from. thanks

Mojo Auto-completion in vs-code

MOJO Auto-completion and suggestions not working in vs-code. Os: Kali Linux under WSL...