Skip to content

Commit

Permalink
Add to other official scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Sep 4, 2024
1 parent e8fdbea commit 26ed9b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/train/OLMo-13B.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
ConfigSaverCallback,
GPUMemoryMonitorCallback,
GradClipperCallback,
ProfilerCallback,
SchedulerCallback,
SpeedMonitorCallback,
WandBCallback,
Expand Down Expand Up @@ -176,6 +177,7 @@ def build_config(run_name: str, cluster: str, overrides: List[str]) -> Experimen
),
)
.with_callback("config_saver", ConfigSaverCallback())
.with_callback("profiler", ProfilerCallback(enabled=False))
)

return ExperimentConfig(
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/train/OLMo-7B.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
ConfigSaverCallback,
GPUMemoryMonitorCallback,
GradClipperCallback,
ProfilerCallback,
SchedulerCallback,
SpeedMonitorCallback,
WandBCallback,
Expand Down Expand Up @@ -176,6 +177,7 @@ def build_config(run_name: str, cluster: str, overrides: List[str]) -> Experimen
),
)
.with_callback("config_saver", ConfigSaverCallback())
.with_callback("profiler", ProfilerCallback(enabled=False))
)

return ExperimentConfig(
Expand Down

0 comments on commit 26ed9b2

Please sign in to comment.