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

Function _patch_aot_constructor

tests/unit/compile/test_backend.py:116–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114
115
116def _patch_aot_constructor():
117 return patch_create_aot_dispatcher_function(graph_id=7,
118 z3_partition=False,
119 make_fw_graph=lambda gm, sample_inputs: gm.graph,
120 make_bw_graph=lambda gm, sample_inputs: gm.graph,
121 real_inputs=(torch.ones(1), ),
122 param_indices=[],
123 param_manager={},
124 frame_id=0,
125 frames_partitioned=set())
126
127
128def test_inductor_aot_constructor_patch_is_restorable():

Tested by

no test coverage detected