From 0c95f229073c357d6cacd803b1e5980369485173 Mon Sep 17 00:00:00 2001 From: Rattus Date: Thu, 23 Oct 2025 21:24:29 +1000 Subject: [PATCH] sd: Implement RAM getter for CLIP --- comfy/sd.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/comfy/sd.py b/comfy/sd.py index ad2f3bd44..b7e1c77a1 100644 --- a/comfy/sd.py +++ b/comfy/sd.py @@ -143,6 +143,9 @@ class CLIP: n.apply_hooks_to_conds = self.apply_hooks_to_conds return n + def get_ram_usage(self): + return self.patcher.get_ram_usage() + def add_patches(self, patches, strength_patch=1.0, strength_model=1.0): return self.patcher.add_patches(patches, strength_patch, strength_model)