crystian / ComfyUI-Crystools

A powerful set of tools for ComfyUI
MIT License
735 stars 39 forks source link

CPU and GPU data and resource managers do not match #37

Closed mufenglyf closed 7 months ago

mufenglyf commented 7 months ago

Like the image below, GPU and CPU data will fluctuate, but there is a significant difference 20240303133507

crystian commented 7 months ago

I understand, but I use utilities to get this information for the CPU I use psutil.cpu_percent and for GPU I use pynvml.nvmlDeviceGetUtilizationRates (from the driver), so I can't improve it; I only show the data from there.

¯_(ツ)_/¯

If you find a better way to get this information, it is welcome!