mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-09-26 16:07:50 -05:00
refactor: define VAE tile dimensions in image pixels (#2059)
This commit is contained in:
@@ -173,11 +173,13 @@ enum lora_apply_mode_t {
|
||||
typedef struct {
|
||||
bool enabled;
|
||||
bool temporal_tiling;
|
||||
int tile_size_x;
|
||||
int tile_size_y;
|
||||
// Spatial tile dimensions in image pixels for both encode and decode; 0 uses 256.
|
||||
int tile_size_w;
|
||||
int tile_size_h;
|
||||
float target_overlap;
|
||||
float rel_size_x;
|
||||
float rel_size_y;
|
||||
// Positive values override tile_size: <= 1 is a dimension fraction, > 1 a target tile count.
|
||||
float rel_size_w;
|
||||
float rel_size_h;
|
||||
const char* extra_tiling_args;
|
||||
} sd_tiling_params_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user