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

Function offload_tensor

csrc/compile/z3.cpp:640–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638at::Tensor wait_allgather_meta(at::Tensor v, long graph_id, long ds_id) { return v; }
639
640at::Tensor offload_tensor(at::Tensor tensor, long graph_id, long id)
641{
642 auto executor = getExecutor<Z3CustomOpExecutor>(graph_id, executors);
643 return executor->offloadTensor(tensor, id);
644}
645
646at::Tensor reload_tensor(at::Tensor tensor, long graph_id, long id)
647{

Callers

nothing calls this directly

Calls 1

offloadTensorMethod · 0.80

Tested by

no test coverage detected