Local InstantMesh Tiger

Patrick Devaney · Intermediate ·📰 AI News & Updates ·1y ago

Key Takeaways

This video teaches how to create and activate a conda environment for InstantMesh using minconda prompt in Windows

Original Description

Following the instructions in this repo https:// github.com/TencentARC/InstantMesh very closely, I created and activated a conda environment using minconda prompt in windows. Then separately cloned the repo in C:// using git bash. I changed directory to the root of the cloned repo in miniconda and did the following: conda create --name instantmesh python=3.10 conda activate instantmesh pip install -U pip # Ensure Ninja is installed conda install Ninja # Install the correct version of CUDA conda install cuda -c nvidia/label/cuda-12.1.0 # Install PyTorch and xformers # You may need to install another xformers version if you use a different PyTorch version pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https:// download.pytorch.org/whl/cu121 pip install xformers==0.0.22.post7 #then download and put this triton wheel in the root of the InstantMesh repo https:// github.com/PrashantSaikia/Triton-for-Windows/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl # Install other requirements pip install -r requirements.txt In the same minconda command prompt, update huggingface hub. This makes a mismatch between huggingface hub and tokenizers, but tokenizers is not required since there is no text to 3d model generation. Now run app.py in the prompt then it will download several models and diffusion models. I changed the default port to 7860 in the code for app.py. Once the server runs, copy this to your browser url bar: http:// 127.0.0.1:7860/ When you want to run it locally, just activate the conda environment through miniconda command prompt, cd to the directory containing the repo i.e. 'path/to/your/InstantMesh', and run python app.py . I hope this video helps as InstantMesh is my favorite 3d reconstruction model. It has applications in the game dev world, architecture, movies, and other 3d modeling use cases. Cheers!
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Nokia Q2 profit climbs 18% as AI data-centre demand doubles cloud sales
Nokia's Q2 profit increases 18% due to high demand for AI data centers, learn how AI-driven cloud sales can impact business growth
The Next Web AI
📰
🚀 16 Days, 5 Frontier AI Models: How to Survive the AI Release Firehose
Learn how to keep up with the rapid release of new AI models and platforms, and what it means for the future of AI development
Dev.to · Muhammad Usman Awan
📰
NVIDIA AI Supercomputer Comes Online at Naval Postgraduate School
NVIDIA's AI supercomputer is now online at the Naval Postgraduate School, enabling students and researchers to leverage powerful AI capabilities for various applications
NVIDIA AI Blog
📰
After shocking quarter, IBM insists that AI isn’t killing the mainframe
IBM's CEO attributes poor mainframe sales to AI disrupting corporate hardware budgets, but insists AI isn't killing the mainframe
TechCrunch AI
Up next
The Most Important Conversation in AI Right Now
Matthew Berman
Watch →