Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
59b123bc
"...git@developer.sourcefind.cn:OpenDAS/llama.cpp.git" did not exist on "97ef6ff8b3ad0b485173a99a7b1960536bc22437"
Commit
59b123bc
authored
Dec 23, 2019
by
thomwolf
Browse files
fix tqdm logging level
parent
ba2378ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/file_utils.py
src/transformers/file_utils.py
+1
-1
No files found.
src/transformers/file_utils.py
View file @
59b123bc
...
@@ -292,7 +292,7 @@ def http_get(url, temp_file, proxies=None, resume_size=0, user_agent=None):
...
@@ -292,7 +292,7 @@ def http_get(url, temp_file, proxies=None, resume_size=0, user_agent=None):
total
=
total
,
total
=
total
,
initial
=
resume_size
,
initial
=
resume_size
,
desc
=
"Downloading"
,
desc
=
"Downloading"
,
disable
=
bool
(
logger
.
level
<
=
logging
.
INFO
),
disable
=
bool
(
logger
.
getEffectiveLevel
()
=
=
logging
.
NOTSET
),
)
)
for
chunk
in
response
.
iter_content
(
chunk_size
=
1024
):
for
chunk
in
response
.
iter_content
(
chunk_size
=
1024
):
if
chunk
:
# filter out keep-alive new chunks
if
chunk
:
# filter out keep-alive new chunks
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment