Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ _EngineBackwardGraphState
Class
_EngineBackwardGraphState
deepspeed/runtime/engine.py:437–441 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
435
436
437
class
_EngineBackwardGraphState:
438
439
def
__init__(self):
440
self.active = False
441
self.graph_task_ids = []
442
443
444
_ENGINE_BACKWARD_GRAPH_CONTEXT = ContextVar(
"deepspeed_engine_backward_graph_context"
, default=())
Callers
1
new_state
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected