Python class
LoRARequest
LoRARequestβ
class max.interfaces.LoRARequest(operation, lora_name, lora_path=None)
Bases: Struct
Container for LoRA adapter requests.
-
Parameters:
-
- operation (LoRAOperation)
- lora_name (str)
- lora_path (str | None)
lora_nameβ
lora_name: str
The unique name identifying the LoRA adapter.
lora_pathβ
The filesystem path to the LoRA adapter weights. Required for load operations.
operationβ
operation: LoRAOperation
The type of LoRA operation to perform (load or unload).
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!