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
OpenDAS
deepspeed
Commits
5bcc463d
Commit
5bcc463d
authored
May 29, 2023
by
aiss
Browse files
update v0.9.2
parent
ac5fbab4
Changes
581
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
tests/unit/checkpoint/test_pipeline.py
tests/unit/checkpoint/test_pipeline.py
+7
-2
No files found.
Too many changes to show.
To preserve performance only
581 of 581+
files are displayed.
Plain diff
Email patch
tests/unit/checkpoint/test_pipeline.py
View file @
5bcc463d
'''Copyright The Microsoft DeepSpeed Team'''
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: Apache-2.0
# DeepSpeed Team
from
deepspeed.runtime.checkpoint_engine.torch_checkpoint_engine
import
TorchCheckpointEngine
from
unit.common
import
DistributedTest
from
unit.simple_model
import
*
from
unit.checkpoint.common
import
checkpoint_correctness_verification
from
unit.util
import
skip_on_arch
import
pytest
...
...
@@ -14,6 +17,8 @@ class TestPipelineCheckpoint(DistributedTest):
@
pytest
.
mark
.
parametrize
(
"zero_stage"
,
[
0
,
1
])
def
test_checkpoint_pipe_engine
(
self
,
zero_stage
,
tmpdir
):
skip_on_arch
(
min_arch
=
7
)
config_dict
=
{
"train_batch_size"
:
2
,
"train_micro_batch_size_per_gpu"
:
1
,
...
...
Prev
1
…
26
27
28
29
30
Next
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