File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -344,9 +344,6 @@ class StableDiffusionGGML {
344344 LOG_INFO (" Using flash attention in the diffusion model" );
345345 }
346346 if (sd_version_is_sd3 (version)) {
347- if (sd_ctx_params->diffusion_flash_attn ) {
348- LOG_WARN (" flash attention in this diffusion model is currently not implemented!" );
349- }
350347 cond_stage_model = std::make_shared<SD3CLIPEmbedder>(clip_backend,
351348 offload_params_to_cpu,
352349 model_loader.tensor_storages_types );
@@ -1555,7 +1552,7 @@ enum scheduler_t str_to_schedule(const char* str) {
15551552}
15561553
15571554void sd_ctx_params_init (sd_ctx_params_t * sd_ctx_params) {
1558- *sd_ctx_params = {};
1555+ *sd_ctx_params = {};
15591556 sd_ctx_params->vae_decode_only = true ;
15601557 sd_ctx_params->vae_tiling = false ;
15611558 sd_ctx_params->free_params_immediately = true ;
@@ -1639,7 +1636,7 @@ char* sd_ctx_params_to_str(const sd_ctx_params_t* sd_ctx_params) {
16391636}
16401637
16411638void sd_sample_params_init (sd_sample_params_t * sample_params) {
1642- *sample_params = {};
1639+ *sample_params = {};
16431640 sample_params->guidance .txt_cfg = 7 .0f ;
16441641 sample_params->guidance .img_cfg = INFINITY;
16451642 sample_params->guidance .distilled_guidance = 3 .5f ;
You can’t perform that action at this time.
0 commit comments