Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
c5e66a40
Unverified
Commit
c5e66a40
authored
Sep 08, 2023
by
MyungHa Kwon
Committed by
GitHub
Sep 07, 2023
Browse files
Punctuation fix (#26025)
fix typo
parent
00efd64e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/trainer_utils.py
src/transformers/trainer_utils.py
+1
-1
No files found.
src/transformers/trainer_utils.py
View file @
c5e66a40
...
@@ -664,7 +664,7 @@ def find_executable_batch_size(
...
@@ -664,7 +664,7 @@ def find_executable_batch_size(
"""
"""
Args:
Args:
A basic decorator that will try to execute `function`. If it fails from exceptions related to out-of-memory or
A basic decorator that will try to execute `function`. If it fails from exceptions related to out-of-memory or
CUDNN, the batch size is cut in half and passed to `function` `function` must take in a `batch_size` parameter as
CUDNN, the batch size is cut in half and passed to `function`
.
`function` must take in a `batch_size` parameter as
its first argument.
its first argument.
function (`callable`, *optional*)
function (`callable`, *optional*)
A function to wrap
A function to wrap
...
...
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