[Attention] Update attention imports#29540
Conversation
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
Code Review
This pull request is a large-scale refactoring that removes lazy imports and TYPE_CHECKING blocks related to attention backends throughout the codebase. The changes are consistent and correctly applied, moving imports to the top level and updating type hints accordingly. This cleanup improves code readability and structure. I have reviewed all the changes and found no issues. The refactoring appears to be safe and well-executed.
|
cc @mgoin |
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
yewentao256
left a comment
There was a problem hiding this comment.
Thanks for the work! Let's run CI and see if we can pass
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
|
It's worth noting that the |
LucasWilkinson
left a comment
There was a problem hiding this comment.
LGTM! thanks for doing this!
yewentao256
left a comment
There was a problem hiding this comment.
LGTM, thanks for the work!
yeah I am not really sure it was worth changing 40 files for that |
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com> Signed-off-by: Hashem Hashemi <hashem.hashemi@amd.com>
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
Purpose
Now that #29342 has landed, many of the
TYPE_CHECKINGand lazy imports are no longer necessary. This PR updates them throughout the codebaseTest Plan
Recommend to run all CI tests (
ready-run-all-tests)Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.