mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-23 09:39:17 +08:00
Mirrors the PACKAGE_VERSIONS cache in utils/install_util.py. Installed package versions don't change over the lifetime of the process, so a one-shot module-level cache makes /system_stats polling effectively free instead of doing N importlib.metadata.version() lookups per call.