ClearFuzz
ClearFuzz
MModular
Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
I also tried the location the message mentioned the "binary is in", that didn't work either.
16 replies
MModular
Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
No description
16 replies
MModular
Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
++++++++++++++ ++++++++++++++ Here's the text of the dockerfile that built the Ubuntu server: Use the official Ubuntu 24.04 LTS as the base image FROM ubuntu:22.04 Set environment variables to prevent interactive prompts during package installations ENV DEBIAN_FRONTEND=noninteractive Update package list and install necessary dependencies RUN apt-get update && \ apt-get install -y \ software-properties-common \ wget \ curl \ git \ build-essential \ libssl-dev \ zlib1g-dev \ libbz2-dev \ libreadline-dev \ libsqlite3-dev \ libffi-dev \ libncurses5-dev \ libncursesw5-dev \ xz-utils \ tk-dev \ liblzma-dev \ lzma \ lzma-dev \ ca-certificates && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* Install Python 3.12 RUN apt-get update && \ apt-get install -y software-properties-common && \ add-apt-repository ppa:deadsnakes/ppa && \ apt-get update && \ apt-get install -y \ python3.12 \ python3.12-distutils \ python3.12-venv \ python3.12-dev && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* Upgrade pip for Python 3.12 RUN python3.12 -m ensurepip && \ python3.12 -m pip install --upgrade pip Install PyTorch compatible with Python 3.12 RUN python3.12 -m pip install torch --index-url https://download.pytorch.org/whl/cpu Install LangChain RUN python3.12 -m pip install langchain Install Hugging Face Transformers RUN python3.12 -m pip install transformers Set the working directory in the container WORKDIR /app Make port 80 available to the world outside this container EXPOSE 80 Set the default command to keep the container running CMD ["tail", "-f", "/dev/null"]
16 replies
MModular
Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
Ubuntu server was created via a dockerfile loading Ubuntu 22.04, Python 3.12, PyTorch, and LangChain, no errors in the server build. And MAX / Mojo was installed "clean" on top of that freshly minted Ubuntu.
16 replies
MModular
Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
Where MAX/mojo are installed is a Ubuntu 22.04 within Docker - and Docker is running on a Windows 10 laptop. The first step is curl -ssL https://magic.modular.com/c5d551.......... then the next sub-step "Then run the source command printed in your terminal." EFFECTIVELY THE SAME step for MAX and Mojo says it can't find the "MAGIC" path it needs from the step before.
16 replies
MModular
Created by f.geraci on 11/12/2024 in #questions
Install Mojo/Magic
MAX install -- second step ---- "then run the source command that's printed in your terminal" when I try to run that exact command, quadruple checked to make sure I got it right it says the path is not found / folder is not found I poked around for quite a while, and chatted with ChatGPT for quite a bit trying everything ChatGPT suggested for probably an hour, at least a dozen different hacks at it. No go. So I'm only about a third of the way into the MAX install, since it can't do the rest of it without knowing where the path to MAGIC is. I repeated that MAGIC install three more times, too, after I tried everything else, so screwing up the first step is not the issue, either. And I see people saying Conda and MAGIC can step on each other. Are my folder paths user specific instead of organization specific? (thought) Or I'm not logged into somewhere I need to log into? THOUGHTS? MAX and Mojo are kinda useless unless I can get past the very first step. Thanks in advance !!!! For my pride, hopefully I'm not missing something amazingly simple. [[[ EDIT - the MAGIC Mojo install is frozen at the first step also. ]]]
16 replies