Skip to content

update runway repo for single_file #9323

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

Merged
merged 1 commit into from
Aug 30, 2024
Merged

update runway repo for single_file #9323

merged 1 commit into from
Aug 30, 2024

Conversation

yiyixuxu
Copy link
Collaborator

@yiyixuxu yiyixuxu commented Aug 29, 2024

use Lykon/dreamshaper-8 for now - will update once we made a decision
for #9322 (comment)

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@crapthings
Copy link

crapthings commented Aug 30, 2024

i still get the error

pip install git+https://github.com/huggingface/diffusers@46e47c9
 > [19/21] RUN python cache.py:                                                                                                                                                                                                                                               
2.165 The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.                                 
0it [00:00, ?it/s]                                                                                                                                                                                                                                                            
3.648 /opt/conda/lib/python3.10/site-packages/controlnet_aux/mediapipe_face/mediapipe_face_common.py:7: UserWarning: The module 'mediapipe' is not installed. The package will have limited functionality. Please install it using the command: pip install 'mediapipe'       
3.648   warnings.warn(                                                                                                                                                                                                                                                        
3.649 /opt/conda/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_5m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_5m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
3.649   return register_model(fn_wrapper)
3.649 /opt/conda/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_11m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_11m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
3.649   return register_model(fn_wrapper)
3.649 /opt/conda/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
3.649   return register_model(fn_wrapper)
3.649 /opt/conda/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_384 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_384. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
3.649   return register_model(fn_wrapper)
3.649 /opt/conda/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_512 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_512. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
3.649   return register_model(fn_wrapper)
40.53 cache model
40.53 Traceback (most recent call last):
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status
40.53     response.raise_for_status()
40.53   File "/opt/conda/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
40.53     raise HTTPError(http_error_msg, response=self)
40.53 requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/runwayml/stable-diffusion-v1-5/revision/main
40.53 
40.53 The above exception was the direct cause of the following exception:
40.53 
40.53 Traceback (most recent call last):
40.53   File "/workspace/cache.py", line 21, in <module>
40.53     pipe = StableDiffusionControlNetPipeline.from_single_file(
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
40.53     return fn(*args, **kwargs)
40.53   File "/opt/conda/lib/python3.10/site-packages/diffusers/loaders/single_file.py", line 403, in from_single_file
40.53     cached_model_config_path = _download_diffusers_model_config_from_hub(
40.53   File "/opt/conda/lib/python3.10/site-packages/diffusers/loaders/single_file.py", line 249, in _download_diffusers_model_config_from_hub
40.53     cached_model_path = snapshot_download(
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
40.53     return fn(*args, **kwargs)
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/_snapshot_download.py", line 238, in snapshot_download
40.53     raise api_call_error
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/_snapshot_download.py", line 169, in snapshot_download
40.53     repo_info = api.repo_info(repo_id=repo_id, repo_type=repo_type, revision=revision, token=token)
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
40.53     return fn(*args, **kwargs)
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2588, in repo_info
40.53     return method(
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
40.53     return fn(*args, **kwargs)
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2373, in model_info
40.53     hf_raise_for_status(r)
40.53   File "/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 352, in hf_raise_for_status
40.53     raise RepositoryNotFoundError(message, response) from e
40.53 huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-66d13ade-2e6d8a523b2f4328430f7bda;8a18eda1-eba2-4fbb-b665-97bccb17f32f)
40.53 
40.53 Repository Not Found for url: https://huggingface.co/api/models/runwayml/stable-diffusion-v1-5/revision/main.
40.53 Please make sure you specified the correct `repo_id` and `repo_type`.
40.53 If you are trying to access a private or gated repo, make sure you are authenticated.
40.53 Invalid username or password.

@yiyixuxu yiyixuxu merged commit d8a1663 into main Aug 30, 2024
18 checks passed
@yiyixuxu yiyixuxu deleted the single-file-no-runway branch August 30, 2024 18:51
@yiyixuxu
Copy link
Collaborator Author

@crapthings can you share your code?

asomoza pushed a commit that referenced this pull request Aug 30, 2024
@crapthings
Copy link

0.30.2 works

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

Successfully merging this pull request may close these issues.

4 participants