@@ -780,7 +780,7 @@ class StableDiffusionGGML {
780
780
int start_merge_step,
781
781
SDCondition id_cond,
782
782
std::vector<int > skip_layers = {},
783
- float slg_scale = 2.5 ,
783
+ float slg_scale = 0 ,
784
784
float skip_layer_start = 0.01 ,
785
785
float skip_layer_end = 0.2 ) {
786
786
size_t steps = sigmas.size () - 1 ;
@@ -1162,7 +1162,7 @@ sd_image_t* generate_image(sd_ctx_t* sd_ctx,
1162
1162
bool normalize_input,
1163
1163
std::string input_id_images_path,
1164
1164
std::vector<int > skip_layers = {},
1165
- float slg_scale = 2.5 ,
1165
+ float slg_scale = 0 ,
1166
1166
float skip_layer_start = 0.01 ,
1167
1167
float skip_layer_end = 0.2 ) {
1168
1168
if (seed < 0 ) {
@@ -1454,7 +1454,7 @@ sd_image_t* txt2img(sd_ctx_t* sd_ctx,
1454
1454
bool normalize_input,
1455
1455
const char * input_id_images_path_c_str,
1456
1456
std::vector<int > skip_layers = {},
1457
- float slg_scale = 2.5 ,
1457
+ float slg_scale = 0 ,
1458
1458
float skip_layer_start = 0.01 ,
1459
1459
float skip_layer_end = 0.2 ) {
1460
1460
LOG_DEBUG (" txt2img %dx%d" , width, height);
@@ -1557,7 +1557,7 @@ sd_image_t* img2img(sd_ctx_t* sd_ctx,
1557
1557
bool normalize_input,
1558
1558
const char * input_id_images_path_c_str,
1559
1559
std::vector<int > skip_layers = {},
1560
- float slg_scale = 2.5 ,
1560
+ float slg_scale = 0 ,
1561
1561
float skip_layer_start = 0.01 ,
1562
1562
float skip_layer_end = 0.2 ) {
1563
1563
LOG_DEBUG (" img2img %dx%d" , width, height);
0 commit comments