-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: Update trtllm args issues with extra nested config (#5996) #6114
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
fix: Update trtllm args issues with extra nested config (#5996) #6114
Conversation
WalkthroughThe changes introduce improved handling of default values for nested configuration fields in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant LLMArgs
participant BuildConfig
participant PluginConfig
User->>LLMArgs: update_llm_args_with_extra_dict(extra_dict)
LLMArgs->>BuildConfig: BuildConfig.from_dict(dict, plugin_config)
BuildConfig->>PluginConfig: PluginConfig.from_dict(dict)
BuildConfig-->>LLMArgs: BuildConfig instance with defaults for missing keys
LLMArgs-->>User: Updated LLMArgs with nested BuildConfig
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
/bot run |
|
PR_Github #12147 [ run ] triggered by Bot |
Signed-off-by: Wanli Jiang <[email protected]>
a03c813 to
828c8fc
Compare
|
/bot run |
|
PR_Github #12148 [ run ] triggered by Bot |
|
PR_Github #12147 [ run ] completed with state |
chzblych
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.
Approved this PR based on this is a cherry-pick of #5996 from main branch.
|
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
|
PR_Github #12148 [ run ] completed with state |
Summary by CodeRabbit