Skip to main content

Python class

LoRARequest

LoRARequest​

class max.interfaces.LoRARequest(operation, lora_name, lora_path=None)

source

Bases: Struct

Container for LoRA adapter requests.

Parameters:

lora_name​

lora_name: str

source

The unique name identifying the LoRA adapter.

lora_path​

lora_path: str | None

source

The filesystem path to the LoRA adapter weights. Required for load operations.

operation​

operation: LoRAOperation

source

The type of LoRA operation to perform (load or unload).