Hi so we don’t have a torch.jit.Graph object to begin with I think, all graph objects are torch._C.Graph, so I think if pytorchviz is using torch.jit.Graph that could be already a issue, you probably should submit a issue or a fix to the pytorchviz repo instead.