-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add file input retriever class for reading from file source #86
Merged
nv-hwoo
merged 3 commits into
feature-create-input-retriever-APIs
from
hwoo-add-file-retriever
Sep 18, 2024
Merged
Add file input retriever class for reading from file source #86
nv-hwoo
merged 3 commits into
feature-create-input-retriever-APIs
from
hwoo-add-file-retriever
Sep 18, 2024
Conversation
This file contains 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
dyastremsky
approved these changes
Sep 17, 2024
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.
Spectacular work here, Hyunjae. This is a great reorganization of the code.
Added a few comments with discussions around long-term direction. The code looks good to merge into the feature branch.
nv-hwoo
added a commit
that referenced
this pull request
Sep 23, 2024
* add file input retriever * move input source check to inputs.py * create unittests for file input retriever
dyastremsky
pushed a commit
that referenced
this pull request
Oct 3, 2024
* add file input retriever * move input source check to inputs.py * create unittests for file input retriever
pvijayakrish
pushed a commit
that referenced
this pull request
Oct 8, 2024
…t as well (#88) (#89) * Replace binding index-based methods with name-based alternatives * Remove unused variables * Remove unused variables * Remove allInput*Specified() * Delete TRTV1Interface * Replace getProfileShapeValues() with getProfileTensorValues() * Remove buffer_bindings_ * Enhancements * Replace isExecutionBinding() * Add INT64 support * Remove hasImplicitBatchDimension() * Update Copyright * Remove unused variables * Undo copyright * Undo Copyright * Undo copyright * Fix the handling in INT64 shape tensors output * Fix data dependent output shapes * Fix pre commit errors * Update copyright * Resolve review comments * Include source for building on TRT 8 (#86) (#87) * Include source for building on TRT 8 * Apply suggestions from code review --------- * Fix envvar access in CMake --------- Co-authored-by: Sai Kiran Polisetty <[email protected]> Co-authored-by: Misha Chornyi <[email protected]>
pvijayakrish
pushed a commit
that referenced
this pull request
Oct 8, 2024
* Adding support for TensorRT 10 APIs in the backend. Keep TRT 8 support as well (#88) * Replace binding index-based methods with name-based alternatives * Remove unused variables * Remove unused variables * Remove allInput*Specified() * Delete TRTV1Interface * Replace getProfileShapeValues() with getProfileTensorValues() * Remove buffer_bindings_ * Enhancements * Replace isExecutionBinding() * Add INT64 support * Remove hasImplicitBatchDimension() * Update Copyright * Remove unused variables * Undo copyright * Undo Copyright * Undo copyright * Fix the handling in INT64 shape tensors output * Fix data dependent output shapes * Fix pre commit errors * Update copyright * Resolve review comments * Include source for building on TRT 8 (#86) (#87) * Include source for building on TRT 8 * Apply suggestions from code review --------- Co-authored-by: Misha Chornyi <[email protected]> * Fix envvar access in CMake --------- Co-authored-by: Sai Kiran Polisetty <[email protected]> Co-authored-by: Misha Chornyi <[email protected]> * Add support for kBF16 --------- Co-authored-by: Tanmay Verma <[email protected]> Co-authored-by: Misha Chornyi <[email protected]>
debermudez
pushed a commit
that referenced
this pull request
Oct 8, 2024
* add file input retriever * move input source check to inputs.py * create unittests for file input retriever
debermudez
added a commit
that referenced
this pull request
Oct 9, 2024
* Add retriever protocol and dataset format transformer (#71) * Add synthetic data retriever class (#77) * add synthetic data retriever * fix pytest * Add file input retriever class for reading from file source (#86) * add file input retriever * move input source check to inputs.py * create unittests for file input retriever * Refactor non-chat LLM endpoint converters into template style design (#93) * refactor non-chat LLM endpoint converters into template style design * fix bug and add unit tests * fix codeql * Refactor embeddings/rankings/tensorrtllm_engine converters to template-syle design (#101) * refactor converters * clean up and add more unit tests * add test for tensorrtllm_engine_converter * address feedback * Fix misaligned payload bug in vllm converter (#107) * Use generic retriever functions for embeddings endpoint (#109) * Create separate batch size option for text and images (#111) * Refactor OpenAI Chat converter into template-style design (#114) * add unit tests for openai chat * move image retrieval unittest to chat converter * convert to template style design * fix codeql * remove dataset support (#100) * Remove dataset option * Fix Readme * Update READMe command back to single command * Use text, not text_input, as field name (#113) * refactor retriever file locations (#116) * Move retriever files into a separate directory * Move source images and fix import paths * Fix import sorting and missed moving farewell file * Fix codeql --------- Co-authored-by: Hyunjae Woo <[email protected]> Co-authored-by: David Yastremsky <[email protected]>
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.
This PR
FileInputRetriever
that handles reading input data from filesInputRetrieverFactory
class to theFileInputRetriever
classFileInputRetriever
totest_file_input_retriever.py
This PR does NOT