@@ -99,16 +99,15 @@ type GRPC struct {
99
99
}
100
100
101
101
type Diffusers struct {
102
- CUDA bool `yaml:"cuda"`
103
- PipelineType string `yaml:"pipeline_type"`
104
- SchedulerType string `yaml:"scheduler_type"`
105
- EnableParameters string `yaml:"enable_parameters"` // A list of comma separated parameters to specify
106
- CFGScale float32 `yaml:"cfg_scale"` // Classifier-Free Guidance Scale
107
- IMG2IMG bool `yaml:"img2img"` // Image to Image Diffuser
108
- ClipSkip int `yaml:"clip_skip"` // Skip every N frames
109
- ClipModel string `yaml:"clip_model"` // Clip model to use
110
- ClipSubFolder string `yaml:"clip_subfolder"` // Subfolder to use for clip model
111
- ControlNet string `yaml:"control_net"`
102
+ CUDA bool `yaml:"cuda"`
103
+ PipelineType string `yaml:"pipeline_type"`
104
+ SchedulerType string `yaml:"scheduler_type"`
105
+ EnableParameters string `yaml:"enable_parameters"` // A list of comma separated parameters to specify
106
+ IMG2IMG bool `yaml:"img2img"` // Image to Image Diffuser
107
+ ClipSkip int `yaml:"clip_skip"` // Skip every N frames
108
+ ClipModel string `yaml:"clip_model"` // Clip model to use
109
+ ClipSubFolder string `yaml:"clip_subfolder"` // Subfolder to use for clip model
110
+ ControlNet string `yaml:"control_net"`
112
111
}
113
112
114
113
// LLMConfig is a struct that holds the configuration that are
@@ -166,6 +165,8 @@ type LLMConfig struct {
166
165
YarnAttnFactor float32 `yaml:"yarn_attn_factor"`
167
166
YarnBetaFast float32 `yaml:"yarn_beta_fast"`
168
167
YarnBetaSlow float32 `yaml:"yarn_beta_slow"`
168
+
169
+ CFGScale float32 `yaml:"cfg_scale"` // Classifier-Free Guidance Scale
169
170
}
170
171
171
172
// AutoGPTQ is a struct that holds the configuration specific to the AutoGPTQ backend
0 commit comments