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
b2628086
Unverified
Commit
b2628086
authored
Feb 16, 2024
by
Sourab Mangrulkar
Committed by
GitHub
Feb 16, 2024
Browse files
fix failing trainer ds tests (#29057)
parent
258da40e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
tests/deepspeed/test_deepspeed.py
tests/deepspeed/test_deepspeed.py
+0
-3
No files found.
tests/deepspeed/test_deepspeed.py
View file @
b2628086
...
...
@@ -786,9 +786,6 @@ class TrainerIntegrationDeepSpeed(TrainerIntegrationDeepSpeedWithCustomConfig, T
with
self
.
assertRaises
(
Exception
)
as
context
:
checkpoint
=
os
.
path
.
join
(
output_dir
,
"checkpoint-5"
)
trainer
.
train
(
resume_from_checkpoint
=
f
"
{
checkpoint
}
-bogus"
)
self
.
assertTrue
(
"Can't find a valid checkpoint at"
in
str
(
context
.
exception
),
f
"got exception:
{
context
.
exception
}
"
)
@
parameterized
.
expand
(
params_with_optims_and_schedulers
,
name_func
=
parameterized_custom_name_func
)
def
test_can_resume_training_normal
(
self
,
stage
,
dtype
,
optim
,
scheduler
):
...
...
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