Skip to content

[TRTLLM-5054][fix] Removing repeated loading of input processor #4161

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 2 commits into from
May 16, 2025

Conversation

rakib-hasan
Copy link
Collaborator

Initial implementation was preparing the multimodal inputs one at a time as it loads from the dataset. This caused the input processor to be re-initialized over and over for each input and takes a few minutes to load a 1000 entry dataset.

With the new approach, the whole list of multimodal inputs is passed to the fomatter once, to avoid repeated loading of the input processor.

Signed-off-by: Rakib Hasan <rhasan@nvidia.com>
@rakib-hasan
Copy link
Collaborator Author

/bot run

@rakib-hasan rakib-hasan enabled auto-merge (squash) May 8, 2025 17:10
@tensorrt-cicd
Copy link
Collaborator

PR_Github #4596 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #4596 [ run ] completed with state FAILURE
/LLM/main/L0_MergeRequest_PR pipeline #3310 completed with status: 'FAILURE'

@rakib-hasan
Copy link
Collaborator Author

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #5404 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #5404 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #3941 completed with status: 'SUCCESS'

@rakib-hasan rakib-hasan merged commit 2540724 into NVIDIA:main May 16, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants