Adjust default values for LCM nodes

This commit is contained in:
aszc-dev
2023-11-03 01:29:50 +01:00
parent 1ebd9e72ae
commit eeae4bd6e3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@ class CoreMLSamplerLCM(CoreMLSampler):
@classmethod
def INPUT_TYPES(s):
old_required = CoreMLSampler.INPUT_TYPES()["required"].copy()
old_required["steps"][1]["default"] = 4
old_required.pop("negative")
old_required.pop("sampler_name")
old_required.pop("scheduler")
+1 -1
View File
@@ -15,7 +15,7 @@ class CoreMLConverterLCM:
"required": {
"height": ("INT", {"default": 512, "min": 512, "max": 768, "step": 8}),
"width": ("INT", {"default": 512, "min": 512, "max": 768, "step": 8}),
"batch_size": ("INT", {"default": 4, "min": 1, "max": 64}),
"batch_size": ("INT", {"default": 1, "min": 1, "max": 64}),
"compute_unit": (
[
ComputeUnit.CPU_AND_NE.name,