MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / TORCH_LIBRARY

Function TORCH_LIBRARY

csrc/cpu/comm/shm_interface.cpp:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134TORCH_LIBRARY(deepspeed, m)
135{
136 m.def("inference_all_reduce(Tensor self) -> Tensor");
137 m.def("inference_all_reduce_(Tensor(a!) self) -> Tensor(a!)");
138}
139
140torch::Tensor inference_all_reduce_meta(const torch::Tensor& self_)
141{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected