Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-varma committed May 16, 2024
1 parent ce02e01 commit 9b47a92
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions recipes/configs/llama3/8B_full_single_device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ resume_from_checkpoint: False
# Fine-tuning arguments
batch_size: 2
epochs: 3
# Note: For trading off memory efficiency with performance,
# we enable PagedAdam optimizer, except for the embedding
# and output projection parameters, which use AdamW8bit.
# This allows us to retain 90% of the memory savings compared with
# using entirely PagedAdam, but prevents a 6x perf slowdown that
# would be incurred. This feature is only enabled for Llama-3 8b
# single device with optimizer_in_bwd=True, please file an issue
# if support in different scenarios is needed.
optimizer:
_component_: bitsandbytes.optim.PagedAdamW
lr: 2e-5
Expand Down

0 comments on commit 9b47a92

Please sign in to comment.