Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages the Ollama service.
TODO(kenji): Refactor this class once we completely switch to the one-odel-per-pod implementation where inference-manager-engine doesn't directly run vLLM or Ollama.
func (*Manager) CreateNewModelOfGGUF ¶ added in v0.273.0
CreateNewModelOfGGUF creates a new model with the given name and spec that uses a GGUF model file.
func (*Manager) DownloadAndCreateNewModel ¶ added in v0.273.0
func (m *Manager) DownloadAndCreateNewModel(ctx context.Context, modelName string, resp *mv1.GetBaseModelPathResponse) error
DownloadAndCreateNewModel downloads the model from the given path and creates a new model.
func (*Manager) UpdateModelTemplateToLatest ¶ added in v0.222.0
UpdateModelTemplateToLatest updates the model template to the latest.
Click to show internal directories.
Click to hide internal directories.