Signed-off-by: hao-aaron <ahao@anyscale.com> Signed-off-by: Aaron Hao <ahao@anyscale.com> Signed-off-by: ahao-anyscale <ahao@anyscale.com>
14 lines
370 B
Python
14 lines
370 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
from typing import Literal
|
|
|
|
from vllm.config.utils import config
|
|
|
|
|
|
@config
|
|
class WeightTransferConfig:
|
|
"""Configuration for weight transfer during RL training."""
|
|
|
|
backend: Literal["nccl", "ipc"] = "nccl"
|
|
"""The backend to use for weight transfer."""
|