[None][fix] Properly raise errors from multimodal loading#12331
[None][fix] Properly raise errors from multimodal loading#123312ez4bz merged 1 commit intoNVIDIA:mainNVIDIA/TensorRT-LLM:mainfrom
Conversation
|
/bot run --disable-fail-fast |
|
PR_Github #39508 [ run ] triggered by Bot. Commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe change refactors async data handling in chat utilities by removing internal async wrapper functions and instead returning coroutines directly from async loaders for image, video, and audio processing. Error handling via try/except blocks is removed, delegating responsibility to underlying async operations or higher-level orchestration. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment Tip CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.OpenGrep is compatible with Semgrep configurations. Add an |
* Why? Previously, errors from loading multimodal data (e.g. retrieving an image from the web) would be suppressed, leading to confusing error messages. * What? This commit fixes that. Signed-off-by: William Zhang <133824995+2ez4bz@users.noreply.github.com>
8e14811 to
5c4a7e9
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #39513 [ run ] triggered by Bot. Commit: |
|
PR_Github #39513 [ run ] completed with state |
* Why? Previously, errors from loading multimodal data (e.g. retrieving an image from the web) would be suppressed, leading to confusing error messages. * What? This commit fixes that. Signed-off-by: William Zhang <133824995+2ez4bz@users.noreply.github.com>
Summary by CodeRabbit
Description
Previously, errors from loading multimodal data (e.g. retrieving an image from the web) would be suppressed, leading to confusing error messages.
This commit fixes that.
Test Coverage
PR Checklist
Please review the following before submitting your PR:
PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.
PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.
Test cases are provided for new code paths (see test instructions)
Any new dependencies have been scanned for license and vulnerabilities
CODEOWNERS updated if ownership changes
Documentation updated as needed
Update tava architecture diagram if there is a significant design change in PR.
The reviewers assigned automatically/manually are appropriate for the PR.
Please check this after reviewing the above items as appropriate for this PR.
GitHub Bot Help
To see a list of available CI bot commands, please comment
/bot help.