Upload ByteDance-Seed_Stable-DiffCoder-8B-Instruct_0.txt with huggingface_hub
Browse files
ByteDance-Seed_Stable-DiffCoder-8B-Instruct_0.txt
CHANGED
|
@@ -11,213 +11,34 @@ pipe(messages)
|
|
| 11 |
|
| 12 |
ERROR:
|
| 13 |
Traceback (most recent call last):
|
| 14 |
-
File "/tmp
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/
|
| 28 |
-
|
| 29 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
raise to_exc(exc) from exc
|
| 46 |
-
httpcore.ReadTimeout: The read operation timed out
|
| 47 |
-
|
| 48 |
-
The above exception was the direct cause of the following exception:
|
| 49 |
-
|
| 50 |
-
Traceback (most recent call last):
|
| 51 |
-
File "/tmp/ByteDance-Seed_Stable-DiffCoder-8B-Instruct_0n4qxnm.py", line 26, in <module>
|
| 52 |
-
pipe = pipeline("text-generation", model="ByteDance-Seed/Stable-DiffCoder-8B-Instruct", trust_remote_code=True)
|
| 53 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 836, in pipeline
|
| 54 |
-
model = load_model(
|
| 55 |
-
adapter_path if adapter_path is not None else model,
|
| 56 |
-
...<4 lines>...
|
| 57 |
-
**model_kwargs,
|
| 58 |
-
)
|
| 59 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/pipelines/base.py", line 232, in load_model
|
| 60 |
-
model = model_class.from_pretrained(model, **kwargs)
|
| 61 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 365, in from_pretrained
|
| 62 |
-
return model_class.from_pretrained(
|
| 63 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 64 |
-
pretrained_model_name_or_path, *model_args, config=config, **hub_kwargs, **kwargs
|
| 65 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 66 |
-
)
|
| 67 |
-
^
|
| 68 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4038, in from_pretrained
|
| 69 |
-
checkpoint_files, sharded_metadata = _get_resolved_checkpoint_files(
|
| 70 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 71 |
-
pretrained_model_name_or_path=pretrained_model_name_or_path,
|
| 72 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 73 |
-
...<6 lines>...
|
| 74 |
-
transformers_explicit_filename=getattr(config, "transformers_weights", None),
|
| 75 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 76 |
-
)
|
| 77 |
-
^
|
| 78 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/modeling_utils.py", line 760, in _get_resolved_checkpoint_files
|
| 79 |
-
checkpoint_files, sharded_metadata = get_checkpoint_shard_files(
|
| 80 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 81 |
-
pretrained_model_name_or_path,
|
| 82 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 83 |
-
...<9 lines>...
|
| 84 |
-
_commit_hash=commit_hash,
|
| 85 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 86 |
-
)
|
| 87 |
-
^
|
| 88 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/utils/hub.py", line 869, in get_checkpoint_shard_files
|
| 89 |
-
cached_filenames = cached_files(
|
| 90 |
-
pretrained_model_name_or_path,
|
| 91 |
-
...<9 lines>...
|
| 92 |
-
_commit_hash=_commit_hash,
|
| 93 |
-
)
|
| 94 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/utils/hub.py", line 507, in cached_files
|
| 95 |
-
raise e
|
| 96 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/utils/hub.py", line 433, in cached_files
|
| 97 |
-
snapshot_download(
|
| 98 |
-
~~~~~~~~~~~~~~~~~^
|
| 99 |
-
path_or_repo_id,
|
| 100 |
-
^^^^^^^^^^^^^^^^
|
| 101 |
-
...<8 lines>...
|
| 102 |
-
local_files_only=local_files_only,
|
| 103 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 104 |
-
)
|
| 105 |
-
^
|
| 106 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
|
| 107 |
-
return fn(*args, **kwargs)
|
| 108 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/_snapshot_download.py", line 449, in snapshot_download
|
| 109 |
-
thread_map(
|
| 110 |
-
~~~~~~~~~~^
|
| 111 |
-
_inner_hf_hub_download,
|
| 112 |
-
^^^^^^^^^^^^^^^^^^^^^^^
|
| 113 |
-
...<3 lines>...
|
| 114 |
-
tqdm_class=tqdm_class,
|
| 115 |
-
^^^^^^^^^^^^^^^^^^^^^^
|
| 116 |
-
)
|
| 117 |
-
^
|
| 118 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/tqdm/contrib/concurrent.py", line 69, in thread_map
|
| 119 |
-
return _executor_map(ThreadPoolExecutor, fn, *iterables, **tqdm_kwargs)
|
| 120 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/tqdm/contrib/concurrent.py", line 51, in _executor_map
|
| 121 |
-
return list(tqdm_class(ex.map(fn, *iterables, chunksize=chunksize), **kwargs))
|
| 122 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/tqdm/std.py", line 1181, in __iter__
|
| 123 |
-
for obj in iterable:
|
| 124 |
-
^^^^^^^^
|
| 125 |
-
File "/usr/lib/python3.13/concurrent/futures/_base.py", line 619, in result_iterator
|
| 126 |
-
yield _result_or_cancel(fs.pop())
|
| 127 |
-
~~~~~~~~~~~~~~~~~^^^^^^^^^^
|
| 128 |
-
File "/usr/lib/python3.13/concurrent/futures/_base.py", line 317, in _result_or_cancel
|
| 129 |
-
return fut.result(timeout)
|
| 130 |
-
~~~~~~~~~~^^^^^^^^^
|
| 131 |
-
File "/usr/lib/python3.13/concurrent/futures/_base.py", line 456, in result
|
| 132 |
-
return self.__get_result()
|
| 133 |
-
~~~~~~~~~~~~~~~~~^^
|
| 134 |
-
File "/usr/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
|
| 135 |
-
raise self._exception
|
| 136 |
-
File "/usr/lib/python3.13/concurrent/futures/thread.py", line 59, in run
|
| 137 |
-
result = self.fn(*self.args, **self.kwargs)
|
| 138 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/_snapshot_download.py", line 429, in _inner_hf_hub_download
|
| 139 |
-
hf_hub_download( # type: ignore
|
| 140 |
-
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
|
| 141 |
-
repo_id,
|
| 142 |
-
^^^^^^^^
|
| 143 |
-
...<14 lines>...
|
| 144 |
-
dry_run=dry_run,
|
| 145 |
-
^^^^^^^^^^^^^^^^
|
| 146 |
-
)
|
| 147 |
-
^
|
| 148 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
|
| 149 |
-
return fn(*args, **kwargs)
|
| 150 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1024, in hf_hub_download
|
| 151 |
-
return _hf_hub_download_to_cache_dir(
|
| 152 |
-
# Destination
|
| 153 |
-
...<15 lines>...
|
| 154 |
-
dry_run=dry_run,
|
| 155 |
-
)
|
| 156 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1240, in _hf_hub_download_to_cache_dir
|
| 157 |
-
_download_to_tmp_and_move(
|
| 158 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 159 |
-
incomplete_path=Path(blob_path + ".incomplete"),
|
| 160 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 161 |
-
...<8 lines>...
|
| 162 |
-
tqdm_class=tqdm_class,
|
| 163 |
-
^^^^^^^^^^^^^^^^^^^^^^
|
| 164 |
-
)
|
| 165 |
-
^
|
| 166 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1864, in _download_to_tmp_and_move
|
| 167 |
-
xet_get(
|
| 168 |
-
~~~~~~~^
|
| 169 |
-
incomplete_path=incomplete_path,
|
| 170 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 171 |
-
...<4 lines>...
|
| 172 |
-
tqdm_class=tqdm_class,
|
| 173 |
-
^^^^^^^^^^^^^^^^^^^^^^
|
| 174 |
-
)
|
| 175 |
-
^
|
| 176 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 552, in xet_get
|
| 177 |
-
connection_info = refresh_xet_connection_info(file_data=xet_file_data, headers=headers)
|
| 178 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
|
| 179 |
-
return fn(*args, **kwargs)
|
| 180 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/utils/_xet.py", line 122, in refresh_xet_connection_info
|
| 181 |
-
return _fetch_xet_connection_info_with_url(file_data.refresh_route, headers)
|
| 182 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
|
| 183 |
-
return fn(*args, **kwargs)
|
| 184 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/huggingface_hub/utils/_xet.py", line 203, in _fetch_xet_connection_info_with_url
|
| 185 |
-
resp = get_session().get(headers=headers, url=url, params=params)
|
| 186 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/httpx/_client.py", line 1053, in get
|
| 187 |
-
return self.request(
|
| 188 |
-
~~~~~~~~~~~~^
|
| 189 |
-
"GET",
|
| 190 |
-
^^^^^^
|
| 191 |
-
...<7 lines>...
|
| 192 |
-
extensions=extensions,
|
| 193 |
-
^^^^^^^^^^^^^^^^^^^^^^
|
| 194 |
-
)
|
| 195 |
-
^
|
| 196 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/httpx/_client.py", line 825, in request
|
| 197 |
-
return self.send(request, auth=auth, follow_redirects=follow_redirects)
|
| 198 |
-
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 199 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/httpx/_client.py", line 914, in send
|
| 200 |
-
response = self._send_handling_auth(
|
| 201 |
-
request,
|
| 202 |
-
...<2 lines>...
|
| 203 |
-
history=[],
|
| 204 |
-
)
|
| 205 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/httpx/_client.py", line 942, in _send_handling_auth
|
| 206 |
-
response = self._send_handling_redirects(
|
| 207 |
-
request,
|
| 208 |
-
follow_redirects=follow_redirects,
|
| 209 |
-
history=history,
|
| 210 |
-
)
|
| 211 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
|
| 212 |
-
response = self._send_single_request(request)
|
| 213 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/httpx/_client.py", line 1014, in _send_single_request
|
| 214 |
-
response = transport.handle_request(request)
|
| 215 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/httpx/_transports/default.py", line 249, in handle_request
|
| 216 |
-
with map_httpcore_exceptions():
|
| 217 |
-
~~~~~~~~~~~~~~~~~~~~~~~^^
|
| 218 |
-
File "/usr/lib/python3.13/contextlib.py", line 162, in __exit__
|
| 219 |
-
self.gen.throw(value)
|
| 220 |
-
~~~~~~~~~~~~~~^^^^^^^
|
| 221 |
-
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
|
| 222 |
-
raise mapped_exc(message) from exc
|
| 223 |
-
httpx.ReadTimeout: The read operation timed out
|
|
|
|
| 11 |
|
| 12 |
ERROR:
|
| 13 |
Traceback (most recent call last):
|
| 14 |
+
File "/tmp/ByteDance-Seed_Stable-DiffCoder-8B-Instruct_0iWaOu2.py", line 30, in <module>
|
| 15 |
+
pipe(messages)
|
| 16 |
+
~~~~^^^^^^^^^^
|
| 17 |
+
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/pipelines/text_generation.py", line 293, in __call__
|
| 18 |
+
return super().__call__(text_inputs, **kwargs)
|
| 19 |
+
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
|
| 20 |
+
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1274, in __call__
|
| 21 |
+
return self.run_single(inputs, preprocess_params, forward_params, postprocess_params)
|
| 22 |
+
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 23 |
+
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1281, in run_single
|
| 24 |
+
model_outputs = self.forward(model_inputs, **forward_params)
|
| 25 |
+
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1173, in forward
|
| 26 |
+
model_outputs = self._forward(model_inputs, **forward_params)
|
| 27 |
+
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/transformers/pipelines/text_generation.py", line 397, in _forward
|
| 28 |
+
output = self.model.generate(input_ids=input_ids, attention_mask=attention_mask, **generate_kwargs)
|
| 29 |
+
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
|
| 30 |
+
return func(*args, **kwargs)
|
| 31 |
+
File "/tmp/.cache/huggingface/modules/transformers_modules/ByteDance_hyphen_Seed/Stable_hyphen_DiffCoder_hyphen_8B_hyphen_Instruct/d0808fa34fa03de9163a29cabfc7107294a535a8/modeling_seed_diffcoder.py", line 24, in generate
|
| 32 |
+
output_ids, nfe = generate_block(
|
| 33 |
+
~~~~~~~~~~~~~~^
|
| 34 |
+
model=self,
|
| 35 |
+
^^^^^^^^^^^
|
| 36 |
+
prompt=prompt,
|
| 37 |
+
^^^^^^^^^^^^^^
|
| 38 |
+
**kwargs,
|
| 39 |
+
^^^^^^^^^
|
| 40 |
+
)
|
| 41 |
+
^
|
| 42 |
+
File "/tmp/.cache/uv/environments-v2/d1df88e7f5c3f72a/lib/python3.13/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
|
| 43 |
+
return func(*args, **kwargs)
|
| 44 |
+
TypeError: generate_block() got an unexpected keyword argument 'attention_mask'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|