Skip to content
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

Add fastest adam hparams and update toposolve package #202

Merged
merged 3 commits into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions configs/150M/H100-fast.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name_model = "150M"
project = "debug_150m_zero_band"
type_model = "llama2"

[train]
micro_bs = 64 # change this base on the gpu
reshard_after_forward = true

[optim]
batch_size = 512
warmup_steps = 278
total_steps = 8192

[optim.optim]
lr = 0.003551730141097694
betas1 = 0.9454835470717078
betas2 = 0.9190488086654895
weight_decay = 0.24530252977858977

[data]
seq_length = 1024
dataset_name_or_paths = "datasets/fineweb-edu"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies = [
"ninja",
"zstandard",
"pyarrow",
"toposolve",
"toposolve>=0.1.17",
"psutil",
"torch-shampoo @ git+https://github.com/facebookresearch/optimizers.git@main",
]
Expand Down
Loading
Loading