[Feature]: Adds distilled LoRA support for diffusion models (#2783)

Signed-off-by: Songrui625 <songrui625@gmail.com>
This commit is contained in:
Jerry Song authored and GitHub committed 2026-08-11 14:23:43 +00:00
1 parent 348cf95a89
commit 89015d5cad
24 files changed
+1283 -33

No files matched your search

+6
View File
@@ -4,6 +4,7 @@
import math
import time
from collections import OrderedDict
from enum import Enum
from typing import get_args
import torch
@@ -33,6 +34,11 @@ from vllm_omni.lora.utils import stable_lora_int_id
logger = init_logger(__name__)
class LoRABackend(str, Enum):
PEFT = "peft"
DISTILL = "distill"
class DiffusionLoRAManager:
"""Manager for LoRA adapters in diffusion models.