-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
[Core] Remove forced None assignment for deprecated PassConfig flags #29994
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
[Core] Remove forced None assignment for deprecated PassConfig flags #29994
Conversation
Signed-off-by: arpitkh101 <[email protected]>
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.
Code Review
This pull request removes the lines that force deprecated PassConfig flags to None after their values have been processed. While the intention is to reduce confusion for users inspecting the configuration, this change removes a safety measure that prevents accidental use of deprecated flags elsewhere in the code. This increases the risk of future bugs and inconsistencies. I've left a comment explaining why the original behavior is safer and should be retained.
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
…n test Signed-off-by: arpitkh101 <[email protected]>
hmellor
left a comment
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.
LGTM!
That's a nice improvement to the hash behaviour
ProExpertProg
left a comment
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.
LGTM apart from one nit
Signed-off-by: arpitkh101 <[email protected]>
…llm-project#29994) Signed-off-by: arpitkh101 <[email protected]> Co-authored-by: Cyrus Leung <[email protected]>
…llm-project#29994) Signed-off-by: arpitkh101 <[email protected]> Co-authored-by: Cyrus Leung <[email protected]> Signed-off-by: Xingyu Liu <[email protected]>
This PR removes forced None assignment for deprecated PassConfig flags, as discussed in #29646. Forcing deprecated flags to None doesn't prevent their use and can be confusing.