Rate this Page

torch.cuda.graphs.run_graph_instantiate_hooks#

torch.cuda.graphs.run_graph_instantiate_hooks(torch_cuda_graph)[source]#

Run every registered instantiate hook with the graph. Errors are swallowed so one consumer cannot break instantiate() for another.