torch.cuda.clock_rate
- torch.cuda.clock_rate(device=None)
Return the clock speed of the GPU SM in MHz (megahertz) over the past sample period as given by nvidia-smi.
- Parameters:
device (torch.device or ) – selected device. Returns statistic for the current device, given by , if is (default).