Files
vLLM-Proxy/src/services/gpu.py
2025-09-10 05:10:51 +02:00

9 lines
291 B
Python

from typing import Dict
def get_gpu_info() -> Dict:
# use the command "amdgpu_top -d -J"
# it will return the gpu information
# this function should just return all information of the one gpu it will find. we just expect it to be one gpu. no handling of multiple ones.
...