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

Function offload_parameter

csrc/compile/z3.cpp:677–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675}
676
677void offload_parameter(at::Tensor tensor, long graph_id, long ds_id)
678{
679 auto executor = getExecutor<Z3CustomOpExecutor>(graph_id, executors);
680 executor->offloadParameter(tensor, ds_id);
681}
682void reload_parameter_meta(at::Tensor param_tensor, long graph_id, long ds_id) {}
683void offload_parameter_meta(at::Tensor tensor, long graph_id, long ds_id) {}
684

Callers

nothing calls this directly

Calls 1

offloadParameterMethod · 0.80

Tested by

no test coverage detected