File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ const char* model_version_to_str[] = {
36
36
" SVD" ,
37
37
" SD3.x" ,
38
38
" Flux" ,
39
- " Flux Fill" };
39
+ " Flux Fill" ,
40
+ " Flux Control" ,
41
+ " Flex.2" ,
42
+ };
40
43
41
44
const char * sampling_methods_str[] = {
42
45
" Euler A" ,
@@ -815,15 +818,15 @@ class StableDiffusionGGML {
815
818
const std::vector<float >& sigmas,
816
819
int start_merge_step,
817
820
SDCondition id_cond,
818
- ggml_tensor* denoise_mask = NULL ) {
821
+ ggml_tensor* denoise_mask = NULL ) {
819
822
std::vector<int > skip_layers (guidance.slg .layers , guidance.slg .layers + guidance.slg .layer_count );
820
823
821
824
// TODO (Pix2Pix): separate image guidance params (right now it's reusing distilled guidance)
822
825
823
- float cfg_scale = guidance.txt_cfg ;
826
+ float cfg_scale = guidance.txt_cfg ;
824
827
float img_cfg_scale = guidance.img_cfg ;
825
- float slg_scale = guidance.slg .scale ;
826
-
828
+ float slg_scale = guidance.slg .scale ;
829
+
827
830
float min_cfg = guidance.min_cfg ;
828
831
829
832
if (img_cfg_scale != cfg_scale && !sd_version_use_concat (version)) {
You can’t perform that action at this time.
0 commit comments