mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
@@ -86,6 +86,9 @@ def get_nvml():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
nvml_initialized = True
|
||||
import pynvml # pylint: disable=redefined-outer-name
|
||||
pynvml.nvmlInit()
|
||||
from rich import print as rprint
|
||||
for gpu in get_nvml():
|
||||
rprint(gpu)
|
||||
|
||||
Reference in New Issue
Block a user