Upload iitolstykh_VIBE-Image-Edit_0.txt with huggingface_hub
Browse files12345678910111213141516171819202122232425262728293031323334353637383940```CODE: import torchfrom diffusers import DiffusionPipelinefrom diffusers.utils import load_image
# switch to "mps" for apple devicespipe = DiffusionPipeline.from_pretrained("iitolstykh/VIBE-Image-Edit", dtype=torch.bfloat16, device_map="cuda")
prompt = "Turn this cat into a dog"input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
image = pipe(image=input_image, prompt=prompt).images[0]```
ERROR: Traceback (most recent call last): File "/tmp/iitolstykh_VIBE-Image-Edit_0ODkKht.py", line 28, in <module> pipe = DiffusionPipeline.from_pretrained("iitolstykh/VIBE-Image-Edit", dtype=torch.bfloat16, device_map="cuda") File "/tmp/.cache/uv/environments-v2/b1ef3dc1778ed83e/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/b1ef3dc1778ed83e/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained cached_folder = cls.download( pretrained_model_name_or_path, ...<14 lines>... **kwargs, ) File "/tmp/.cache/uv/environments-v2/b1ef3dc1778ed83e/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/b1ef3dc1778ed83e/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1637, in download custom_components, folder_names = _get_custom_components_and_folders( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ pretrained_model_name, config_dict, filenames, variant ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/b1ef3dc1778ed83e/lib/python3.13/site-packages/diffusers/pipelines/pipeline_loading_utils.py", line 1071, in _get_custom_components_and_folders raise ValueError( f"{candidate_file} as defined in `model_index.json` does not exist in {pretrained_model_name} and is not a module in 'diffusers/pipelines'." )ValueError: transformer/vibe.transformer.vibe_sana_editing.py as defined in `model_index.json` does not exist in iitolstykh/VIBE-Image-Edit and is not a module in 'diffusers/pipelines'.iitolstykh_VIBE-Image-Edit_0.txtAdded+40