Skip to content

🐛 [Multi-node Full Fine Tuning Example] Fix file path references and disable fused optimizer #2575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
8 changes: 4 additions & 4 deletions recipes/configs/llama3_3/70B_full_multinode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
#
# This config is only tested on 2 nodes w/ 8 H100 machines.

output_dir: /tmp/torchtune/llama3_3_70B/full
output_dir: ${output_dir}

# Tokenizer
tokenizer:
_component_: torchtune.models.llama3.llama3_tokenizer
path: /tmp/Llama-3.3-70B-Instruct/original/tokenizer.model
path: ${checkpoint_dir}/original/tokenizer.model
max_seq_len: 1024

# Dataset
Expand All @@ -30,7 +30,7 @@ model:

checkpointer:
_component_: torchtune.training.FullModelHFCheckpointer
checkpoint_dir: /tmp/Llama-3.3-70B-Instruct/
checkpoint_dir: ${checkpoint_dir}
checkpoint_files:
filename_format: model-{}-of-{}.safetensors
max_filename: "00030"
Expand All @@ -53,7 +53,7 @@ epochs: 1
optimizer:
_component_: torch.optim.AdamW
lr: 2e-5
fused: True
fused: False

loss:
_component_: torchtune.modules.loss.CEWithChunkedOutputLoss
Expand Down