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

Windows support #114

Open
Mazzaferno opened this issue Nov 13, 2024 · 1 comment
Open

Windows support #114

Mazzaferno opened this issue Nov 13, 2024 · 1 comment

Comments

@Mazzaferno
Copy link

Mazzaferno commented Nov 13, 2024

Hi All,

I've followed the instructions for windows users exactly as stated, the environment setup seems to have gone well, no errors at all.
(used the install_windows_win_py311_cu121.bat)

but when I try to run the command: python app/gradio_local.py --port 7860
I get the following error

Traceback (most recent call last):
File "Z:\conda_envs\u3D\app\gradio_local.py", line 20, in
from app.gradio_3dgen import create_ui as create_3d_ui
File "Z:\conda_envs\u3D\app\gradio_3dgen.py", line 6, in
from app.custom_models.mvimg_prediction import run_mvprediction
File "Z:\conda_envs\u3D\app\custom_models\mvimg_prediction.py", line 8, in
from app.custom_models.utils import load_pipeline
File "Z:\conda_envs\u3D\app\custom_models\utils.py", line 6, in
from custum_3d_diffusion import modules
File "Z:\conda_envs\u3D\custum_3d_diffusion\modules.py", line 14, in
from custum_3d_diffusion.trainings import base, image2mvimage_trainer, image2image_trainer
File "Z:\conda_envs\u3D\custum_3d_diffusion\trainings\base.py", line 9, in
from diffusers.utils import make_image_grid
File "Z:\conda_envs\uni3d\Lib\site-packages\diffusers_init_.py", line 5, in
from .utils import (
File "Z:\conda_envs\uni3d\Lib\site-packages\diffusers\utils_init_.py", line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "Z:\conda_envs\uni3d\Lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in
from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (Z:\conda_envs\uni3d\Lib\site-packages\huggingface_hub_init_.py)

I've tried installing different versions of Huggingface_Hub but this has just caused other issues to occur, I assume version 0.26.2 is the correct one to use.

anyone else have this working on windows currently?

My environment:

Anaconda3
Python 3.11
Windows 10
3070Ti

@Whylickspittle
Copy link

pip install huggingface_hub==0.24.7
or
pip install huggingface_hub==0.25.0
maybe u need to downgrade the package huggingface_hub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants