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
2700ba66
"vscode:/vscode.git/clone" did not exist on "4f403ea8994ee8785aa73957c827938e74cf0fe3"
Unverified
Commit
2700ba66
authored
Sep 15, 2022
by
Sylvain Gugger
Committed by
GitHub
Sep 15, 2022
Browse files
Move cache: expand error message (#19051)
parent
2322eb8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/transformers/utils/hub.py
src/transformers/utils/hub.py
+3
-3
No files found.
src/transformers/utils/hub.py
View file @
2700ba66
...
...
@@ -1128,9 +1128,9 @@ if cache_version < 1:
except
Exception
as
e
:
trace
=
"
\n
"
.
join
(
traceback
.
format_tb
(
e
.
__traceback__
))
logger
.
error
(
f
"There was a problem when trying to move your cache:
\n\n
{
trace
}
\n
\n
Please file an issue at
"
"https://github.com/huggingface/transformers/issues/new/choose and copy paste this whole
message and we
"
"will do our best to help."
f
"There was a problem when trying to move your cache:
\n\n
{
trace
}
\n
{
e
.
__class__
.
__name__
}
:
{
e
}
\n\n
Please
"
"
file an issue at
https://github.com/huggingface/transformers/issues/new/choose and copy paste this whole "
"
message and we
will do our best to help."
)
try
:
...
...
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