Feb. 14, 2024, 3:03 p.m. | /u/ethansmith2000

Machine Learning www.reddit.com

[https://github.com/ethansmith2000/epic-pytorch-debugger](https://github.com/ethansmith2000/epic-pytorch-debugger)


To start this is very very WIP, but even in its current state its been quite useful in getting detailed reports on the tensors involved in an exception, catching NaNs or other odd values, and also keeping track of non-pytorch variables.
And the best part, is all it requires is putting a decorator over your function.

here's some examples

https://preview.redd.it/31m5jp34ijic1.png?width=1626&format=png&auto=webp&s=5b3d64e32e2d5fda7f9f1db4ffec039c5db21db7



https://preview.redd.it/973909g1ijic1.png?width=1148&format=png&auto=webp&s=7ad349b861d4e5863c478ee6e39e272040adc647

I'm putting it out open source hoping that others can benefit from it and lose less time …

current examples exception function machinelearning part pytorch reports state values variables

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US