Move custom_ops under layers; move _custom_ops.py → custom_all_reduce_ops.py (#14326)

This commit is contained in:
Lianmin Zheng
2025-12-03 10:33:37 -08:00
committed by GitHub
parent 20aad5b5ab
commit 46d7b35ec7
7 changed files with 4 additions and 313 deletions

View File

@@ -9,7 +9,7 @@ import ray
import torch
import torch.distributed as dist
from sglang.srt import _custom_ops as ops
import sglang.srt.distributed.device_communicators.custom_all_reduce_ops as ops
from sglang.srt.distributed import init_distributed_environment
from sglang.srt.distributed.communication_op import ( # noqa
tensor_model_parallel_all_reduce,