We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef085e commit 0b3251aCopy full SHA for 0b3251a
stable-diffusion.cpp
@@ -1742,7 +1742,7 @@ sd_image_t* txt2img(sd_ctx_t* sd_ctx,
1742
}
1743
1744
struct ggml_init_params params;
1745
- params.mem_size = static_cast<size_t>(10 * 1024 * 1024); // 10 MB
+ params.mem_size = static_cast<size_t>(20 * 1024 * 1024); // 20 MB
1746
if (sd_version_is_sd3(sd_ctx->sd->version)) {
1747
params.mem_size *= 3;
1748
@@ -1853,7 +1853,7 @@ sd_image_t* img2img(sd_ctx_t* sd_ctx,
1853
1854
1855
1856
1857
1858
params.mem_size *= 2;
1859
0 commit comments