Repository navigation
Conversation
Build the rotary encoder and select the published query or passage LoRA adapter inside one TensorRT graph. Default embeddings retain the unadapted base model; all roles use masked mean pooling and L2 normalization. Cover native SentencePiece normalization, pinned checkpoint parity against Transformers and PEFT, multilingual inputs and role-dependent embeddings through the text embedding Task API. Signed-off-by: Will Guo <willg@nvidia.com>
Signed-off-by: Will Guo <willg@nvidia.com>
…tatic runtime contracts Signed-off-by: Will Guo <willg@nvidia.com>
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait...
|
2 tasks done
This branch has not been deployed
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.

Add native FP32 text embeddings for
jinaai/jina-embeddings-v3-hf, including default, query, and document roles.Background
Related to #2666. The
jina_embeddings_v3family supports one text input with mean pooling and L2-normalized output.Exit Criteria
Implementation
This adds family-specific bundles and dependencies without changing shared public API/ABI layouts or the shared bundle container format. Family dependencies are declared in requirements.txt.
Change categories
Validation
Commands and Results
The E2E test compares 1,024-dimensional native embeddings with the upstream reference, enforces absolute-error/cosine and normalization checks, and checks that the retrieval roles change the output. These describe tests added in the diff, not an execution result.
Reproduction after preparing the pinned checkpoint, family dependencies, and native runtime required by the test:
These commands were not rerun for this description-only update. No build, inference, accuracy, performance, or full-premerge pass is asserted here; see the PR checks for public execution results.
Hardware, Environment, and Revisions
PR head:
e5fb9dedcc4def80fd3554ea708731bddb14fba3. The committed recipe pinsjinaai/jina-embeddings-v3-hfatd18862d9a48706220815554fac3ebb4dfa46fc28. FP32, one text input and one device; the committed recipe uses a 256-token profile. The family requirements pin Transformers and PEFT. Execution requires a CUDA-capable GPU and TensorRT. A tested GPU/OS/CUDA/TensorRT matrix is not asserted by this description.Not Run / Remaining Gaps
Other task adapters, batching, reduced precision, quantization, and distributed execution are outside this change. The recipe does not establish maximum-context behavior or retrieval benchmark/performance qualification.
Contributor Self-Review
Notes For Future Readers
Review tokenizer behavior and adapter selection together with the embedding comparisons. The checkpoint's retrieval adapter assets are required in addition to the base encoder weights.
Public model reference: jinaai/jina-embeddings-v3-hf.
Risk level
Tokenizer and retrieval-adapter differences can change embedding semantics even when shapes remain valid; shared embedding interfaces remain unchanged.