9 lines
291 B
Python
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.
|
|
...
|