Skip to content

Commit

Permalink
chore(doc): clarify micro_batch_size (#1579) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 authored Apr 30, 2024
1 parent 5294653 commit 1aeece6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/config.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ torch_compile_backend: # Optional[str]
# If greater than 1, backpropagation will be skipped and the gradients will be accumulated for the given number of steps.
gradient_accumulation_steps: 1
# The number of samples to include in each batch. This is the number of samples sent to each GPU.
# Batch size per gpu = micro_batch_size * gradient_accumulation_steps
micro_batch_size: 2
eval_batch_size:
num_epochs: 4
Expand Down

0 comments on commit 1aeece6

Please sign in to comment.