We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47da42d commit 3a9ee99Copy full SHA for 3a9ee99
comfy/model_base.py
@@ -252,7 +252,7 @@ def memory_required(self, input_shape):
252
dtype = self.manual_cast_dtype
253
#TODO: this needs to be tweaked
254
area = input_shape[0] * math.prod(input_shape[2:])
255
- return (area * comfy.model_management.dtype_size(dtype) / 50) * (1024 * 1024)
+ return (area * comfy.model_management.dtype_size(dtype) * 0.01) * (1024 * 1024)
256
else:
257
#TODO: this formula might be too aggressive since I tweaked the sub-quad and split algorithms to use less memory.
258
0 commit comments