Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/integration/gradient_accumulation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ def test_grad_accumulate_same_loss(self):
"gradient_clipping_threshold=0", # Ensures we are testing raw scales of gradients (clipping off)
"enable_checkpointing=False",
"enable_goodput_recording=False",
"decoder_block=simple",
"base_emb_dim=256",
"base_num_decoder_layers=4",
rf"tokenizer_path={os.path.join(MAXTEXT_ASSETS_ROOT, 'tokenizers', 'tokenizer.llama2')}",
"steps=20",
"steps=2",
]
# Run with gradient accumulation with accumulate_steps=10, per_device_batch=1 --> simulating per_device_batch=10
train_main(
Expand Down
Loading