Repository navigation
refactor(sdk): share the managed inference installer lifecycle - #14646
Merged
Merged
Conversation
Move the managed inference container, storage, and credential lifecycle from the vLLM installer into installers/inference.rs so other managed inference installers can reuse it. The vLLM installer's compiled resources, dependencies, and errors stay the same. Extracted from #14611. Part of #14556 Co-authored-by: Prekshi Vyas <[email protected]>
Collaborator
Author
Authoring session — opening
|
Contributor
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.
Moves the managed inference container, storage, and credential lifecycle out of the vLLM installer into a shared
installers/inference.rsmodule, so later managed inference installers can reuse it. vLLM documents compile to the same OpenTofu resources, dependencies, and errors.Problem
The vLLM installer owns the placement, process, storage, authentication, and removal steps that every managed inference runtime needs. #14611 adds llama.cpp and NIM installers that would each repeat those steps.
Part of #14556. Extracted from #14611 so that PR can rebase onto it.
Change
installers/inference.rs(crate-private):address,Runtime,specification,install,remove, andcredential_source, moved from the vLLM installer.installers/vllm/mod.rscalls the shared functions instead of its own copies.