Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) LoadLoraAdapter ¶
Load a LoRa adapter into the VLLM model server. See: https://docs.vllm.ai/en/latest/models/lora.html#dynamically-serving-lora-adapters
func (*Client) UnloadLoraAdapter ¶
func (c *Client) UnloadLoraAdapter(ctx context.Context, addr string, req UnloadAdapterRequest) error
Unload a LoRa adapter from the VLLM model server. See: https://docs.vllm.ai/en/latest/models/lora.html#dynamically-serving-lora-adapters
type LoadAdapterRequest ¶
type LoadAdapterRequest struct { LoraName string `json:"lora_name"` LoraPath string `json:"lora_path"` Options LoadAdapterRequestOptions `json:"-"` }
type LoadAdapterRequestOptions ¶
type LoadAdapterRequestOptions struct {
IgnoreAlreadyLoaded bool
}
type UnloadAdapterRequest ¶
type UnloadAdapterRequest struct { LoraName string `json:"lora_name"` Options UnloadAdapterRequestOptions `json:"-"` }
type UnloadAdapterRequestOptions ¶
type UnloadAdapterRequestOptions struct {
IgnoreNotFound bool
}
Click to show internal directories.
Click to hide internal directories.