Input-Dependent Power Usage in GPUs
<|reference_start|>Input-Dependent Power Usage in GPUs: GPUs are known to be power-hungry, and due to the boom in artificial intelligence, they are currently the major contributors to the high power demands of upcoming datacenters. Most GPU usage in these popular workloads consist of large general matrix-matrix multiplications (GEMMs), which have therefore been optimized to achieve high utilization of hardware resources. In this work, we show that modifying the input data to GEMMs, while maintaining the matrix shapes and sizes can notably change the power consumption of these kernels. We experiment with four kinds of input variations: value distribution, bit similarity, placement, and sparsity, across different data types. Our findings indicate that these variations can change the GPU power usage during GEMM by almost 40%. We hypothesize that input-dependent power usage variations occur due to changes in the number of bit flips in the GPUs. We propose leveraging this property through compiler and scheduler optimizations to manage power and reduce energy consumption.<|reference_end|>
@article{gregersen2024input-dependent,
    title={Input-Dependent Power Usage in GPUs},
    author={Theo Gregersen, Pratyush Patel, Esha Choukse},
    journal={arXiv preprint arXiv:2409.18324},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.18324},
    primaryClass={cs.AI}
}