2026-04-18 10:56:22 +08:00
|
|
|
# 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."""
|
|
|
|
|
|
2026-04-29 19:38:22 +08:00
|
|
|
backend: Literal["nccl", "ipc"] = "nccl"
|
2026-04-18 10:56:22 +08:00
|
|
|
"""The backend to use for weight transfer."""
|