nvidia−smi(1) NVIDIA nvidia−smi(1)
−c, −−compute−mode=MODE
Set the compute mode for the target GPUs. See the (GPU ATTRIBUTES)section for a description of com-
pute mode. Requires root. Will impact all GPUs unless a single GPU is specified using the −i argument.
The effect of this operation is immediate. However, itdoes not persist across reboots. After each reboot
compute mode will reset to "DEFAULT".
−dm TYPE, −−driver−model=TYPE
−fdm TYPE, −−force−driver−model=TYPE
Enable or disable TCC drivermodel. For Windows only.Requires administrator privileges. −dm will fail
if a display is attached, but −fdm will force the drivermodel to change. Will impact all GPUs unless a sin-
gle GPU is specified using the −i argument. A reboot is required for the change to takeplace. See Driver
Model for more information on Windows drivermodels.
−−gom=MODE
Set GPU Operation Mode: 0/ALL_ON, 1/COMPUTE, 2/LOW_DP Supported on GK110 M-class and X-
class Tesla products from the Kepler family.Not supported on Quadro and Tesla C-class products.
LOW_DP and ALL_ON are the only modes supported on GeForce Titan devices. Requires administrator
privileges. See GPU Operation Mode for more information about GOM. GOM changes takeeffect after
reboot. The reboot requirement might be removedinthe future. Compute only GOMs don’tsupport
WDDM (Windows Display DriverModel)
−r,−−gpu−reset
Trigger a reset of one or more GPUs. Can be used to clear GPU HW and SW state in situations that would
otherwise require a machine reboot. Typically useful if a double bit ECC error has occurred. Optional −i
switch can be used to target one or more specific devices. Without this option, all GPUs are reset.
Requires root. There can't be anyapplications using these devices (e.g. CUDAapplication, graphics appli-
cation likeXserver,monitoring application likeother instance of nvidia-smi). There also can't be anycom-
pute applications running on anyother GPU in the system.
AnyGPUs with NVLink connections to a GPU being reset must also be reset in the same command. This
can be done either by omitting the −i switch, or using the −i switch to specify the GPUs to be reset. If the
−i option does not specify a complete set of NVLink GPUs to reset, this command will issue an error iden-
tifying the additional GPUs that must be included in the reset command.
GPU reset is not guaranteed to work in all cases. It is not recommended for production environments at this
time. In some situations there may be HW components on the board that fail to revert back to an initial
state following the reset request. This is more likely to be seen on Fermi-generation products vs. Kepler,
and more likely to be seen if the reset is being performed on a hung GPU.
Following a reset, it is recommended that the health of each reset GPU be verified before further use. The
nvidia-healthmon tool is a good choice for this test. If anyGPU is not healthyacomplete reset should be
instigated by power cycling the node.
Visit http://developer.nvidia.com/gpu-deployment-kit to download the GDK and nvidia-healthmon.
−lgc, −−lock−gpu−clocks=MIN_GPU_CLOCK,MAX_GPU_CLOCK
Specifies <minGpuClock,maxGpuClock> clocks as a pair (e.g. 1500,1500) that defines closest desired
locked GPU clock speed in MHz. Input can also use be a singular desired clock value (e.g. <GpuClock-
Value>). Supported on Volta+. Requires root
nvidia−smi 440.00 2019/8/6 4