-
Notifications
You must be signed in to change notification settings - Fork 0
compass(runner): the exit bullet points at the refusal comment instead of restating its losses #402
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Non-blocking. Filed as #405, not this PR's to fix.
The pointer is right, and the comment is the only place the losses should live. But "says what that loses here" hands the comment a completeness claim that it does not meet under one config.
model_runner.py:66-71) names nodel self.drafter(atom/model_engine/model_runner.py:1076-1077).exit.ModelRunner.__init__owns construction, and it callsbuild_drafterat:776, after the_build_and_load_modeloverride at:757.forward(overrides.py:517at37fba4df0), so a step is the only thing that reaches it.Drafter.load_model(UnbuiltModel)returns None andarm_aux_capturereturns None. So the runner constructs holding a drafter, and one shut down before its first step reachesexitwith it.test_what_the_comment_says_a_hole_at_exit_loses_is_what_exit_does) checks only comment ⊆exitbody, so it cannot see the omission.The larger problem is in #405: the drafter is built on the device and its checkpoint is read. That breaks principle 2: "Simulated execution touches no GPU. No compute, no device allocation."
Rule: "A finding not fixed in the PR that found it gets an issue." (AI_DEV_RULES)