fixed sd to work on larger images by adding tiling, also limit res for sd1.5

This commit is contained in:
Concedo 2024-11-04 23:26:15 +08:00
parent f153a14daf
commit 5b90eeaf17
3 changed files with 35 additions and 2 deletions

View file

@ -122,6 +122,9 @@ typedef struct {
typedef struct sd_ctx_t sd_ctx_t;
SD_API void set_sd_vae_tiling(sd_ctx_t* ctx, bool tiling);
SD_API int get_loaded_sd_version(sd_ctx_t* ctx);
SD_API sd_ctx_t* new_sd_ctx(const char* model_path,
const char* clip_l_path,
const char* clip_g_path,