MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / LoadMicroBatch

Class LoadMicroBatch

deepspeed/runtime/pipe/schedule.py:387–396  ·  view source on GitHub ↗

Load a micro-batch into a buffer. Roughly: .. code-block:: python buffers['inputs'][buffer_id] = next(data_iter)

Source from the content-addressed store, hash-verified

385
386# IO
387class LoadMicroBatch(BufferOpInstruction):
388 """Load a micro-batch into a buffer.
389
390 Roughly:
391
392 .. code-block:: python
393
394 buffers['inputs'][buffer_id] = next(data_iter)
395 """
396 pass
397
398
399# Compute

Callers 3

stepsMethod · 0.85
stepsMethod · 0.85
stepsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected