Hi,
I want to share a new open source package I’ve created to interactively visualize Pytorch models in notebooks (like Jupyter, Google Colab etc). It is called torchvista.
With one line of code, you can trace and visualize the forward pass of your Pytorch model.

It gives you an interactive graph of the model showing how tensors are passed, and lets you explore very large models through expanding/collapsing submodules of interest.
Here are some web-based demos of real-world models if you want check them out before trying torchvista yourself: Demos page
You can also find a Google Colab tutorial on the Github page.
I hope this is useful, and am curious to get your feedback!
Thank you