8000 OSError: Error no file named model_index.json · Issue #15 · thu-ml/RIFLEx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

OSError: Error no file named model_index.json #15

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

Open
MehmetcanTozlu opened this issue Mar 17, 2025 · 4 comments
Open

OSError: Error no file named model_index.json #15

MehmetcanTozlu opened this issue Mar 17, 2025 · 4 comments

Comments

@MehmetcanTozlu
Copy link
MehmetcanTozlu commented Mar 17, 2025

parser.add_argument('--model_id', type=str, help='huggingface path for models', default="/home/wrusr/genai_workspace/hunyuan_env/workspace/pretrained/Hunyuan-RIFLEx-diffusers")

run command:

python /home/wrusr/genai_workspace/hunyuan_env/workspace/RIFLEx/hunyuanvideo.py --finetune

Error:

OSError: Error no file named model_index.json found in directory /home/wrusr/genai_workspace/hunyuan_env/workspace/pretrained/Hunyuan-RIFLEx-diffusers.

How can I solve it?

@zhuhz22
Copy link
Collaborator
zhuhz22 commented Mar 17, 2025

Hi @MehmetcanTozlu ,thank you for your attention to our work! What version of diffusers are you using? And have you tried not downloading the model locally, but instead directly using the code we provided?

@MehmetcanTozlu
Copy link
Author

Thank you for your work.

My diffusers version 0.33.0.dev0.
I'm using HunyuanVideo-RIFLEx and model at my local.
My gpu A6000 Ada Gen. but when I use normal Hunyuan it gives out of memory error.

@zhuhz22
Copy link
Collaborator
zhuhz22 commented Mar 18, 2025

I can't reproduce this issue in my local environment. May you try installing the environment using the requirements.txt we provided (e.g., diffusers==0.32.2) and check if the model you downloaded locally is intact?

@MehmetcanTozlu
Copy link
Author

Sorry, I wrote late.

I upgraded diffusers version. This pip list:

accelerate 1.5.1
annotated-types 0.7.0
anyio 4.9.0
bitsandbytes 0.45.3
certifi 2025.1.31
charset-normalizer 3.4.1
decorator 5.2.1
diffusers 0.32.2
distro 1.9.0
exceptiongroup 1.2.2
filelock 3.18.0
fsspec 2025.3.0
ftfy 6.3.1
h11 0.14.0
httpcore 1.0.7
httpx 0.28.1
huggingface-hub 0.29.0
idna 3.10
imageio 2.37.0
imageio-ffmpeg 0.6.0
importlib_metadata 8.6.1
Jinja2 3.1.6
jiter 0.9.0
MarkupSafe 3.0.2
moviepy 2.1.2
mpmath 1.3.0
networkx 3.4.2
numpy 1.26.0
nvidia-cublas-cu12 12.4.5.8
nvidia-cuda-cupti-cu12 12.4.127
nvidia-cuda-nvrtc-cu12 12.4.127
nvidia-cuda-runtime-cu12 12.4.127
nvidia-cudnn-cu12 9.1.0.70
nvidia-cufft-cu12 11.2.1.3
nvidia-curand-cu12 10.3.5.147
nvidia-cusolver-cu12 11.6.1.9
nvidia-cusparse-cu12 12.3.1.170
nvidia-cusparselt-cu12 0.6.2
nvidia-nccl-cu12 2.21.5
nvidia-nvjitlink-cu12 12.4.127
nvidia-nvtx-cu12 12.4.127
openai 1.66.3
opencv-python 4.10.0.84
packaging 24.2
peft 0.14.0
pillow 10.4.0
pip 22.0.2
proglog 0.1.10
psutil 7.0.0
pydantic 2.10.6
pydantic_core 2.27.2
python-dotenv 1.0.1
PyYAML 6.0.2
regex 2024.11.6
requests 2.32.3
safetensors 0.5.3
scikit-video 1.1.11
scipy 1.15.2
sentencepiece 0.2.0
setuptools 59.6.0
sniffio 1.3.1
sympy 1.13.1
tokenizers 0.21.1
torch 2.6.0
torchvision 0.21.0
tqdm 4.67.1
transformers 4.48.0
triton 3.2.0
typing_extensions 4.12.2
urllib3 2.3.0
wcwidth 0.2.13
zipp 3.21.0

but I'm having same problem:

OSError: Error no file named model_index.json found in directory /home/wrusr/genai_workspace/hunyuan_env/workspace/pretrained/Hunyuan-RIFLEx-diffusers.

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
0