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

Function register_backward_frame

deepspeed/compile/patch_compiled_func.py:96–98  ·  view source on GitHub ↗

Associate the next AOT compiled function with its DeepCompile frame.

(frame_key)

Source from the content-addressed store, hash-verified

94
95
96def register_backward_frame(frame_key):
97 """Associate the next AOT compiled function with its DeepCompile frame."""
98 backward_frame_keys.append(frame_key)
99
100
101def unpatch_compiled_func():

Calls 1

appendMethod · 0.80