-
Notifications
You must be signed in to change notification settings - Fork 443
OLMo 2 Retrofit #895
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
base: main
Are you sure you want to change the base?
OLMo 2 Retrofit #895
Conversation
ea52adf
to
77f91c3
Compare
* Add Claude Code GitHub Workflow (#959) * "Claude PR Assistant workflow" * "Claude Code Review workflow" * Fix DPO script (#956) * minor fix * minor fix * lint * update debug script * update debug script --------- Co-authored-by: Finbarr Timbers <[email protected]> Co-authored-by: Hamish Ivison <[email protected]>
PR Review: OLMo 2 RetrofitI've reviewed this pull request that retrofits the codebase for OLMo 2.5 support. Here's my analysis: ✅ Positive Changes
|
try to avoid concurrency issues with them
additional_env_vars is a List[Dict] not a Dict so we need to extract the "name" field to check if its in the list
docker image doesn't have jq so get username without it update comment to remove reference to removed flag --oe_eval_log_to_wandb
WANDB_ARG="" | ||
if [[ -n "$WANDB_RUN_PATH" ]]; then | ||
beaker_user=$(beaker account whoami --format json | jq -r '.[0].name') | ||
beaker_user=$(beaker account whoami --format text | awk 'NR==2 {print $2}') |
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.
Bug: Username Extraction Reliability Issue
The beaker
username extraction switched from robust JSON parsing (jq
) to fragile text parsing (awk
). This new approach relies on a specific text output format (line 2, column 2), making it vulnerable to breaking if the beaker account whoami
command's output changes.
--gpus ${NUM_GPUS} \ | ||
--budget ai2/oe-adapt \ | ||
-- \ | ||
source configs/beaker_configs/ray_node_setup.sh \&\& \ |
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.
Bug: Shell Script Command Chaining Error
The shell commands use \&\&
instead of &&
. The backslash escapes the ampersand, which prevents proper command chaining and will cause the script to fail.
No description provided.