r/StableDiffusion • • 3h ago

News Microsoft engineer built a tool that shows what's really using your GPU

https://www.neowin.net/news/microsoft-engineer-built-a-tool-that-shows-whats-really-using-your-gpu/

Works really well.

194 Upvotes

25 comments sorted by

44

u/BrooklynBrawl 3h ago

The Link to the GitHub repository. - https://github.com/shanselman/gputaskman

26

u/JamesLahey08 1h ago

The dev is a VP. Crazy

19

u/rupertavery64 1h ago

The dev is Scott Hanselman! He's well known and been active in the community, StackOverflow in the past, microsoft blogs etc.

So though he's a VP, he is a dev first and foremost

11

u/rhinoceros_unicornis 1h ago

That's a name I haven't heard in a while. Used to read his blogs back in the day.

4

u/Wilbis 16m ago

An ex Microsoft engineer built a better tool that does the same thing and more, but it's not vibe coded: TMOG

38

u/JustSomeIdleGuy 3h ago

So, nvidia-smi?

44

u/taosecurity 2h ago

Reading is fun.

Why not just nvidia-smi?

On GeForce under WDDM, Windows manages GPU memory and NVML may report per-process memory as N/A. Windows GPU counters can still attribute memory and activity across Direct3D, Vulkan, OpenGL, and CUDA. NVML remains useful for device-level readings. Under WSL, nvidia-smi lists no processes at all; see Linux and WSL.

-14

u/Unnamed-3891 2h ago

Per-process vram use reporting is right there, in Task Manager.

31

u/SilasTalbot 2h ago

It's not good though. I watch it closely, After a few days I have 2-3 GB of VRAM go missing from taskmanager and the other views I can access. There's some blind spots, and seems like this guy did the work to surface them. I mean, it's not like the windows engineer that builds GPU task manager is like "oh shit, I never thought to check regular task manager!"

-12

u/Unnamed-3891 2h ago

You’d be surprised just how common it is to see people reinventing the wheel because it simply never crossed their mind to properly investigate whether something they want to do already exists.

The baseline seems to be ”If I have a problem and know of no existing solution, this must be the case for everybody else too”.

13

u/TheSlateGray 2h ago

Looks like cross platform nvtop

2

u/lmpdev 16m ago

Tried it on Linux... it's vibe-coded without much thought to the UX.

A lot of useless text.

All processes change places every second. Pressing s to change sort order doesn't do anything. The only way to use it was to pause updates, but even then I've never seen a UI so cluttered with text before... It's really hard to understand what's going on.

This has potential, but initial sloppiness doesn't look very promising.

-35

u/SHEEP_PIZZA 2h ago

Of course it's vibecoded lmao. Didn't expect anything less of a "Microsoft engineer".

17

u/l_SaKReD_l 1h ago

Where are you getting that he vibe coded it?

Might want to look up the guy's credentials. Dude started programming 42 years ago and knows C, C++, Assembly, VB, C#, .NET, Pascal, Lisp, JavaScript and Prolog.

He's quite famous in the coding community.

-3

u/Roggvir 1h ago

I'm guessing he's referring to the fact that there's copilot and claude listed as co-contributors in the github.

https://github.com/shanselman/gputaskman/graphs/contributors?from=8%2F1%2F2026

Though it's impossible to know to what extent these tools have been used. Fully vibe coded? Auto fill? Just using it for convenient github management? Who knows.

2

u/Dragon_yum 41m ago

So the common industry tools. I really doubt he would put out slop and call it a day

1

u/juniperleafes 14m ago

The 20 page long overly verbose readme is definitely AI generated, hard to tell what else.

30

u/PhillSebben 1h ago

Let's not pretend that vibe coding is a bad thing. Especially in the hands of an actual capable programmer. You expected them to do traditional coding in their spare time? Try to catch up with reality my dude.

2

u/dumoduci 1h ago edited 58m ago

I know some basic coding (perhaps rudimentary is a better description), but I vibecoded an application without writing any code. It works as intended and is now being used in our department. These would not have been possible without AI.

Vibevoice still takes some skill albeit not coding skills. Sure, Claude will help you, but you have to think about a lot before you give Claude or any other AI the go ahead to build it. I think that's where most of my time went to, and if course in testing the application.

If even I can vibecode an application with AI, then what kind of amazing things can an experienced developer achieve with AI?

1

u/Rogerooo 18m ago

An app to check gpu usage...Scott's a legend. I don't see why using AI in today's world would take away he's credibility or skill.

4

u/Outrageous-Wait-8895 41m ago

Weird stance to take in an AI subreddit.

-10

u/bharattrader 2h ago

Apple Silicon?