Upload Lightricks_LTX-2.3_0.txt with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687```CODE: import torchfrom diffusers import DiffusionPipelinefrom diffusers.utils import load_image, export_to_video
# switch to "mps" for apple devicespipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-2.3", dtype=torch.bfloat16, device_map="cuda")pipe.to("cuda")
prompt = "A man with short gray hair plays a red electric guitar."image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png")
output = pipe(image=image, prompt=prompt).frames[0]export_to_video(output, "output.mp4")```
ERROR: Traceback (most recent call last): File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 720, in hf_raise_for_status response.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self)httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://huggingface.co/Lightricks/LTX-2.3/resolve/main/model_index.json'For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/tmp/Lightricks_LTX-2.3_0RLCuDo.py", line 28, in <module> pipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-2.3", dtype=torch.bfloat16, device_map="cuda") File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 853, in from_pretrained cached_folder = cls.download( pretrained_model_name_or_path, ...<14 lines>... **kwargs, ) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1636, in download config_file = hf_hub_download( pretrained_model_name, ...<5 lines>... token=token, ) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 982, in hf_hub_download return _hf_hub_download_to_cache_dir( # Destination ...<15 lines>... dry_run=dry_run, ) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1057, in _hf_hub_download_to_cache_dir (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ repo_id=repo_id, ^^^^^^^^^^^^^^^^ ...<9 lines>... relative_filename=relative_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1649, in _get_metadata_or_catch_error metadata = get_hf_file_metadata( url=url, ...<4 lines>... retry_on_errors=retry_on_errors, ) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1572, in get_hf_file_metadata response = _httpx_follow_relative_redirects_with_backoff( method="HEAD", url=url, headers=hf_headers, timeout=timeout, retry_on_errors=retry_on_errors ) File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 651, in _httpx_follow_relative_redirects_with_backoff hf_raise_for_status(response) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/2ad547ec1aa8a8a2/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 734, in hf_raise_for_status raise _format(RemoteEntryNotFoundError, message, response) from ehuggingface_hub.errors.RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-69aa8132-1bd7cfc87690aab801483d67;3e66cf37-ca51-4191-9c1f-4ee2f8fdb915)
Entry Not Found for url: https://huggingface.co/Lightricks/LTX-2.3/resolve/main/model_index.json.Lightricks_LTX-2.3_0.txtAdded+87