Skip to content

[test] speedup TRT accuracy tests #5388

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

Closed
wants to merge 4 commits into from

Conversation

omera-nv
Copy link
Collaborator

Speedup TRT accuracy tests

TRT accuracy tests involve convert and build stages, and different cases of the same suite often use the exact same flags to convert_checkpoint.py or to trtllm-build.

This PR introduces a new TempDirLRUCache that caches the checkpoint and engine directories from each test case, and reuses them in case a case uses the exact same flags.

This optimization can potentially reduce the test time of some cases by several minutes.

omera-nv added 4 commits June 20, 2025 14:07
Signed-off-by: Omer Ullman Argov <[email protected]>
Signed-off-by: Omer Ullman Argov <[email protected]>
Signed-off-by: Omer Ullman Argov <[email protected]>
@omera-nv
Copy link
Collaborator Author

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #9562 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

@omera-nv omera-nv closed this Jun 21, 2025
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.

2 participants