Skip to content

Commit b210630

Browse files
author
SeanNaren
committed
Add missing config
1 parent fa4965a commit b210630

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/plugins/test_deepspeed_plugin.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ def deepspeed_config():
3434
}
3535

3636

37+
@pytest.fixture
38+
def deepspeed_zero_config(deepspeed_config):
39+
return {**deepspeed_config, 'zero_allow_untested_optimizer': True, 'zero_optimization': {'stage': 2}}
40+
41+
3742
@pytest.mark.skipif(not _DEEPSPEED_AVAILABLE, reason="DeepSpeed not available.")
3843
def test_deepspeed_plugin_string(tmpdir):
3944
"""

0 commit comments

Comments
 (0)