Skip to content

Commit

Permalink
Move ladder.py back to scripts/
Browse files Browse the repository at this point in the history
  • Loading branch information
liujch1998 committed Aug 31, 2024
1 parent 6d6eeb9 commit 1bff5f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/beaker/ladder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ torchrun \
--rdzv_endpoint=$BEAKER_LEADER_REPLICA_HOSTNAME:29400 \
--node_rank=$BEAKER_REPLICA_RANK \
--rdzv_conf="read_timeout=420" \
olmo/scaling/ladder.py train "$@"
scripts/ladder.py train "$@"
2 changes: 1 addition & 1 deletion olmo/scaling/ladder.py → scripts/ladder.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def train_cmd(args: argparse.Namespace):
prepare_cli_environment()
add_cached_path_clients()

from olmo.train import main
from train import main

main(cfg)

Expand Down

0 comments on commit 1bff5f8

Please sign in to comment.