alt.hn

4/21/2025 at 12:21:27 AM

Show HN: Keep your PyTorch model in VRAM by hot swapping code

https://github.com/valine/training-hot-swap/

by valine

4/21/2025 at 5:22:33 AM

We use python notebooks for that functionality in the early stages of script testing. Load a cell up top with the model, then do your stuff below, and once things look good convert it to a normal python script.

by NitpickLawyer

4/21/2025 at 4:34:10 AM

Tensor visualizer app itself already looks pretty interesting

by pizza

4/21/2025 at 4:38:13 AM

Thanks, I will do a deep writeup on that at some point.

by valine

4/21/2025 at 6:30:30 AM

Are you running both DearImGui visualisation and training locally? If not, how can one use it in the client-server mode? I think this is the most common requirement for visualisation libraries in Deep Learning.

by kombine

4/21/2025 at 6:40:20 AM

The rendering is done with OpenGL, and for remote viewing I just render to an offscreen framebuffer and stream it back to the client with WebRTC. The code for that isn’t public yet, still needs some cleanup.

by valine

4/21/2025 at 1:21:30 PM

Yeah, sadly the link to their visualizations is gated behind X.com

by iaw

4/21/2025 at 2:03:52 PM

you can use xcancel.com by adding cancel after the x url

by CheeksTheGeek

4/21/2025 at 3:08:04 AM

[flagged]

by mathibela

4/21/2025 at 3:07:44 AM

[flagged]

by mathibela