Skip to content

Commit 7663465

Browse files
committed
Fix callback override syntax
Use Hydra add-override syntax for every_n_epochs in the new large-run submitters. This matches the latest progress-checkpoint script alignment on main and keeps callback composition valid.
1 parent bf80194 commit 7663465

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

slurm_scripts/ablations/vit_mae_pretrain/submit_vit_mae_pretrain_large.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ for datamodule in "${!EXPERIMENTS[@]}"; do
103103
trainer.max_time="${BUDGET_MAX_TIME}" \
104104
+trainer.max_epochs="${cosine_epochs}" \
105105
trainer.callbacks.0.every_n_train_steps_fraction=0.05 \
106-
trainer.callbacks.0.every_n_epochs=0 \
106+
+trainer.callbacks.0.every_n_epochs=0 \
107107
trainer.callbacks.0.save_top_k=-1 \
108108
trainer.callbacks.0.filename=\"snapshot-{progress_token}-{epoch:04d}-{step:08d}\"
109109
done

slurm_scripts/ablations/vit_mae_pretrain/submit_vit_mae_to_crps_large.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ for datamodule in "${!EXPERIMENTS[@]}"; do
134134
trainer.max_time="${BUDGET_MAX_TIME}" \
135135
+trainer.max_epochs="${cosine_epochs}" \
136136
trainer.callbacks.0.every_n_train_steps_fraction=0.05 \
137-
trainer.callbacks.0.every_n_epochs=0 \
137+
+trainer.callbacks.0.every_n_epochs=0 \
138138
trainer.callbacks.0.save_top_k=-1 \
139139
trainer.callbacks.0.filename=\"snapshot-{progress_token}-{epoch:04d}-{step:08d}\"
140140
done

0 commit comments

Comments
 (0)