ariG23498 HF Staff commited on
Commit
c557f3a
·
verified ·
1 Parent(s): ad1e04f

Upload robbyant_lingbot-world-base-cam_0.txt with huggingface_hub

Browse files
robbyant_lingbot-world-base-cam_0.txt ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ import torch
3
+ from diffusers import DiffusionPipeline
4
+ from diffusers.utils import load_image, export_to_video
5
+
6
+ # switch to "mps" for apple devices
7
+ pipe = DiffusionPipeline.from_pretrained("robbyant/lingbot-world-base-cam", dtype=torch.bfloat16, device_map="cuda")
8
+ pipe.to("cuda")
9
+
10
+ prompt = "A man with short gray hair plays a red electric guitar."
11
+ image = load_image(
12
+ "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
13
+ )
14
+
15
+ output = pipe(image=image, prompt=prompt).frames[0]
16
+ export_to_video(output, "output.mp4")
17
+ ```
18
+
19
+ ERROR:
20
+ Traceback (most recent call last):
21
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 657, in hf_raise_for_status
22
+ response.raise_for_status()
23
+ ~~~~~~~~~~~~~~~~~~~~~~~~~^^
24
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status
25
+ raise HTTPStatusError(message, request=request, response=self)
26
+ httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://huggingface.co/robbyant/lingbot-world-base-cam/resolve/main/model_index.json'
27
+ For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
28
+
29
+ The above exception was the direct cause of the following exception:
30
+
31
+ Traceback (most recent call last):
32
+ File "/tmp/robbyant_lingbot-world-base-cam_04eeqG3.py", line 28, in <module>
33
+ pipe = DiffusionPipeline.from_pretrained("robbyant/lingbot-world-base-cam", dtype=torch.bfloat16, device_map="cuda")
34
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
35
+ return fn(*args, **kwargs)
36
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained
37
+ cached_folder = cls.download(
38
+ pretrained_model_name_or_path,
39
+ ...<14 lines>...
40
+ **kwargs,
41
+ )
42
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
43
+ return fn(*args, **kwargs)
44
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1605, in download
45
+ config_file = hf_hub_download(
46
+ pretrained_model_name,
47
+ ...<5 lines>...
48
+ token=token,
49
+ )
50
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
51
+ return fn(*args, **kwargs)
52
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1024, in hf_hub_download
53
+ return _hf_hub_download_to_cache_dir(
54
+ # Destination
55
+ ...<15 lines>...
56
+ dry_run=dry_run,
57
+ )
58
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1099, in _hf_hub_download_to_cache_dir
59
+ (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
60
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61
+ repo_id=repo_id,
62
+ ^^^^^^^^^^^^^^^^
63
+ ...<9 lines>...
64
+ relative_filename=relative_filename,
65
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
+ )
67
+ ^
68
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1691, in _get_metadata_or_catch_error
69
+ metadata = get_hf_file_metadata(
70
+ url=url,
71
+ ...<4 lines>...
72
+ retry_on_errors=retry_on_errors,
73
+ )
74
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
75
+ return fn(*args, **kwargs)
76
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1614, in get_hf_file_metadata
77
+ response = _httpx_follow_relative_redirects(
78
+ method="HEAD", url=url, headers=hf_headers, timeout=timeout, retry_on_errors=retry_on_errors
79
+ )
80
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 309, in _httpx_follow_relative_redirects
81
+ hf_raise_for_status(response)
82
+ ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
83
+ File "/tmp/.cache/uv/environments-v2/2b1a0b324ef7b5cd/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 671, in hf_raise_for_status
84
+ raise _format(RemoteEntryNotFoundError, message, response) from e
85
+ huggingface_hub.errors.RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-697b0bb2-18ad6a740b1bbd8f1ec90e82;6bd2f499-c62a-4a4f-82b8-f976fbc21842)
86
+
87
+ Entry Not Found for url: https://huggingface.co/robbyant/lingbot-world-base-cam/resolve/main/model_index.json.