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
500fce07
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "a98f6a1da012ca7847e4dceb3ffcedfd75a77b08"
Unverified
Commit
500fce07
authored
Mar 24, 2023
by
Stas Bekman
Committed by
GitHub
Mar 24, 2023
Browse files
[Trainer] add disclaimer that full_determinism is slow (#22368)
parent
a0cbbba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/training_args.py
src/transformers/training_args.py
+2
-2
No files found.
src/transformers/training_args.py
View file @
500fce07
...
@@ -538,7 +538,7 @@ class TrainingArguments:
...
@@ -538,7 +538,7 @@ class TrainingArguments:
CUDA Out-of-Memory errors. Requires accelerate to be installed (`pip install accelerate`)
CUDA Out-of-Memory errors. Requires accelerate to be installed (`pip install accelerate`)
full_determinism (`bool`, *optional*, defaults to `False`)
full_determinism (`bool`, *optional*, defaults to `False`)
If `True`, [`enable_full_determinism`] is called instead of [`set_seed`] to ensure reproducible results in
If `True`, [`enable_full_determinism`] is called instead of [`set_seed`] to ensure reproducible results in
distributed training
distributed training
. Important: this will negatively impact the performance, so only use it for debugging.
torchdynamo (`str`, *optional*):
torchdynamo (`str`, *optional*):
If set, the backend compiler for TorchDynamo. Possible choices are `"eager"`, `"aot_eager"`, `"inductor"`,
If set, the backend compiler for TorchDynamo. Possible choices are `"eager"`, `"aot_eager"`, `"inductor"`,
`"nvfuser"`, `"aot_nvfuser"`, `"aot_cudagraphs"`, `"ofi"`, `"fx2trt"`, `"onnxrt"` and `"ipex"`.
`"nvfuser"`, `"aot_nvfuser"`, `"aot_cudagraphs"`, `"ofi"`, `"fx2trt"`, `"onnxrt"` and `"ipex"`.
...
@@ -1055,7 +1055,7 @@ class TrainingArguments:
...
@@ -1055,7 +1055,7 @@ class TrainingArguments:
metadata
=
{
metadata
=
{
"help"
:
(
"help"
:
(
"Whether to call enable_full_determinism instead of set_seed for reproducibility in distributed"
"Whether to call enable_full_determinism instead of set_seed for reproducibility in distributed"
" training"
" training
. Important: this will negatively impact the performance, so only use it for debugging.
"
)
)
},
},
)
)
...
...
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