Enhancement: Dynamic Batching#37
Open
ryanznie wants to merge 5 commits into
Open
Conversation
Owner
ryanznie
commented
Feb 1, 2026
- Added dynamic batching configs
- Minor: cleaned comments
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||
Owner
Author
|
@gemini-cli /review |
1 similar comment
Owner
Author
|
@gemini-cli /review |
|
🤖 Hi @ryanznie, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
There was a problem hiding this comment.
📋 Review Summary
This pull request focuses on improving the Triton inference backend and its configuration. The changes include code cleanup by removing unnecessary comments and a more robust client implementation. The dynamic batching configuration for the Triton server has been refined, which should lead to better performance. Overall, the changes are positive and improve the quality of the codebase.
🔍 General Feedback
- The code is cleaner and more readable after the removal of commented-out code and explanatory comments.
- The Triton client is more robust as it now dynamically determines the output name instead of assuming a fixed name.
- The refined dynamic batching settings are a good step towards performance optimization.
- In
src/inference.py, the_get_triton_datatypefunction has a fallback to "FP32" for unknown numpy dtypes. This could hide potential data type mismatches. It would be more robust to raise aTypeErrorfor unsupported types to ensure that only expected data types are handled.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.