We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 446ea44 commit 5b1c1e6Copy full SHA for 5b1c1e6
src/huggingface_hub/commands/lfs.py
@@ -189,6 +189,18 @@ def run(self):
189
chunk_size = int(header.pop("chunk_size"))
190
presigned_urls: List[str] = list(header.values())
191
192
+ # Send a "started" progress event to allow other workers to start.
193
+ # Otherwise they're delayed until first "progress" event is reported,
194
+ # i.e. after the first 5GB by default (!)
195
+ write_msg(
196
+ {
197
+ "event": "progress",
198
+ "oid": oid,
199
+ "bytesSoFar": 1,
200
+ "bytesSinceLast": 0,
201
+ }
202
+ )
203
+
204
parts = []
205
for i, presigned_url in enumerate(presigned_urls):
206
with FileSlice(
0 commit comments