Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix SFT integration test launch failure#1470

Merged
finbarrtimbers merged 2 commits intomainallenai/open-instruct:mainfrom
finbarr/fix-integration-testsallenai/open-instruct:finbarr/fix-integration-testsCopy head branch name to clipboard
Feb 11, 2026
Merged

Fix SFT integration test launch failure#1470
finbarrtimbers merged 2 commits intomainallenai/open-instruct:mainfrom
finbarr/fix-integration-testsallenai/open-instruct:finbarr/fix-integration-testsCopy head branch name to clipboard

Conversation

@finbarrtimbers
Copy link
Copy Markdown
Collaborator

@finbarrtimbers finbarrtimbers commented Feb 11, 2026

The SFT integration test was failing in CI because --push_to_hub false was set without also setting --try_launch_beaker_eval_jobs false. Since try_launch_beaker_eval_jobs defaults to True, the __post_init__ validation in finetune.py raised a ValueError during mason.py's dataset caching step.

Added --try_launch_beaker_eval_jobs false to the SFT integration test script.

Manually triggered run: https://github.com/allenai/open-instruct/actions/runs/21910196366

…val_jobs flag

The SFT integration test set --push_to_hub false but left
try_launch_beaker_eval_jobs at its default of True, causing a
ValueError during the mason.py cache step.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @finbarrtimbers, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses a critical failure in the SFT integration test within the CI pipeline. By explicitly disabling the attempt to launch Beaker evaluation jobs when pushing to the hub is also disabled, it resolves a validation error that was preventing the test from completing successfully, thereby restoring the stability and reliability of the continuous integration process for this test.

Highlights

  • SFT Integration Test Fix: Resolved a ValueError in the SFT integration test that occurred when --push_to_hub false was used without explicitly setting --try_launch_beaker_eval_jobs false, which caused a validation failure during dataset caching.
  • Script Update: Modified scripts/train/debug/sft_integration_test.sh to include --try_launch_beaker_eval_jobs false in the accelerate launch command.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • scripts/train/debug/sft_integration_test.sh
    • Added the --try_launch_beaker_eval_jobs false flag to the accelerate launch command.
Activity
  • The author has outlined a test plan to verify that the Beaker Experiment Launch CI action passes with this fix.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses a launch failure in the SFT integration test. The issue stemmed from a validation check in finetune.py that correctly flags an inconsistency: attempting to launch Beaker evaluation jobs (try_launch_beaker_eval_jobs=True by default) while not pushing the model to the Hugging Face Hub (push_to_hub=false). The fix introduces --try_launch_beaker_eval_jobs false to the test script's launch command, which resolves the ValueError. The change is correct and effectively fixes the bug.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@finbarrtimbers finbarrtimbers added this pull request to the merge queue Feb 11, 2026
Merged via the queue into main with commit 81c63ab Feb 11, 2026
7 of 8 checks passed
@finbarrtimbers finbarrtimbers deleted the finbarr/fix-integration-tests branch February 11, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.