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
5fc3b5cb
"...resnet50_tensorflow.git" did not exist on "46a373afe3d9e8850839c53d3f0fb64a9a12e9b2"
Unverified
Commit
5fc3b5cb
authored
Oct 01, 2020
by
Kai Fricke
Committed by
GitHub
Oct 01, 2020
Browse files
Fix Tune progress_reporter kwarg (#7508)
parent
dabc85d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/integrations.py
src/transformers/integrations.py
+1
-1
No files found.
src/transformers/integrations.py
View file @
5fc3b5cb
...
...
@@ -141,7 +141,7 @@ def run_hp_search_ray(trainer, n_trials: int, direction: str, **kwargs) -> BestR
num_gpus_per_trial
=
int
(
math
.
ceil
(
num_gpus_per_trial
/
n_jobs
))
kwargs
[
"resources_per_trial"
]
=
{
"gpu"
:
num_gpus_per_trial
}
if
"reporter"
not
in
kwargs
:
if
"
progress_
reporter"
not
in
kwargs
:
from
ray.tune
import
CLIReporter
kwargs
[
"progress_reporter"
]
=
CLIReporter
(
metric_columns
=
[
"objective"
])
...
...
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