/Tech5h ago

Mark Saroufim shares a kernel workaround to run NVIDIA Nsight Compute profiling on rented cloud GPUs

Setting NVreg_RestrictProfilingToAdminUsers to zero via modprobe unlocks profiling.

728043.1K
Original post
vik@vikhyatk#1292inTech

anyone know where i can find an L4 GPU rental that also lets me run ncu?

5:55 PM · Jun 10, 2026 · 2.5K Views
Sentiment

Positive users are optimistic about Colab suggestions and sudo commands to enable NCU profiling on L4 GPU rentals, while negative users note that most providers restrict such access.

Pos
66.7%
Neg
33.3%
3 comments with sentiment.
Cluster Engagement
Posts from X
Most Activity
Most Activity
VIEWS669BOOKMARKS5LIKES13REPLIES1
Mark Saroufim@marksaroufim

@vikhyatk You can do it on any neocloud that gives you sudo access

echo "options nvidia NVreg_RestrictProfilingToAdminUsers=0" | sudo tee /etc/modprobe.d/nvprof.conf sudo reboot

vik@vikhyatk

anyone know where i can find an L4 GPU rental that also lets me run ncu?

3hViews 669Likes 13Bookmarks 5
Léo@Leik0w0

@vikhyatk Buy one and make it a CI

3hViews 31Likes 1
vik@vikhyatk

@ptntlbyrnths looks like this might work, trying it out!

4hViews 23Likes 1
vik@vikhyatk

@Leik0w0 will probably end up doing this

3hViews 26
Mayz@lunan_ai

@vikhyatk good luck finding one that lets you run ncu. most rental terms lock that down immediately

4h
Rugbist@rugbist_

@vikhyatk people usually say just use http://vast.ai for cheap L4s but the fine print on ncu support kills it half the time

you try lambda or paperspace yet?

5h