HackerTrans
TopNewTrendsCommentsPastAskShowJobs

roanakb

no profile record

Submissions

What Neptune.ai Got Right (and How to Keep It)

trainy.ai
2 points·by roanakb·5 माह पहले·0 comments

Show HN: Pluto – open-source Experiment Tracker for Neptune users

github.com
2 points·by roanakb·5 माह पहले·0 comments

GPU utilization can be a misleading metric

trainy.ai
144 points·by roanakb·2 वर्ष पहले·36 comments

Show HN: GPU Health Controller

trainy.ai
2 points·by roanakb·2 वर्ष पहले·0 comments

GPT-4 can catch edge cases in your code using unit tests

docs.sweep.dev
3 points·by roanakb·3 वर्ष पहले·0 comments

Monitor and Optimize your large-scale model training

trainy.ai
13 points·by roanakb·3 वर्ष पहले·2 comments

comments

roanakb
·2 वर्ष पहले·discuss
Unfortunately, SM efficiency is not accessible via nvidia-smi. The best methods to track it would be to:

1. Profile your model with Pytorch Profiler 2. Export metrics with Nvidia DCGM
roanakb
·2 वर्ष पहले·discuss
oh this looks great, thank you for bringing this up! I'll have to give it a try, but seems like the FSDP limitation on torch.compile might carry over?
roanakb
·2 वर्ष पहले·discuss
Yup, you'll see 100% utilization on a kernel over a time period if it's considered active, which includes just having a single thread executing [1]. SM occupancy is great but can be a little difficult to interpret since you're not simply trying to maximize it, unlike SM efficiency.

[1]: https://pytorch.org/blog/pytorch-profiler-1.9-released/#gpu-...
roanakb
·2 वर्ष पहले·discuss
Nice, seems like ML Productivity Goodput is a pretty well thought-out metric to understand the overall efficiency of your cluster. I'll consider adding this into our cluster management platform. Only potential drawbacks I'd guess are it being somewhat difficult to compute since it relies on metrics like MFUs, and not something we can observe layer-by-layer to understand inefficient kernels, but I'll take a deeper look. Thanks!
roanakb
·2 वर्ष पहले·discuss
Agreed, roofline plots would be quite powerful in this context. From a quick search, seems like the only way to create a roofline plot for your model would be to use Nsight [1]? Would be interested to know if there are any simpler tools, since one of the big benefits of SM efficiency is how easily the metric is accessed.

[1]: https://www.nvidia.com/en-us/on-demand/session/gtcspring21-s...
roanakb
·2 वर्ष पहले·discuss
Yup, similar to SM efficiency in that sense too. If you aren't seeing >80%, there is certainly time left on the table. But getting a high SM efficiency value doesn't guarantee you're making good use of the hardware as well. (still a better proxy than GPU util though)
roanakb
·2 वर्ष पहले·discuss
this is a good one for debugging rdma: https://docs.redhat.com/en/documentation/red_hat_enterprise_...
roanakb
·2 वर्ष पहले·discuss
Looks great, you guys made it really easy to integrate!
roanakb
·3 वर्ष पहले·discuss
Thanks! Let me know if there are any features you'd like to see added.
roanakb
·3 वर्ष पहले·discuss
Looks really cool! Nice work.