Closed SoftologyPro closed 2 weeks ago
You can try reinstall gradio, before: pip cache purge
cf same issue
You can try reinstall gradio, before: pip cache purge
not working.
python run.py demo_files/examples/chair1.png --output-dir output/ get same feedback
the slangtroch dont have mac version, it has both windows and unix library, but lacks mac verison, that's why it fails on my mac
I am running this on Windows.
I have the same issue on windows, I fix it by installing the right version of pytorch according to my cuda version.
Same issue on a mac 1pro max
There's no mac support yet.
OK, got it working here. For other Windows users who want to run locally, here is an install.bat that you save and run inside an empty diretcory. The directory cannot contain spaces.
@echo off
echo *** %time% *** Deleting stable-fast-3d directory if it exists
if exist stable-fast-3d\. rd /S /Q stable-fast-3d
echo *** %time% *** Cloning stable-fast-3d repository
git clone https://github.com/Stability-AI/stable-fast-3d
cd stable-fast-3d
echo *** %time% *** Creating venv
python -m venv venv
echo *** %time% *** Activating venv
call venv\scripts\activate.bat
echo *** %time% *** Installing requirments
python -m pip install --upgrade pip
pip install wheel
pip install matplotlib==3.9.0
pip install -r requirements.txt
pip install -r requirements-demo.txt
pip install --upgrade huggingface_hub
echo *** %time% *** Patching xformers
pip uninstall -y xformers
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts xformers==0.0.27.post2 --index-url https://download.pytorch.org/whl/cu121
echo *** %time% *** Installing GPU torch
pip uninstall -y torch
pip uninstall -y torch
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts torch==2.4.0+cu121 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
call venv\scripts\deactivate.bat
cd ..
echo *** %time% *** Finished stable-fast-3d install
echo.
echo Check the stats for any errors. Do not assume it worked.
pause
Once installed, save this run.bat in the same directory as install.bat, edit your hugging face read token into line 5, and run it to start the gradio UI.
@echo off
cls
cd stable-fast-3d
call venv\scripts\activate.bat
huggingface-cli login --token <PUT YOUR HUGGINGFACE READ TOKEN HERE>
python -X utf8 gradio_app.py
call venv\scripts\deactivate.bat
cd..
adding X utf8 before the gradio for me was key to making this work, thank you
We've recently replaced the baker from slang to a native CUDA/CPP/Metal one. Please pull the changes and test again.
When I start gradio_app.py I get this
Any ideas?