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
Mitchish kempner #352
base: main
Are you sure you want to change the base?
Mitchish kempner #352
Conversation
configs/mitchish7.yaml
Outdated
load_path: null | ||
|
||
max_duration: 423855 # 2T tokens | ||
global_train_batch_size: 1536 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is putting only 3M tokens into one batch.
configs/mitchish7.yaml
Outdated
|
||
activation_checkpointing: by_layer | ||
|
||
compile: null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mitchish has a different config here.
compile:
fullgraph: false
precision: amp_bf16 | ||
|
||
max_grad_norm: 1.0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should explicitly set max_grad_norm_ratio
as well, just in case.
scripts/kempner/mitchish.sh
Outdated
--run_name=kempner_mitchish7_${SLURM_JOB_ID} \ | ||
--save_folder=/n/holyscratch01/kempner_lab/Lab/checkpoints/${SLURM_JOB_ID}/ \ | ||
--data.num_workers=4 \ | ||
--device_train_microbatch_size=6 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works when the global batch size is divisible by 6, but it should not be. The fact that it is is a bug.
scripts/kempner/mitchish.sh
Outdated
--distribution=block:block \ | ||
--kill-on-bad-exit \ | ||
scripts/run_with_environment.sh \ | ||
$HOME/miniconda3/envs/LLM/bin/python -u scripts/train.py configs/llama7.yaml \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is referring to the wrong config.
No description provided.