Signed-off-by: AndyZhou952 <jzhoubc@connect.ust.hk> Signed-off-by: Andy Zhou <jzhoubc@connect.ust.hk> Signed-off-by: dongbo910220 <1275604947@qq.com> Signed-off-by: Andy Zhou <46011930+AndyZhou952@users.noreply.github.com> Signed-off-by: Samit <285365963@qq.com> Co-authored-by: dongbo910220 <1275604947@qq.com> Co-authored-by: Samit <285365963@qq.com>
21 lines
516 B
Python
21 lines
516 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
|
|
from __future__ import annotations
|
|
|
|
from vllm.lora.layers.replicated_linear import ReplicatedLinearWithLoRA
|
|
|
|
from .base_linear import DiffusionBaseLinearLayerWithLoRA
|
|
|
|
|
|
class DiffusionReplicatedLinearWithLoRA(
|
|
DiffusionBaseLinearLayerWithLoRA,
|
|
ReplicatedLinearWithLoRA,
|
|
):
|
|
"""
|
|
Diffusion ReplicatedLinear with LoRA.
|
|
Prioritize apply() in DiffusionBaseLinearLayerWithLoRA
|
|
"""
|
|
|
|
pass
|