Skip to content

Commit fcd1850

Browse files
NuojChenggulsumgudukbay
authored andcommitted
Copybara import of the project:
-- 40e056d by NuojCheng <[email protected]>: add rampup batch size COPYBARA_INTEGRATE_REVIEW=AI-Hypercomputer#2535 from AI-Hypercomputer:chengnuojin-rampup-batch 40e056d PiperOrigin-RevId: 827037473
1 parent a4f1212 commit fcd1850

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/data_loader_test.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ def setUp(self):
5151

5252
def get_test_config(self, reuse_example_batch, **kwargs):
5353
"""Generate config for tests"""
54-
args = {
55-
"run_name": "test",
56-
"mesh_axes": ["data"],
57-
"logical_axis_rules": [["batch", "data"]],
58-
"data_sharding": ["data"],
59-
"enable_checkpointing": False,
60-
"reuse_example_batch": reuse_example_batch,
61-
}
62-
args.update(kwargs)
6354
return pyconfig.initialize(
6455
[None, get_test_config_path()],
6556
per_device_batch_size=1,
@@ -164,4 +155,4 @@ def test_rampup_data_loader(self):
164155

165156

166157
if __name__ == "__main__":
167-
unittest.main()
158+
unittest.main()

0 commit comments

Comments
 (0)