refactor: define VAE tile dimensions in image pixels (#2059)

This commit is contained in:
leejet authored and GitHub committed 2026-09-25 18:20:32 +08:00
1 parent 39ada0863b
commit 19bbbca1c7
14 files changed
+298 -174

No files matched your search

+6 -4
View File
@@ -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;