Comgra: A library for debugging and understanding neural networks
I'm a machine learning engineer and researcher. I got fed up with how difficult it is to understand why neural networks behave the way they do, so i wrote a library to help with it. Comgra (computation graph analysis) is a library you can use with pytorch to extract all the tensor data you care about and visualize it graphically in a browser. This allows for a much more detailed analysis of what is happening than the usual approach of using tensorboard. You can go investigate tensors as training proceeds, drill down into individual neurons, inspect single data sets that are of special…
Comgra: A library for debugging and understanding neural networks launched on September 4, 2023 with 66 votes, #1,264 of 4,228 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 3 years on.
In plain words
Comgra is a Python library for PyTorch that helps machine learning engineers and researchers understand neural network behavior by extracting tensor data and visualizing it in a browser-based interface. It allows users to inspect individual neurons, track gradients, compare training runs, and drill down into specific datasets during training—offering more detailed analysis than standard tools like TensorBoard. The library is designed to speed up hypothesis testing and reveal how different network components interact.
written from the facts on this page · September 2026
From the sources
A tool to analyze and debug neural networks in pytorch. Use a GUI to traverse the computation graph and view the data from many different angles at the click of a button. - FlorianDietz/comgra
In the maker’s words, at launch
I'm a machine learning engineer and researcher. I got fed up with how difficult it is to understand why neural networks behave the way they do, so i wrote a library to help with it. Comgra (computation graph analysis) is a library you can use with pytorch to extract all the tensor data you care about and visualize it…
Does a similar job
all alternatives →- AVA Visual and Interactive Guide to the Basics of Neural Networks2016 · jalammar.github.io · ▲63
Discussions: Hacker News (63 points, 8 comments), Reddit r/programming (312 points, 37 comments) Translations: Arabic, French, Spanish Update: Part 2 is now live: A Visual And Interactive Look at Basic Neural Network Math Motivation I’m not a machine learning expert. I’m a software engineer by train
I built a tensor library from scratch in C++/CUDA2025 · github.com · ▲119Hi HN, Over the past few months, I've been building `dsc`, a tensor library from scratch in C++/CUDA. My main focus has been on getting the basics right, prioritizing a clean API, simplicity, and clear observability for running small LLMs locally. The key features are: - C++ core with CUDA support written from scratch. - A familiar, PyTorch-like Python API. - Runs real models: it's complete enough to load a model like Qwen from HuggingFace and run inference on both CUDA and CPU with a single line change[1]. - Simple, built-in observability for both Python and C++. Next on the roadmap is…
XY – A Fast, composable, GPU-accelerated interactive plotting libraryJul 2026 · github.com · ▲136Ultra-fast and customizable Python charts. Contribute to reflex-dev/xy development by creating an account on GitHub.
TDB: A Visual Debugger for TensorFlow2015 · github.com · ▲144Interactive, node-by-node debugging and visualization for TensorFlow - ericjang/tdb

TensorSpace.js – Neural network 3D visualization framework2018 · github.com · ▲167Neural network 3D visualization framework, build interactive and intuitive model in browsers, support pre-trained deep learning models from TensorFlow, Keras, TensorFlow.js - GitHub - tensorspace-team/tensorspace: Neural network 3D visualization framework, build interactive and intuitive model in br
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 29d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part