"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "83f9196cc44a612ef2bd5a0f721d08cb24885c1f"
Unverified Commit 21468337 authored by Anton Lozhkov's avatar Anton Lozhkov Committed by GitHub
Browse files

Add unit_divisor to downloads (#13468)

parent 63b90a51
......@@ -1518,6 +1518,7 @@ def http_get(url: str, temp_file: BinaryIO, proxies=None, resume_size=0, headers
progress = tqdm(
unit="B",
unit_scale=True,
unit_divisor=1024,
total=total,
initial=resume_size,
desc="Downloading",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment