feat: Replace TeaCache/DeepCache with unified Accelerator Options

- Remove individual TeaCache and DeepCache modules
- Create new unified 'Runware Accelerator Options' node
- Support all accelerator parameters: fbcache, cacheDistance, teaCache, teaCacheDistance, deepCache, deepCacheInterval, deepCacheBranchId
- Add cache step control: cacheStartStep, cacheStartStepPercentage, cacheEndStep, cacheEndStepPercentage, cacheMaxConsecutiveSteps
- Update imageInference.py to support new accelerator system
This commit is contained in:
Sirshendu Ganguly
2025-10-01 12:16:58 -04:00
parent 02c84044b2
commit e589062ea4
5 changed files with 147 additions and 84 deletions
+2 -2
View File
@@ -129,7 +129,7 @@ class txt2img:
},
"optional": {
"Accelerator": ("RUNWAREACCELERATOR", {
"tooltip": "Connect a Runware Accelerator Node (TeaCache, DeepCache) to speed up the image generation process.",
"tooltip": "Connect a Runware Accelerator Options Node to configure caching and acceleration settings.",
}),
"Lora": ("RUNWARELORA", {
"tooltip": "Connect a Runware Lora From Lora Search Node Or Lora Combine For Multiple Lora's Together.",
@@ -260,7 +260,7 @@ class txt2img:
genConfig[0]["promptWeighting"] = "sdEmbeds"
else:
genConfig[0]["promptWeighting"] = "compel"
if(runwareAccelerator is not None):
if (runwareAccelerator is not None):
genConfig[0]["acceleratorOptions"] = runwareAccelerator
if (runwareLora is not None):
if (isinstance(runwareLora, list)):