Skip to content

Commit 1c76267

Browse files
Merge pull request #3521 from AI-Hypercomputer:mattdavidow-shorten-ga-test
PiperOrigin-RevId: 893171714
2 parents 7509519 + 9a55e74 commit 1c76267

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/integration/gradient_accumulation_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,11 @@ def test_grad_accumulate_same_loss(self):
6666
"gradient_clipping_threshold=0", # Ensures we are testing raw scales of gradients (clipping off)
6767
"enable_checkpointing=False",
6868
"enable_goodput_recording=False",
69+
"decoder_block=simple",
6970
"base_emb_dim=256",
7071
"base_num_decoder_layers=4",
7172
rf"tokenizer_path={os.path.join(MAXTEXT_ASSETS_ROOT, 'tokenizers', 'tokenizer.llama2')}",
72-
"steps=20",
73+
"steps=2",
7374
]
7475
# Run with gradient accumulation with accumulate_steps=10, per_device_batch=1 --> simulating per_device_batch=10
7576
train_main(

0 commit comments

Comments
 (0)