-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Failed to install on Linux #3
Comments
@itsgifnotjiff Why don't you use the pre-built images? I.e. |
@itsgifnotjiff Variable expansion is only supported for a limited set of Dockerfile instructions. If you want to build the images with a Docker version < 26.0.0, you need to add |
Should I do that sir? I just found your repo and assumed it is the "right" way to do it. My goal is to experiment with MAX and Mojo on an HPC with GPU clusters for atmospheric ML models (Graphcast and such). Does that fit this repo default or should I change to something else? Thank you so much for your wonderful work |
This does not work sir. I get DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/ Does the command cd base && docker build \
--build-arg MODULAR_VERSION=0.8.0 \
--build-arg MOJO_VERSION=24.4.0 \
--build-arg PYTHON_VERSION=3.12.4 \
-t jupyterlab/mojo/base \
-f latest.Dockerfile . work for you out of the gate? I don't want to waste your time but I appreciate your guidance :) |
Either way is fine.
The current images provide just Mojo. 'MAX Engine'-based images will be published as soon as the MAX Engine supports Python 3.12. Cross references: Furthermore, the MAX Engine does not support NVIDIA GPUs yet: https://docs.modular.com/engine/faq#what-hardware-is-currently-supported-by-max-engine GPU accelerated 'MAX Engine'-based images will be published as soon as the MAX Engine supports Python 3.12 and NVIDIA GPUs. Cross reference:
You are welcome. |
Yes. To build 'MAX Engine'-based images yourself: cd base
docker build \
--build-arg MODULAR_VERSION=0.8.0 \
--build-arg MODULAR_AUTH_KEY=<your-modular-auth-key> \
--build-arg MOJO_VERSION=24.4.0 \
--build-arg INSTALL_MAX=1 \
--build-arg PYTHON_VERSION=3.11.9 \
-t jupyterlab/mojo-max/base \
-f latest.Dockerfile . |
Building yourself will only work, if you install the latest Docker Engine from Docker's Please follow the instructions for your platform (Ubuntu): |
@itsgifnotjiff Can this be closed? |
Absolutely sir! I managed in another way. Sorry to clutter the issues. |
Tried to install it on
Linux NAME 5.15.0-50-generic #56-Ubuntu SMP Tue Sep 20 13:23:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
using
Docker version 24.0.6, build ed223bc
but I got toThe text was updated successfully, but these errors were encountered: