Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to use on Google Colab #45

Closed
sr5434 opened this issue May 7, 2023 · 6 comments
Closed

Ability to use on Google Colab #45

sr5434 opened this issue May 7, 2023 · 6 comments
Labels
enhancement New feature or request mojo-repo Tag all issues with this label

Comments

@sr5434
Copy link

sr5434 commented May 7, 2023

Request

The ability to use mojo in Google Colab once Mojo reaches general availability.

Motivation

Many ML enthusiasts use Google Colab to train their models. They can benefit from the code speedups that come with using Mojo.

Description and Requirements

Users should be able to download Mojo in Colab and use it without issue.

@sr5434 sr5434 added enhancement New feature or request mojo-external labels May 7, 2023
@lattner
Copy link
Collaborator

lattner commented May 8, 2023

Cool, it would be great to see this as mojo matures! Right now we are using this bug tracker for language and compiler bugs, so I’m going to close this for now. Thank you!

@lattner lattner closed this as completed May 8, 2023
@sr5434
Copy link
Author

sr5434 commented May 8, 2023

Oh, ok

@sr5434 sr5434 changed the title Ability to use on Google cola Ability to use on Google Colab May 8, 2023
@OtwellResearch
Copy link

Not only would developers benefit from a Mojo Colab - Google would benefit because the training wouldn't take as long. ;) Or is that true? Would Mojo improve GPU performance?

@sr5434
Copy link
Author

sr5434 commented May 9, 2023

I’m not completely sure, but things like function autotuning might help improve performance.

@BrunoArsioli
Copy link

I am looking forward a way to test Mojo in Colab, but I guess this will come when Mojo becomes Open Source. For now, it seems the Modular playground is the only way to test Mojo (but it seems that the Python libraries we can import there, are limited). Does anyone has a timeline for Mojo being open source?

maybe we need to report the issue as "

!pip install mojo

is not working in Gogle Colab " : ) See the error report:

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting mojo
Using cached mojo-0.1-py3-none-any.whl (9.8 kB)
Requirement already satisfied: appdirs in /usr/local/lib/python3.10/dist-packages (from mojo) (1.4.4)
Collecting docopt (from mojo)
Using cached docopt-0.6.2.tar.gz (25 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from mojo) (1.22.4)
INFO: pip is looking at multiple versions of mojo to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement os (from mojo) (from versions: none)
ERROR: No matching distribution found for os

@sr5434
Copy link
Author

sr5434 commented Jun 8, 2023

Lol. It looks like the package was a hackathon project from a few years back. Maybe the pip package(if one is ever released) should be called mojo-lang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

5 participants