Conversation
furionw
force-pushed
the
qiwa/external-encoder-orchestrator-example
branch
from
September 15, 2026 16:52
6dae5af to
c339852
Compare
Signed-off-by: furionw <qiwa@nvidia.com>
furionw
force-pushed
the
qiwa/external-encoder-orchestrator-example
branch
from
September 15, 2026 17:57
c339852 to
b1b98a4
Compare
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.
Depends on #13293.
Why
Show the application-owned path enabled by #13293 without introducing a workflow product: a bespoke Dynamo worker runs a custom encoder inline, attaches its output to
GenerateRequest.encoder_result, and invokes a remote stock aggregateddynamo.vllmworker.What Change
VisionEncoderBackendrunner inside a bespoke orchestrator worker.encode_request_plane_tensorand the versionedExternalEncoderResultcontract.LLMUnaryClientand serve the completed response withserve_unary_endpoint.flowchart LR Client --> Frontend Frontend --> Orchestrator[bespoke orchestrator worker] Orchestrator --> Encoder[inline custom encoder] Encoder -->|encoder_result| Orchestrator Orchestrator -->|GenerateRequest| VLLM[remote stock dynamo.vllm] VLLM -->|token stream| Orchestrator Orchestrator -->|unary completion| FrontendTest Plan
2196083withnvcr.io/nvidia/ai-dynamo/vllm-runtime-nightly:latest(ai-dynamo 1.5.0.dev20260914, vLLM 0.28.0), the three focused test files pass:24 passed in 4.66s.ready.The answer ... is 42.handlers._assemble_external_encoder_prompt: prepared external encoder prompt; no fatal service errors were found.