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
8b3db33a
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "4a6024921fa142f28e8d0034ae28693713b3bfd0"
Unverified
Commit
8b3db33a
authored
Feb 20, 2023
by
Sylvain Gugger
Committed by
GitHub
Feb 20, 2023
Browse files
Pass along revision in dynamic code fetch (#21698)
parent
4194e5f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/dynamic_module_utils.py
src/transformers/dynamic_module_utils.py
+1
-0
No files found.
src/transformers/dynamic_module_utils.py
View file @
8b3db33a
...
@@ -245,6 +245,7 @@ def get_cached_module_file(
...
@@ -245,6 +245,7 @@ def get_cached_module_file(
resume_download
=
resume_download
,
resume_download
=
resume_download
,
local_files_only
=
local_files_only
,
local_files_only
=
local_files_only
,
use_auth_token
=
use_auth_token
,
use_auth_token
=
use_auth_token
,
revision
=
revision
,
)
)
except
EnvironmentError
:
except
EnvironmentError
:
...
...
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