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

Class _EngineBackwardGraphState

deepspeed/runtime/engine.py:438–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436
437
438class _EngineBackwardGraphState:
439
440 def __init__(self):
441 self.active = False
442 self.graph_task_ids = []
443
444
445_ENGINE_BACKWARD_GRAPH_CONTEXT = ContextVar("deepspeed_engine_backward_graph_context", default=())

Callers 1

new_stateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected