Frequently Used Tools
Frequently Used Tools
Translated from Chinese with AI · Read the original
GPU
nvidia-smi -l 1gpustat -i 1 --show-powernvtop(install:sudo apt install nvtop)nvidia-smi dmon -s u -c 100, NVIDIA accelerates video/image decoding without using general-purpose SM computation- sm: streaming multiprocessor utilization
- mem: gpu memory utilization
- enc: video encoder utilization(NVENC)
- dec: video decoder utilization(NVDEC)
- jpg: jpeg decoder utilization
- ofa: optical flow accelerator
nsys profile --output=report uv run python run.py --model Qwen3-VL-2B-Instruct --data MM-Math*
Python
py-spy dump --pid 2473py-spy record -o flamegraph.svg --pid 2473 --duration 60(uses ptrace under the hood)py-spy top --pid 2473(inspect the cost of individual functions)
System
gdb -p 2473