Skip to main content

Python class

LoRARequestProcessor

LoRARequestProcessor​

class max.pipelines.lib.LoRARequestProcessor(manager, zmq_endpoint_base)

source

Bases: object

Processes LoRA requests by delegating operations to a LoRAManager.

Acts as a bridge between the LoRA queue system and the LoRA manager, processing load/unload/list operations and returning appropriate responses.

Parameters:

  • manager (LoRAManager) – The LoRAManager instance to handle operations.
  • zmq_endpoint_base (str) – Base endpoint string for ZMQ request/response sockets.

process_lora_requests()​

process_lora_requests()

source

Checks for new LoRA requests and processes them.

Return type:

None