CUDA profiling Hugging Face code?

Hi, I am a beginner in using Hugging Face and other Python-based models. I just want to profile a model using NVIDIA nsight-compute. Is there anyone who had tried using ncu to profile these models? I am looking specifically to profile GPU occupancy.

Thanks. Also, apologies if this should not be posted here for any reason like wrong topic etc.