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

Method put

deepspeed/compile/input_storage.py:154–163  ·  view source on GitHub ↗

Store real inputs Args: real_inputs: The real inputs to store (can be tensors, lists, tuples, etc.)

(self, real_inputs: Any)

Source from the content-addressed store, hash-verified

152 return stored_value
153
154 def put(self, real_inputs: Any) -> None:
155 """
156 Store real inputs
157
158 Args:
159 real_inputs: The real inputs to store (can be tensors, lists, tuples, etc.)
160 """
161 stored_inputs = self._store_value(real_inputs)
162 self._stored_inputs = stored_inputs
163 self._has_data = True
164
165 def get(self) -> Any:
166 """

Callers 10

backend_fnFunction · 0.95
_dist_runMethod · 0.45
_cpu_gloo_worker_entryFunction · 0.45
async_stepMethod · 0.45
closeMethod · 0.45
run_map_helperMethod · 0.45
saveMethod · 0.45
commitMethod · 0.45
cleanupMethod · 0.45

Calls 1

_store_valueMethod · 0.95

Tested by 1

_cpu_gloo_worker_entryFunction · 0.36