Browse Source

Add force fp config for comfy

pull/438/head
ionite34 11 months ago
parent
commit
5e0a948009
No known key found for this signature in database
GPG Key ID: B3404C5F3827849B
  1. 7
      StabilityMatrix.Core/Models/Packages/ComfyUI.cs

7
StabilityMatrix.Core/Models/Packages/ComfyUI.cs

@ -130,6 +130,13 @@ public class ComfyUI(
] ]
}, },
new LaunchOptionDefinition new LaunchOptionDefinition
{
Name = "Force Floating Point Precision",
Type = LaunchOptionType.Bool,
InitialValue = Compat.IsMacOS ? "--force-fp16" : null,
Options = ["--force-fp32", "--force-fp16"]
},
new LaunchOptionDefinition
{ {
Name = "Disable Xformers", Name = "Disable Xformers",
Type = LaunchOptionType.Bool, Type = LaunchOptionType.Bool,

Loading…
Cancel
Save