* installing *source* package ‘sdR’ ... ** this is package ‘sdR’ version ‘0.1.4’ ** using staged installation * Downloading vocab.hpp... * vocab.hpp: downloaded successfully * Downloading vocab_mistral.hpp... * vocab_mistral.hpp: downloaded successfully * Downloading vocab_qwen.hpp... * vocab_qwen.hpp: downloaded successfully * Downloading vocab_umt5.hpp... * vocab_umt5.hpp: downloaded successfully * ggmlR lib: /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/lib * ggmlR include: /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include * OpenMP: not available * Vulkan: disabled (ggmlR has Vulkan but libvulkan not found for linking) * Wrote src/Makevars * Patching sd/ sources for R compatibility... patched: esrgan.hpp patched: latent-preview.h patched: name_conversion.cpp patched: vocab_qwen.hpp patched: ordered_map.hpp patched: qwen_image.hpp patched: control.hpp patched: version.cpp patched: stable-diffusion.h patched: unet.hpp patched: ucache.hpp patched: upscaler.cpp patched: diffusion_model.hpp patched: conditioner.hpp patched: stable-diffusion.cpp patched: vocab_umt5.hpp patched: rng_mt19937.hpp patched: tokenize_util.cpp patched: tokenize_util.h patched: gguf_reader.hpp patched: denoiser.hpp patched: pmid.hpp patched: vae.hpp patched: rng.hpp patched: cache_dit.hpp patched: rope.hpp patched: name_conversion.h patched: z_image.hpp patched: ltxv.hpp patched: common.hpp patched: mmdit.hpp patched: model.h patched: preprocessing.hpp patched: wan.hpp patched: util.h patched: vocab.hpp patched: clip.hpp patched: vocab_mistral.hpp patched: flux.hpp patched: lora.hpp patched: tae.hpp patched: rng_philox.hpp patched: easycache.hpp patched: util.cpp (unused variable size2) patched: util.cpp (sign-compare) patched: ggml_extend.hpp (sign-compare N) patched: ggml_extend.hpp (unused variable param) patched: model.h (unused function) * Done. ** libs specified C++17 using C++ compiler: ‘Debian clang version 21.1.8 (3+b1)’ using C++17 clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sdR_interface.cpp -o sdR_interface.o sdR_interface.cpp:73:24: warning: object backing the pointer 'p.model_path' will be destroyed at the end of the full-expression [-Wdangling-assignment-gsl] 73 | p.model_path = Rcpp::as(params["model_path"]).c_str(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sdR_interface.cpp:3: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp.h:47: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting pointer to incomplete type 'sd_ctx_t' is incompatible with C++2c and may cause undefined behavior [-Wdelete-incomplete] 31 | delete obj; | ^ ~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ ./sd/stable-diffusion.h:333:16: note: forward declaration of 'sd_ctx_t' 333 | typedef struct sd_ctx_t sd_ctx_t; | ^ In file included from sdR_interface.cpp:3: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp.h:47: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting pointer to incomplete type 'upscaler_ctx_t' is incompatible with C++2c and may cause undefined behavior [-Wdelete-incomplete] 31 | delete obj; | ^ ~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer' requested here 54 | void Finalizer(T*) = standard_delete_finalizer, | ^ ./sd/stable-diffusion.h:381:16: note: forward declaration of 'upscaler_ctx_t' 381 | typedef struct upscaler_ctx_t upscaler_ctx_t; | ^ sdR_interface.cpp:48:13: warning: unused function 'sd_ctx_destructor' [-Wunused-function] 48 | static void sd_ctx_destructor(sd_ctx_t* ctx) { | ^~~~~~~~~~~~~~~~~ sdR_interface.cpp:54:13: warning: unused function 'upscaler_ctx_destructor' [-Wunused-function] 54 | static void upscaler_ctx_destructor(upscaler_ctx_t* ctx) { | ^~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sd/stable-diffusion.cpp -o sd/stable-diffusion.o In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:27: In file included from /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml-alloc.h:3: /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml.h:204:13: warning: 'GGML_ATTRIBUTE_FORMAT' macro redefined [-Wmacro-redefined] 204 | # define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__))) | ^ /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h:53:9: note: previous definition is here 53 | #define GGML_ATTRIBUTE_FORMAT(...) | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:32: In file included from sd/model.h:17: In file included from sd/thirdparty/json.hpp:3: sd/thirdparty/json.hpp.inc:24314:35: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24314 | inline nlohmann::json operator "" _json(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24322:49: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24322 | inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer sd/thirdparty/json.hpp.inc:24386:58: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24386 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24387:58: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24387 | using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:1: sd/ggml_extend.hpp:294:13: warning: unused variable 'n0' [-Wunused-variable] 294 | int64_t n0 = tensor->ne[0]; | ^~ sd/ggml_extend.hpp:295:13: warning: unused variable 'n1' [-Wunused-variable] 295 | int64_t n1 = tensor->ne[1]; | ^~ sd/ggml_extend.hpp:296:13: warning: unused variable 'n2' [-Wunused-variable] 296 | int64_t n2 = tensor->ne[2]; | ^~ sd/ggml_extend.hpp:297:13: warning: unused variable 'n3' [-Wunused-variable] 297 | int64_t n3 = tensor->ne[3]; | ^~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:1: sd/ggml_extend.hpp:339:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable] 339 | int32_t nelements = 1; | ^ sd/ggml_extend.hpp:348:18: warning: unused variable 'bpe' [-Wunused-variable] 348 | const size_t bpe = ggml_type_size(ggml_type(ttype)); | ^~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:1: sd/ggml_extend.hpp:1154:13: warning: unused variable 'OC' [-Wunused-variable] 1154 | int64_t OC = w->ne[3] / IC; | ^~ sd/ggml_extend.hpp:1155:13: warning: unused variable 'N' [-Wunused-variable] 1155 | int64_t N = x->ne[3] / IC; | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] In file included from sd/stable-diffusion.cpp:10: sd/cache_dit.hpp:76:13: warning: unused variable 'order' [-Wunused-variable] 76 | int order = n_derivatives + 1; | ^~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:11: In file included from sd/conditioner.hpp:4: sd/clip.hpp:949:16: warning: unused variable 'N' [-Wunused-variable] 949 | size_t N = input_ids->ne[1]; | ^ sd/clip.hpp:950:16: warning: unused variable 'n_token' [-Wunused-variable] 950 | size_t n_token = input_ids->ne[0]; | ^~~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] In file included from sd/stable-diffusion.cpp:11: In file included from sd/conditioner.hpp:5: sd/llm.hpp:678:21: warning: unused variable 'n_token' [-Wunused-variable] 678 | int64_t n_token = x->ne[1]; | ^~~~~~~ sd/llm.hpp:679:21: warning: unused variable 'N' [-Wunused-variable] 679 | int64_t N = x->ne[2]; | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] In file included from sd/stable-diffusion.cpp:11: In file included from sd/conditioner.hpp:5: sd/llm.hpp:1261:21: warning: unused variable 'llm_grid_h' [-Wunused-variable] 1261 | int64_t llm_grid_h = grid_h / params.vision.spatial_merge_size; | ^~~~~~~~~~ sd/llm.hpp:1262:21: warning: unused variable 'llm_grid_w' [-Wunused-variable] 1262 | int64_t llm_grid_w = grid_w / params.vision.spatial_merge_size; | ^~~~~~~~~~ sd/llm.hpp:1299:17: warning: unused variable 'grid_t' [-Wunused-variable] 1299 | int grid_t = 1; | ^~~~~~ sd/llm.hpp:1355:17: warning: unused variable 'seq_window_size' [-Wunused-variable] 1355 | int seq_window_size = (vit_merger_window_size * params.vision.spatial_merge_size) * (vit_merger_window_size * params.vision.spatial_merge_size); | ^~~~~~~~~~~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:11: In file included from sd/conditioner.hpp:5: sd/llm.hpp:1547:37: warning: unused variable 'weights' [-Wunused-variable] 1547 | std::vector& weights = std::get<1>(tokens_and_weights); | ^~~~~~~ sd/llm.hpp:1595:37: warning: unused variable 'weights' [-Wunused-variable] 1595 | std::vector& weights = std::get<1>(tokens_and_weights); | ^~~~~~~ sd/llm.hpp:1626:37: warning: unused variable 'weights' [-Wunused-variable] 1626 | std::vector& weights = std::get<1>(tokens_and_weights); | ^~~~~~~ sd/llm.hpp:1657:37: warning: unused variable 'weights' [-Wunused-variable] 1657 | std::vector& weights = std::get<1>(tokens_and_weights); | ^~~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:11: In file included from sd/conditioner.hpp:6: sd/t5.hpp:789:16: warning: unused variable 'N' [-Wunused-variable] 789 | size_t N = input_ids->ne[1]; | ^ sd/t5.hpp:790:16: warning: unused variable 'n_token' [-Wunused-variable] 790 | size_t n_token = input_ids->ne[0]; | ^~~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:11: In file included from sd/conditioner.hpp:6: sd/t5.hpp:980:33: warning: unused variable 'weights' [-Wunused-variable] 980 | std::vector& weights = std::get<1>(tokens_and_weights); | ^~~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] In file included from sd/stable-diffusion.cpp:11: sd/conditioner.hpp:1464:14: warning: unused variable 'on_new_token_cb' [-Wunused-variable] 1464 | auto on_new_token_cb = [&](std::string& str, std::vector& bpe_tokens) -> bool { | ^~~~~~~~~~~~~~~ sd/conditioner.hpp:1520:29: warning: unused variable 'pooled' [-Wunused-variable] 1520 | struct ggml_tensor* pooled = nullptr; | ^~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] In file included from sd/stable-diffusion.cpp:12: In file included from sd/control.hpp:4: sd/common.hpp:311:17: warning: unused variable 'n' [-Wunused-variable] 311 | int64_t n = x->ne[2]; | ^ sd/common.hpp:312:17: warning: unused variable 'n_token' [-Wunused-variable] 312 | int64_t n_token = x->ne[1]; | ^~~~~~~ sd/common.hpp:313:17: warning: unused variable 'n_context' [-Wunused-variable] 313 | int64_t n_context = context->ne[1]; | ^~~~~~~~~ sd/common.hpp:314:17: warning: unused variable 'inner_dim' [-Wunused-variable] 314 | int64_t inner_dim = d_head * n_head; | ^~~~~~~~~ sd/common.hpp:558:25: warning: 'VideoResBlock::forward' hides overloaded virtual function [-Woverloaded-virtual] 558 | struct ggml_tensor* forward(GGMLRunnerContext* ctx, | ^ sd/common.hpp:124:33: note: hidden overloaded virtual function 'ResBlock::forward' declared here: different number of parameters (3 vs 4) 124 | virtual struct ggml_tensor* forward(GGMLRunnerContext* ctx, struct ggml_tensor* x, struct ggml_tensor* emb = nullptr) { | ^ In file included from sd/stable-diffusion.cpp:12: sd/control.hpp:269:17: warning: unused variable 'mult' [-Wunused-variable] 269 | int mult = channel_mult[i]; | ^~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:13: sd/denoiser.hpp:849:28: warning: unused variable 'vec_d2' [-Wunused-variable] 849 | float* vec_d2 = (float*)d->data; | ^~~~~~ sd/denoiser.hpp:1206:31: warning: unused variable 'h_n_2' [-Wunused-variable] 1206 | float h_n_2 = (i > 1) ? (sigmas[i - 1] - sigmas[i - 2]) : h_n_1; | ^~~~~ sd/denoiser.hpp:1217:31: warning: unused variable 'h_n_3' [-Wunused-variable] 1217 | float h_n_3 = (i > 2) ? (sigmas[i - 2] - sigmas[i - 3]) : h_n_2; | ^~~~~ sd/denoiser.hpp:1241:33: warning: unused variable 'd' [-Wunused-variable] 1241 | struct ggml_tensor* d = ggml_dup_tensor(work_ctx, x); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:14: In file included from sd/diffusion_model.hpp:4: sd/flux.hpp:298:23: warning: unused variable 'double_blocks_count' [-Wunused-variable] 298 | const int double_blocks_count = 19; | ^~~~~~~~~~~~~~~~~~~ sd/flux.hpp:933:25: warning: unused variable 'mod_index_length' [-Wunused-variable] 933 | int64_t mod_index_length = 344; | ^~~~~~~~~~~~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:14: In file included from sd/diffusion_model.hpp:5: sd/mmdit.hpp:681:17: warning: unused variable 'default_out_channels' [-Wunused-variable] 681 | int64_t default_out_channels = in_channels; | ^~~~~~~~~~~~~~~~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:14: In file included from sd/diffusion_model.hpp:5: sd/mmdit.hpp:947:19: warning: unused variable 'model_data_type' [-Wunused-variable] 947 | ggml_type model_data_type = GGML_TYPE_F16; | ^~~~~~~~~~~~~~~ In file included from sd/stable-diffusion.cpp:14: In file included from sd/diffusion_model.hpp:6: sd/qwen_image.hpp:512:21: warning: unused variable 'C' [-Wunused-variable] 512 | int64_t C = x->ne[2]; | ^ sd/qwen_image.hpp:513:21: warning: unused variable 'N' [-Wunused-variable] 513 | int64_t N = x->ne[3]; | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:14: In file included from sd/diffusion_model.hpp:7: sd/unet.hpp:64:25: warning: 'SpatialVideoTransformer::forward' hides overloaded virtual function [-Woverloaded-virtual] 64 | struct ggml_tensor* forward(GGMLRunnerContext* ctx, | ^ sd/common.hpp:459:33: note: hidden overloaded virtual function 'SpatialTransformer::forward' declared here: different number of parameters (3 vs 4) 459 | virtual struct ggml_tensor* forward(GGMLRunnerContext* ctx, | ^ In file included from sd/stable-diffusion.cpp:14: In file included from sd/diffusion_model.hpp:7: sd/unet.hpp:44:17: warning: unused variable 'time_mix_inner_dim' [-Wunused-variable] 44 | int64_t time_mix_inner_dim = time_mix_d_head * n_time_mix_heads; // equal to inner_dim | ^~~~~~~~~~~~~~~~~~ sd/unet.hpp:496:17: warning: unused variable 'mult' [-Wunused-variable] 496 | int mult = channel_mult[i]; | ^~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:14: In file included from sd/diffusion_model.hpp:8: sd/wan.hpp:1264:23: warning: unused variable 'model_data_type' [-Wunused-variable] 1264 | ggml_type model_data_type = GGML_TYPE_F16; | ^~~~~~~~~~~~~~~ sd/wan.hpp:1359:37: warning: 'WAN::WanCrossAttention::forward' hides overloaded virtual function [-Woverloaded-virtual] 1359 | virtual struct ggml_tensor* forward(GGMLRunnerContext* ctx, | ^ sd/wan.hpp:1318:37: note: hidden overloaded virtual function 'WAN::WanSelfAttention::forward' declared here: type mismatch at 4th parameter ('struct ggml_tensor *' vs 'int64_t' (aka 'long')) 1318 | virtual struct ggml_tensor* forward(GGMLRunnerContext* ctx, | ^ sd/wan.hpp:1380:21: warning: unused variable 'N' [-Wunused-variable] 1380 | int64_t N = x->ne[2]; | ^ sd/wan.hpp:1381:21: warning: unused variable 'n_token' [-Wunused-variable] 1381 | int64_t n_token = x->ne[1]; | ^~~~~~~ sd/wan.hpp:1441:21: warning: unused variable 'n_token' [-Wunused-variable] 1441 | int64_t n_token = x->ne[1]; | ^~~~~~~ sd/wan.hpp:1609:47: warning: 'WAN::VaceWanAttentionBlock::forward' hides overloaded virtual function [-Woverloaded-virtual] 1609 | std::pair forward(GGMLRunnerContext* ctx, | ^ sd/wan.hpp:1534:37: note: hidden overloaded virtual function 'WAN::WanAttentionBlock::forward' declared here: different number of parameters (6 vs 7) 1534 | virtual struct ggml_tensor* forward(GGMLRunnerContext* ctx, | ^ sd/wan.hpp:1982:21: warning: unused variable 'C' [-Wunused-variable] 1982 | int64_t C = x->ne[3]; | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:14: In file included from sd/diffusion_model.hpp:9: sd/z_image.hpp:50:21: warning: unused variable 'n_token' [-Wunused-variable] 50 | int64_t n_token = x->ne[1]; | ^~~~~~~ sd/z_image.hpp:51:21: warning: unused variable 'N' [-Wunused-variable] 51 | int64_t N = x->ne[2]; | ^ sd/z_image.hpp:495:21: warning: unused variable 'C' [-Wunused-variable] 495 | int64_t C = x->ne[2]; | ^ sd/z_image.hpp:496:21: warning: unused variable 'N' [-Wunused-variable] 496 | int64_t N = x->ne[3]; | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/stable-diffusion.cpp:23: sd/latent-preview.h:167:12: warning: unused variable 'buffer_head' [-Wunused-variable] 167 | size_t buffer_head = 0; | ^~~~~~~~~~~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/stable-diffusion.cpp:579:22: warning: unused variable 'is_chroma' [-Wunused-variable] 579 | bool is_chroma = false; | ^~~~~~~~~ sd/stable-diffusion.cpp:2354:71: warning: lambda capture 'ts' is not used [-Wunused-lambda-capture] 2354 | effective_denoise = [&, grid, gauss_mask, tile_input, ts, latent_w, latent_h, C, N, buf_size, | ~~^~ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:55: sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/ggml_extend.hpp:2649:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 2649 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/ggml_extend.hpp:2649:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 2649 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'MultiheadAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:505:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 505 | blocks["self_attn"] = std::shared_ptr(new MultiheadAttention(d_model, n_head, true, true, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'MultiheadAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:505:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 505 | blocks["self_attn"] = std::shared_ptr(new MultiheadAttention(d_model, n_head, true, true, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:507:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 507 | blocks["layer_norm1"] = std::shared_ptr(new LayerNorm(d_model)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:507:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 507 | blocks["layer_norm1"] = std::shared_ptr(new LayerNorm(d_model)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'CLIPMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:510:25: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 510 | blocks["mlp"] = std::shared_ptr(new CLIPMLP(d_model, intermediate_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'CLIPMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:510:25: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 510 | blocks["mlp"] = std::shared_ptr(new CLIPMLP(d_model, intermediate_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'CLIPLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:539:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 539 | blocks[name] = std::shared_ptr(new CLIPLayer(d_model, n_head, intermediate_size, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'CLIPLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:539:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 539 | blocks[name] = std::shared_ptr(new CLIPLayer(d_model, n_head, intermediate_size, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'CLIPEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:731:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 731 | blocks["embeddings"] = std::shared_ptr(new CLIPEmbeddings(hidden_size, vocab_size, n_token, force_clip_f32)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'CLIPEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:731:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 731 | blocks["embeddings"] = std::shared_ptr(new CLIPEmbeddings(hidden_size, vocab_size, n_token, force_clip_f32)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'CLIPEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:732:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 732 | blocks["encoder"] = std::shared_ptr(new CLIPEncoder(n_layer, hidden_size, n_head, intermediate_size, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'CLIPEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:732:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 732 | blocks["encoder"] = std::shared_ptr(new CLIPEncoder(n_layer, hidden_size, n_head, intermediate_size, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'CLIPVisionEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:800:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 800 | blocks["embeddings"] = std::shared_ptr(new CLIPVisionEmbeddings(hidden_size, num_channels, patch_size, image_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'CLIPVisionEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:800:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 800 | blocks["embeddings"] = std::shared_ptr(new CLIPVisionEmbeddings(hidden_size, num_channels, patch_size, image_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'CLIPVisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:884:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 884 | blocks["vision_model"] = std::shared_ptr(new CLIPVisionModel(version, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'CLIPVisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:884:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 884 | blocks["vision_model"] = std::shared_ptr(new CLIPVisionModel(version, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'CLIPProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:885:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 885 | blocks["visual_projection"] = std::shared_ptr(new CLIPProjection(hidden_size, projection_dim, transpose_proj_w)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'CLIPProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/clip.hpp:885:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 885 | blocks["visual_projection"] = std::shared_ptr(new CLIPProjection(hidden_size, projection_dim, transpose_proj_w)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:561:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 561 | blocks["proj.0"] = std::shared_ptr(new Conv2d(in_channels, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:561:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 561 | blocks["proj.0"] = std::shared_ptr(new Conv2d(in_channels, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Conv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:577:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 577 | blocks["proj"] = std::shared_ptr(new Conv3d(in_channels, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Conv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:577:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 577 | blocks["proj"] = std::shared_ptr(new Conv3d(in_channels, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:630:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 630 | blocks["ln_q"] = std::shared_ptr(new RMSNorm(context_dim, 1e-6f)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:630:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 630 | blocks["ln_q"] = std::shared_ptr(new RMSNorm(context_dim, 1e-6f)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LLM::VisionAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:717:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 717 | blocks["attn"] = std::shared_ptr(new VisionAttention(llama_cpp_style, hidden_size, num_heads)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LLM::VisionAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:717:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 717 | blocks["attn"] = std::shared_ptr(new VisionAttention(llama_cpp_style, hidden_size, num_heads)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LLM::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:718:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 718 | blocks["mlp"] = std::shared_ptr(new MLP(hidden_size, intermediate_size, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LLM::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:718:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 718 | blocks["mlp"] = std::shared_ptr(new MLP(hidden_size, intermediate_size, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LLM::VisionPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:768:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 768 | blocks["patch_embed"] = std::shared_ptr(new VisionPatchEmbed(llama_cpp_style, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LLM::VisionPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:768:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 768 | blocks["patch_embed"] = std::shared_ptr(new VisionPatchEmbed(llama_cpp_style, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LLM::VisionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:774:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 774 | blocks["blocks." + std::to_string(i)] = std::shared_ptr(new VisionBlock(llama_cpp_style, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LLM::VisionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:774:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 774 | blocks["blocks." + std::to_string(i)] = std::shared_ptr(new VisionBlock(llama_cpp_style, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LLM::PatchMerger' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:780:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 780 | blocks["merger"] = std::shared_ptr(new PatchMerger(out_hidden_size, hidden_size, spatial_merge_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LLM::PatchMerger' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:780:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 780 | blocks["merger"] = std::shared_ptr(new PatchMerger(out_hidden_size, hidden_size, spatial_merge_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:10: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/algorithm:63: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_algo.h:69: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_tempbuf.h:61: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, const long &, long, const bool &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, const long &, long, const bool &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, const long &, long, const bool &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/llm.hpp:831:37: note: in instantiation of function template specialization 'std::make_shared' requested here 831 | blocks["q_proj"] = std::make_shared(params.hidden_size, num_heads * head_dim, params.qkv_bias); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, int &, const float &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, int &, const float &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, int &, const float &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/llm.hpp:836:41: note: in instantiation of function template specialization 'std::make_shared' requested here 836 | blocks["q_norm"] = std::make_shared(head_dim, params.rms_norm_eps); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LLM::Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, const LLM::LLMParams &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, const LLM::LLMParams &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, const LLM::LLMParams &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/llm.hpp:897:55: note: in instantiation of function template specialization 'std::make_shared' requested here 897 | blocks["self_attn"] = std::make_shared(params); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LLM::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, const long &, const long &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, const long &, const long &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, const long &, const long &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/llm.hpp:898:55: note: in instantiation of function template specialization 'std::make_shared' requested here 898 | blocks["mlp"] = std::make_shared(params.hidden_size, params.intermediate_size); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:934:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 934 | blocks["embed_tokens"] = std::shared_ptr(new Embedding(params.vocab_size, params.hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:934:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 934 | blocks["embed_tokens"] = std::shared_ptr(new Embedding(params.vocab_size, params.hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LLM::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:936:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 936 | blocks["layers." + std::to_string(i)] = std::shared_ptr(new TransformerBlock(params)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LLM::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:936:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 936 | blocks["layers." + std::to_string(i)] = std::shared_ptr(new TransformerBlock(params)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:1025:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1025 | blocks["model"] = std::shared_ptr(new TextModel(params)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:1025:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1025 | blocks["model"] = std::shared_ptr(new TextModel(params)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:1027:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1027 | blocks["visual"] = std::shared_ptr(new VisionModel(llama_cpp_style, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/llm.hpp:1027:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1027 | blocks["visual"] = std::shared_ptr(new VisionModel(llama_cpp_style, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'T5DenseGatedActDense' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:532:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 532 | blocks["DenseReluDense"] = std::shared_ptr(new T5DenseGatedActDense(model_dim, ff_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'T5DenseGatedActDense' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:532:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 532 | blocks["DenseReluDense"] = std::shared_ptr(new T5DenseGatedActDense(model_dim, ff_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'T5LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:533:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 533 | blocks["layer_norm"] = std::shared_ptr(new T5LayerNorm(model_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'T5LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:533:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 533 | blocks["layer_norm"] = std::shared_ptr(new T5LayerNorm(model_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'T5Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:630:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 630 | blocks["SelfAttention"] = std::shared_ptr(new T5Attention(model_dim, inner_dim, num_heads, using_relative_attention_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'T5Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:630:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 630 | blocks["SelfAttention"] = std::shared_ptr(new T5Attention(model_dim, inner_dim, num_heads, using_relative_attention_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'T5LayerSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:656:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 656 | blocks["layer.0"] = std::shared_ptr(new T5LayerSelfAttention(model_dim, inner_dim, ff_dim, num_heads, using_relative_attention_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'T5LayerSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:656:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 656 | blocks["layer.0"] = std::shared_ptr(new T5LayerSelfAttention(model_dim, inner_dim, ff_dim, num_heads, using_relative_attention_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'T5LayerFF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:657:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 657 | blocks["layer.1"] = std::shared_ptr(new T5LayerFF(model_dim, ff_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'T5LayerFF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:657:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 657 | blocks["layer.1"] = std::shared_ptr(new T5LayerFF(model_dim, ff_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'T5Block' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:689:52: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 689 | blocks["block." + std::to_string(i)] = std::shared_ptr(new T5Block(model_dim, inner_dim, ff_dim, num_heads, (!relative_attention || i == 0))); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'T5Block' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:689:52: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 689 | blocks["block." + std::to_string(i)] = std::shared_ptr(new T5Block(model_dim, inner_dim, ff_dim, num_heads, (!relative_attention || i == 0))); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'T5Stack' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:732:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 732 | blocks["encoder"] = std::shared_ptr(new T5Stack(params.num_layers, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'T5Stack' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/t5.hpp:732:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 732 | blocks["encoder"] = std::shared_ptr(new T5Stack(params.num_layers, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'GroupNorm32' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:105:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 105 | blocks["in_layers.0"] = std::shared_ptr(new GroupNorm32(channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'GroupNorm32' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:105:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 105 | blocks["in_layers.0"] = std::shared_ptr(new GroupNorm32(channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'GELU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:241:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 241 | blocks["net.0"] = std::shared_ptr(new GELU(dim, inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'GELU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:241:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 241 | blocks["net.0"] = std::shared_ptr(new GELU(dim, inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'GEGLU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:243:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 243 | blocks["net.0"] = std::shared_ptr(new GEGLU(dim, inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'GEGLU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:243:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 243 | blocks["net.0"] = std::shared_ptr(new GEGLU(dim, inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:345:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 345 | blocks["attn1"] = std::shared_ptr(new CrossAttention(dim, dim, n_head, d_head)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:345:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 345 | blocks["attn1"] = std::shared_ptr(new CrossAttention(dim, dim, n_head, d_head)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:347:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 347 | blocks["ff"] = std::shared_ptr(new FeedForward(dim, dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:347:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 347 | blocks["ff"] = std::shared_ptr(new FeedForward(dim, dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:10: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/algorithm:63: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_algo.h:69: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_tempbuf.h:61: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, long &, std::pair>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, long &, std::pair>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, long &, std::pair>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/common.hpp:415:43: note: in instantiation of function template specialization 'std::make_shared>' requested here 415 | blocks["proj_in"] = std::make_shared(in_channels, inner_dim, std::pair{1, 1}); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'BasicTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:449:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 449 | blocks[name] = std::shared_ptr(new BasicTransformerBlock(inner_dim, n_head, d_head, context_dim, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'BasicTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:449:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 449 | blocks[name] = std::shared_ptr(new BasicTransformerBlock(inner_dim, n_head, d_head, context_dim, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:554:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 554 | blocks["time_stack"] = std::shared_ptr(new ResBlock(out_channels, emb_channels, out_channels, kernel_size, 3, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:554:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 554 | blocks["time_stack"] = std::shared_ptr(new ResBlock(out_channels, emb_channels, out_channels, kernel_size, 3, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'AlphaBlender' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:555:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 555 | blocks["time_mixer"] = std::shared_ptr(new AlphaBlender()); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'AlphaBlender' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/common.hpp:555:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 555 | blocks["time_mixer"] = std::shared_ptr(new AlphaBlender()); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'SpatialTransformer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/control.hpp:128:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 128 | blocks[name] = std::shared_ptr(get_attention_layer(ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'SpatialTransformer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/control.hpp:128:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 128 | blocks[name] = std::shared_ptr(get_attention_layer(ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'DownSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/control.hpp:140:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 140 | blocks[name] = std::shared_ptr(new DownSampleBlock(ch, ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'DownSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/control.hpp:140:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 140 | blocks[name] = std::shared_ptr(new DownSampleBlock(ch, ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:10: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/algorithm:63: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_algo.h:69: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_tempbuf.h:61: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'DiscreteScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:404:34: note: in instantiation of function template specialization 'std::make_shared' requested here 404 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'KarrasScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:408:34: note: in instantiation of function template specialization 'std::make_shared' requested here 408 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ExponentialScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:412:34: note: in instantiation of function template specialization 'std::make_shared' requested here 412 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'AYSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, SDVersion &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, SDVersion &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, SDVersion &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:416:34: note: in instantiation of function template specialization 'std::make_shared' requested here 416 | scheduler = std::make_shared(version); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'GITSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:420:34: note: in instantiation of function template specialization 'std::make_shared' requested here 420 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'SGMUniformScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:424:34: note: in instantiation of function template specialization 'std::make_shared' requested here 424 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'SimpleScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:428:34: note: in instantiation of function template specialization 'std::make_shared' requested here 428 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'SmoothStepScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:432:34: note: in instantiation of function template specialization 'std::make_shared' requested here 432 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'KLOptimalScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:436:34: note: in instantiation of function template specialization 'std::make_shared' requested here 436 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LCMScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/denoiser.hpp:440:34: note: in instantiation of function template specialization 'std::make_shared' requested here 440 | scheduler = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:62:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 62 | blocks["query_norm"] = std::shared_ptr(new RMSNorm(dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:62:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 62 | blocks["query_norm"] = std::shared_ptr(new RMSNorm(dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Flux::QKNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:97:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 97 | blocks["norm"] = std::shared_ptr(new QKNorm(head_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Flux::QKNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:97:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 97 | blocks["norm"] = std::shared_ptr(new QKNorm(head_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:269:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 269 | blocks["img_mod"] = std::shared_ptr(new Modulation(hidden_size, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:269:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 269 | blocks["img_mod"] = std::shared_ptr(new Modulation(hidden_size, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Flux::SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:272:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 272 | blocks["img_attn"] = std::shared_ptr(new SelfAttention(hidden_size, num_heads, qkv_bias, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Flux::SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:272:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 272 | blocks["img_attn"] = std::shared_ptr(new SelfAttention(hidden_size, num_heads, qkv_bias, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Flux::YakMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:276:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 276 | blocks["img_mlp"] = std::shared_ptr(new YakMLP(hidden_size, mlp_hidden_dim, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Flux::YakMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:276:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 276 | blocks["img_mlp"] = std::shared_ptr(new YakMLP(hidden_size, mlp_hidden_dim, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Flux::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:278:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 278 | blocks["img_mlp"] = std::shared_ptr(new MLP(hidden_size, mlp_hidden_dim, use_mlp_silu_act, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Flux::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:278:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 278 | blocks["img_mlp"] = std::shared_ptr(new MLP(hidden_size, mlp_hidden_dim, use_mlp_silu_act, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:586:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 586 | blocks["layers." + std::to_string(i)] = std::shared_ptr(new MLPEmbedder(inner_size, inner_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/flux.hpp:586:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 586 | blocks["layers." + std::to_string(i)] = std::shared_ptr(new MLPEmbedder(inner_size, inner_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:10: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/algorithm:63: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_algo.h:69: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_tempbuf.h:61: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:638:46: note: in instantiation of function template specialization 'std::make_shared' requested here 638 | blocks["norm"] = std::make_shared(hidden_size_x); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::ChromaApproximator' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, long &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, long &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, long &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:783:59: note: in instantiation of function template specialization 'std::make_shared' requested here 783 | blocks["distilled_guidance_layer"] = std::make_shared(params.in_dim, params.hidden_size); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, int, long &, bool>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, int, long &, bool>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, int, long &, bool>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:785:42: note: in instantiation of function template specialization 'std::make_shared' requested here 785 | blocks["time_in"] = std::make_shared(256, params.hidden_size, !params.disable_bias); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::DoubleStreamBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:799:69: note: in instantiation of function template specialization 'std::make_shared' requested here 799 | blocks["double_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::SingleStreamBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:812:69: note: in instantiation of function template specialization 'std::make_shared' requested here 812 | blocks["single_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::NerfEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, long &, int &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, long &, int &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, long &, int &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:825:54: note: in instantiation of function template specialization 'std::make_shared' requested here 825 | blocks["nerf_image_embedder"] = std::make_shared(params.in_channels, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::NerfGLUBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, long &, int &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, long &, int &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, long &, int &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:830:71: note: in instantiation of function template specialization 'std::make_shared' requested here 830 | blocks["nerf_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::NerfFinalLayerConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, long &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, long &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, long &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:835:56: note: in instantiation of function template specialization 'std::make_shared' requested here 835 | blocks["nerf_final_layer_conv"] = std::make_shared(params.chroma_radiance_params.nerf_hidden_size, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::LastLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, int, long &, bool &, bool>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, int, long &, bool &, bool>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, int, long &, bool &, bool>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:839:46: note: in instantiation of function template specialization 'std::make_shared' requested here 839 | blocks["final_layer"] = std::make_shared(params.hidden_size, 1, params.out_channels, params.is_chroma, !params.disable_bias); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, bool, bool>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, bool, bool>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, bool, bool>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/flux.hpp:843:63: note: in instantiation of function template specialization 'std::make_shared' requested here 843 | blocks["double_stream_modulation_img"] = std::make_shared(params.hidden_size, true, !params.disable_bias); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:254:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 254 | blocks["attn"] = std::shared_ptr(new SelfAttention(hidden_size, num_heads, qk_norm, qkv_bias, pre_only)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:254:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 254 | blocks["attn"] = std::shared_ptr(new SelfAttention(hidden_size, num_heads, qk_norm, qkv_bias, pre_only)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:263:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 263 | blocks["mlp"] = std::shared_ptr(new Mlp(hidden_size, mlp_hidden_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:263:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 263 | blocks["mlp"] = std::shared_ptr(new Mlp(hidden_size, mlp_hidden_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'DismantledBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:562:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 562 | blocks["context_block"] = std::shared_ptr(new DismantledBlock(hidden_size, num_heads, mlp_ratio, qk_norm, qkv_bias, pre_only, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'DismantledBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:562:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 562 | blocks["context_block"] = std::shared_ptr(new DismantledBlock(hidden_size, num_heads, mlp_ratio, qk_norm, qkv_bias, pre_only, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'PatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:686:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 686 | blocks["x_embedder"] = std::shared_ptr(new PatchEmbed(input_size, patch_size, in_channels, hidden_size, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'PatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:686:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 686 | blocks["x_embedder"] = std::shared_ptr(new PatchEmbed(input_size, patch_size, in_channels, hidden_size, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:687:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 687 | blocks["t_embedder"] = std::shared_ptr(new TimestepEmbedder(hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:687:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 687 | blocks["t_embedder"] = std::shared_ptr(new TimestepEmbedder(hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'VectorEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:690:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 690 | blocks["y_embedder"] = std::shared_ptr(new VectorEmbedder(adm_in_channels, hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'VectorEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:690:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 690 | blocks["y_embedder"] = std::shared_ptr(new VectorEmbedder(adm_in_channels, hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'JointBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:696:59: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 696 | blocks["joint_blocks." + std::to_string(i)] = std::shared_ptr(new JointBlock(hidden_size, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'JointBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:696:59: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 696 | blocks["joint_blocks." + std::to_string(i)] = std::shared_ptr(new JointBlock(hidden_size, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:705:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 705 | blocks["final_layer"] = std::shared_ptr(new FinalLayer(hidden_size, patch_size, out_channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/mmdit.hpp:705:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 705 | blocks["final_layer"] = std::shared_ptr(new FinalLayer(hidden_size, patch_size, out_channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:50:43: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 50 | blocks["timestep_embedder"] = std::shared_ptr(new TimestepEmbedding(256, embedding_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:50:43: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 50 | blocks["timestep_embedder"] = std::shared_ptr(new TimestepEmbedding(256, embedding_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Qwen::QwenImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:217:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 217 | blocks["attn"] = std::shared_ptr(new QwenImageAttention(dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Qwen::QwenImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:217:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 217 | blocks["attn"] = std::shared_ptr(new QwenImageAttention(dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Qwen::QwenTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:374:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 374 | blocks["time_text_embed"] = std::shared_ptr(new QwenTimestepProjEmbeddings(inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Qwen::QwenTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:374:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 374 | blocks["time_text_embed"] = std::shared_ptr(new QwenTimestepProjEmbeddings(inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Qwen::QwenImageTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:381:69: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 381 | auto block = std::shared_ptr(new QwenImageTransformerBlock(inner_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Qwen::QwenImageTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:381:69: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 381 | auto block = std::shared_ptr(new QwenImageTransformerBlock(inner_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Qwen::AdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:389:34: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 389 | blocks["norm_out"] = std::shared_ptr(new AdaLayerNormContinuous(inner_dim, inner_dim, false, 1e-6f)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Qwen::AdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/qwen_image.hpp:389:34: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 389 | blocks["norm_out"] = std::shared_ptr(new AdaLayerNormContinuous(inner_dim, inner_dim, false, 1e-6f)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'UpSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/unet.hpp:377:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 377 | blocks[name] = std::shared_ptr(new UpSampleBlock(ch, ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'UpSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/unet.hpp:377:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 377 | blocks[name] = std::shared_ptr(new UpSampleBlock(ch, ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'ResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:304:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 304 | blocks[name] = std::shared_ptr(new ResnetBlock(block_in, block_out)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'ResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:304:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 304 | blocks[name] = std::shared_ptr(new ResnetBlock(block_in, block_out)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'AttnBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:314:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 314 | blocks["mid.attn_1"] = std::shared_ptr(new AttnBlock(block_in, use_linear_projection)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'AttnBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:314:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 314 | blocks["mid.attn_1"] = std::shared_ptr(new AttnBlock(block_in, use_linear_projection)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'AE3DConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:380:20: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 380 | return std::shared_ptr(new AE3DConv(in_channels, out_channels, kernel_size, video_kernel_size, stride, padding)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'AE3DConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:380:20: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 380 | return std::shared_ptr(new AE3DConv(in_channels, out_channels, kernel_size, video_kernel_size, stride, padding)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'VideoResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:389:20: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 389 | return std::shared_ptr(new VideoResnetBlock(in_channels, out_channels, video_kernel_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'VideoResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:389:20: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 389 | return std::shared_ptr(new VideoResnetBlock(in_channels, out_channels, video_kernel_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:523:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 523 | blocks["decoder"] = std::shared_ptr(new Decoder(dd_config.ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:523:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 523 | blocks["decoder"] = std::shared_ptr(new Decoder(dd_config.ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:536:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 536 | blocks["encoder"] = std::shared_ptr(new Encoder(dd_config.ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/vae.hpp:536:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 536 | blocks["encoder"] = std::shared_ptr(new Encoder(dd_config.ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:139:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 139 | blocks["time_conv"] = std::shared_ptr(new CausalConv3d(dim, dim * 2, {3, 1, 1}, {1, 1, 1}, {1, 0, 0})); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:139:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 139 | blocks["time_conv"] = std::shared_ptr(new CausalConv3d(dim, dim * 2, {3, 1, 1}, {1, 1, 1}, {1, 0, 0})); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::RMS_norm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:348:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 348 | blocks["residual.0"] = std::shared_ptr(new RMS_norm(in_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::RMS_norm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:348:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 348 | blocks["residual.0"] = std::shared_ptr(new RMS_norm(in_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:420:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 420 | blocks["avg_shortcut"] = std::shared_ptr(new AvgDown3D(in_dim, out_dim, temperal_downsample ? 2 : 1, down_flag ? 2 : 1)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:420:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 420 | blocks["avg_shortcut"] = std::shared_ptr(new AvgDown3D(in_dim, out_dim, temperal_downsample ? 2 : 1, down_flag ? 2 : 1)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:424:62: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 424 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr(new ResidualBlock(in_dim, out_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:424:62: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 424 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr(new ResidualBlock(in_dim, out_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::Resample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:429:62: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 429 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr(new Resample(out_dim, mode, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::Resample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:429:62: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 429 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr(new Resample(out_dim, mode, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::DupUp3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:481:42: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 481 | blocks["avg_shortcut"] = std::shared_ptr(new DupUp3D(in_dim, out_dim, temperal_upsample ? 2 : 1, up_flag ? 2 : 1)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::DupUp3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:481:42: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 481 | blocks["avg_shortcut"] = std::shared_ptr(new DupUp3D(in_dim, out_dim, temperal_upsample ? 2 : 1, up_flag ? 2 : 1)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::Down_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:632:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 632 | auto block = std::shared_ptr(new Down_ResidualBlock(in_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::Down_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:632:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 632 | auto block = std::shared_ptr(new Down_ResidualBlock(in_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::AttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:655:34: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 655 | blocks["middle.1"] = std::shared_ptr(new AttentionBlock(out_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::AttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:655:34: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 655 | blocks["middle.1"] = std::shared_ptr(new AttentionBlock(out_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::Up_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:798:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 798 | auto block = std::shared_ptr(new Up_ResidualBlock(in_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::Up_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:798:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 798 | auto block = std::shared_ptr(new Up_ResidualBlock(in_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::Encoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:963:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 963 | blocks["encoder"] = std::shared_ptr(new Encoder3d(dim, z_dim * 2, dim_mult, num_res_blocks, temperal_downsample, wan2_2)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::Encoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:963:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 963 | blocks["encoder"] = std::shared_ptr(new Encoder3d(dim, z_dim * 2, dim_mult, num_res_blocks, temperal_downsample, wan2_2)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::Decoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:966:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 966 | blocks["decoder"] = std::shared_ptr(new Decoder3d(dec_dim, z_dim, dim_mult, num_res_blocks, temperal_upsample, wan2_2)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::Decoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:966:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 966 | blocks["decoder"] = std::shared_ptr(new Decoder3d(dec_dim, z_dim, dim_mult, num_res_blocks, temperal_upsample, wan2_2)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Identity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1313:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1313 | blocks["norm_q"] = std::shared_ptr(new Identity()); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Identity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1313:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1313 | blocks["norm_q"] = std::shared_ptr(new Identity()); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::WanSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1515:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1515 | blocks["self_attn"] = std::shared_ptr(new WanSelfAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::WanSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1515:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1515 | blocks["self_attn"] = std::shared_ptr(new WanSelfAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::WanT2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1522:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1522 | blocks["cross_attn"] = std::shared_ptr(new WanT2VCrossAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::WanT2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1522:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1522 | blocks["cross_attn"] = std::shared_ptr(new WanT2VCrossAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::WanI2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1524:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1524 | blocks["cross_attn"] = std::shared_ptr(new WanI2VCrossAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::WanI2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1524:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1524 | blocks["cross_attn"] = std::shared_ptr(new WanI2VCrossAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::WanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1782:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1782 | auto block = std::shared_ptr(new WanAttentionBlock(params.model_type == "t2v", | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::WanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1782:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1782 | auto block = std::shared_ptr(new WanAttentionBlock(params.model_type == "t2v", | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::Head' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1793:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1793 | blocks["head"] = std::shared_ptr(new Head(params.dim, params.out_dim, params.patch_size, params.eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::Head' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1793:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1793 | blocks["head"] = std::shared_ptr(new Head(params.dim, params.out_dim, params.patch_size, params.eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::MLPProj' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1797:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1797 | blocks["img_emb"] = std::shared_ptr(new MLPProj(1280, params.dim, params.flf_pos_embed_token_number)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::MLPProj' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1797:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1797 | blocks["img_emb"] = std::shared_ptr(new MLPProj(1280, params.dim, params.flf_pos_embed_token_number)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'WAN::VaceWanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1803:66: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1803 | auto block = std::shared_ptr(new VaceWanAttentionBlock(params.model_type == "t2v", | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'WAN::VaceWanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/wan.hpp:1803:66: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1803 | auto block = std::shared_ptr(new VaceWanAttentionBlock(params.model_type == "t2v", | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:10: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/algorithm:63: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_algo.h:69: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_tempbuf.h:61: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ZImage::JointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, long &, long &, long &, bool &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, long &, long &, long &, bool &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, long &, long &, long &, bool &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/z_image.hpp:167:46: note: in instantiation of function template specialization 'std::make_shared' requested here 167 | blocks["attention"] = std::make_shared(hidden_size, head_dim, num_heads, num_kv_heads, qk_norm); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ZImage::FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, long &, long &, float &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, long &, long &, float &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, long &, long &, float &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/z_image.hpp:168:46: note: in instantiation of function template specialization 'std::make_shared' requested here 168 | blocks["feed_forward"] = std::make_shared(hidden_size, hidden_size, multiple_of, ffn_dim_multiplier); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, float, bool>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, float, bool>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, float, bool>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/z_image.hpp:239:49: note: in instantiation of function template specialization 'std::make_shared' requested here 239 | blocks["norm_final"] = std::make_shared(hidden_size, 1e-06f, false); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long, int, int>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long, int, int>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long, int, int>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/z_image.hpp:297:45: note: in instantiation of function template specialization 'std::make_shared' requested here 297 | blocks["t_embedder"] = std::make_shared(MIN(z_image_params.hidden_size, 1024), 256, 256); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ZImage::JointTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/z_image.hpp:302:35: note: in instantiation of function template specialization 'std::make_shared' requested here 302 | auto block = std::make_shared(i, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ZImage::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, long &, int &, long &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, long &, int &, long &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, long &, int &, long &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/z_image.hpp:346:42: note: in instantiation of function template specialization 'std::make_shared' requested here 346 | blocks["final_layer"] = std::make_shared(z_image_params.hidden_size, z_image_params.patch_size, z_image_params.out_channels); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 62 | blocks["rdb1"] = std::shared_ptr(new ResidualDenseBlock(num_feat, num_grow_ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 62 | blocks["rdb1"] = std::shared_ptr(new ResidualDenseBlock(num_feat, num_grow_ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 99 | blocks[name] = std::shared_ptr(new RRDB(num_feat, num_grow_ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 99 | blocks[name] = std::shared_ptr(new RRDB(num_feat, num_grow_ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:80: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:92:2: warning: delete called on non-final 'RRDBNet' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 92 | delete __ptr; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete::operator()' requested here 398 | get_deleter()(std::move(__ptr)); | ^ sd/esrgan.hpp:157:5: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 157 | ESRGAN(ggml_backend_t backend, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'PerceiverAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:173:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 173 | blocks[name] = std::shared_ptr(new PerceiverAttention(dim, dim_head, heads)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'PerceiverAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:173:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 173 | blocks[name] = std::shared_ptr(new PerceiverAttention(dim, dim_head, heads)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'PMFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:175:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 175 | blocks[name] = std::shared_ptr(new PMFeedForward(dim, ff_mult)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'PMFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:175:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 175 | blocks[name] = std::shared_ptr(new PMFeedForward(dim, ff_mult)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'FacePerceiverResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:218:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 218 | blocks["perceiver_resampler"] = std::shared_ptr(new FacePerceiverResampler( | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'FacePerceiverResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:218:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 218 | blocks["perceiver_resampler"] = std::shared_ptr(new FacePerceiverResampler( | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'FuseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:254:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 254 | blocks["mlp1"] = std::shared_ptr(new FuseBlock(imb_d * 2, imb_d, imb_d, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'FuseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:254:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 254 | blocks["mlp1"] = std::shared_ptr(new FuseBlock(imb_d * 2, imb_d, imb_d, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'FuseModule' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:317:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 317 | blocks["fuse_module"] = std::shared_ptr(new FuseModule(2048)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'FuseModule' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:317:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 317 | blocks["fuse_module"] = std::shared_ptr(new FuseModule(2048)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'QFormerPerceiver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:363:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 363 | blocks["qformer_perceiver"] = std::shared_ptr(new QFormerPerceiver(id_embeddings_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'QFormerPerceiver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/pmid.hpp:363:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 363 | blocks["qformer_perceiver"] = std::shared_ptr(new QFormerPerceiver(id_embeddings_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:34:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 34 | blocks["pool.1"] = std::shared_ptr(new GroupNorm(4, n_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:34:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 34 | blocks["pool.1"] = std::shared_ptr(new GroupNorm(4, n_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'TAEBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:90:43: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 90 | blocks[std::to_string(index++)] = std::shared_ptr(new TAEBlock(channels, channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'TAEBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:90:43: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 90 | blocks[std::to_string(index++)] = std::shared_ptr(new TAEBlock(channels, channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'TPool' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:333:47: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 333 | blocks[std::to_string(index++)] = std::shared_ptr(new TPool(hidden, stride)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'TPool' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:333:47: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 333 | blocks[std::to_string(index++)] = std::shared_ptr(new TPool(hidden, stride)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'MemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:336:51: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 336 | blocks[std::to_string(index++)] = std::shared_ptr(new MemBlock(hidden, hidden)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'MemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:336:51: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 336 | blocks[std::to_string(index++)] = std::shared_ptr(new MemBlock(hidden, hidden)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'TGrow' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:392:47: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 392 | blocks[std::to_string(index++)] = std::shared_ptr(new TGrow(channels[i], stride)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'TGrow' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:392:47: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 392 | blocks[std::to_string(index++)] = std::shared_ptr(new TGrow(channels[i], stride)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'TinyVideoDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:454:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 454 | blocks["decoder"] = std::shared_ptr(new TinyVideoDecoder(z_channels, patch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'TinyVideoDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:454:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 454 | blocks["decoder"] = std::shared_ptr(new TinyVideoDecoder(z_channels, patch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'TinyVideoEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:456:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 456 | blocks["encoder"] = std::shared_ptr(new TinyVideoEncoder(z_channels, patch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'TinyVideoEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:456:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 456 | blocks["encoder"] = std::shared_ptr(new TinyVideoEncoder(z_channels, patch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'TinyDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:511:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 511 | blocks["decoder.layers"] = std::shared_ptr(new TinyDecoder(z_channels, use_midblock_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'TinyDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:511:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 511 | blocks["decoder.layers"] = std::shared_ptr(new TinyDecoder(z_channels, use_midblock_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'TinyEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:514:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 514 | blocks["encoder.layers"] = std::shared_ptr(new TinyEncoder(z_channels, use_midblock_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'TinyEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/tae.hpp:514:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 514 | blocks["encoder.layers"] = std::shared_ptr(new TinyEncoder(z_channels, use_midblock_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from sd/ggml_extend.hpp:10: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/algorithm:63: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_algo.h:69: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_tempbuf.h:61: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'STDDefaultRNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:322:25: note: in instantiation of function template specialization 'std::make_shared' requested here 322 | return std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'MT19937RNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:324:25: note: in instantiation of function template specialization 'std::make_shared' requested here 324 | return std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'PhiloxRNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:326:25: note: in instantiation of function template specialization 'std::make_shared' requested here 326 | return std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'SD3CLIPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:532:41: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &>' requested here 532 | cond_stage_model = std::make_shared(clip_backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'MMDiTModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:535:41: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &>' requested here 535 | diffusion_model = std::make_shared(backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'T5CLIPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &, const bool &, const int &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const bool &, const int &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const bool &, const int &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const bool &, const int &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:556:45: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, const bool &, const int &>' requested here 556 | cond_stage_model = std::make_shared(clip_backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LLMEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &, SDVersion &, const char (&)[1], bool>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &, const char (&)[1], bool>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &, const char (&)[1], bool>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &, const char (&)[1], bool>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:562:45: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, SDVersion &, const char (&)[1], bool>' requested here 562 | cond_stage_model = std::make_shared(clip_backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'FluxCLIPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:569:45: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &>' requested here 569 | cond_stage_model = std::make_shared(clip_backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'FluxModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &, SDVersion &, const bool &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &, const bool &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &, const bool &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &, const bool &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:573:40: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, SDVersion &, const bool &>' requested here 573 | diffusion_model = std::make_shared(backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'WanModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:596:41: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 596 | diffusion_model = std::make_shared(backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'QwenImageModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &, const char (&)[22], SDVersion &, const bool &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &, const bool &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &, const bool &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &, const bool &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:628:41: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, const char (&)[22], SDVersion &, const bool &>' requested here 628 | diffusion_model = std::make_shared(backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ZImageModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:639:41: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, const char (&)[22], SDVersion &>' requested here 639 | diffusion_model = std::make_shared(backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'FrozenCLIPEmbedderWithCustomWords' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &, std::map, std::basic_string> &, SDVersion &, PMVersion>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, std::map, std::basic_string> &, SDVersion &, PMVersion>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, std::map, std::basic_string> &, SDVersion &, PMVersion>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, std::map, std::basic_string> &, SDVersion &, PMVersion>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:650:45: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, std::map, std::basic_string> &, SDVersion &, PMVersion>' requested here 650 | cond_stage_model = std::make_shared(clip_backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'UNetModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace, TensorStorage> &, SDVersion &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, ggml_backend *&, bool &, OrderedMap, TensorStorage> &, SDVersion &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:663:40: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, SDVersion &>' requested here 663 | diffusion_model = std::make_shared(backend, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'CompVisVDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:1023:37: note: in instantiation of function template specialization 'std::make_shared' requested here 1023 | denoiser = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'EDMVDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:1027:37: note: in instantiation of function template specialization 'std::make_shared' requested here 1027 | denoiser = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'DiscreteFlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, float &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, float &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, float &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:1031:37: note: in instantiation of function template specialization 'std::make_shared' requested here 1031 | denoiser = std::make_shared(flow_shift); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'FluxFlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, float &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, float &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, float &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:1036:37: note: in instantiation of function template specialization 'std::make_shared' requested here 1036 | denoiser = std::make_shared(flow_shift); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Flux2FlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:1041:37: note: in instantiation of function template specialization 'std::make_shared' requested here 1041 | denoiser = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'MultiLoraAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace> &>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, std::vector> &>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr, std::vector> &>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr, std::vector> &>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:1209:44: note: in instantiation of function template specialization 'std::make_shared> &>' requested here 1209 | auto multi_lora_adapter = std::make_shared(cond_stage_lora_models); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'CompVisDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 166 | __pointer->~_Tp(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy' requested here 819 | { std::_Destroy(__p); } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_M_dispose' requested here 601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>' requested here 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ sd/stable-diffusion.cpp:246:47: note: in instantiation of function template specialization 'std::make_shared' requested here 246 | std::shared_ptr denoiser = std::make_shared(); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning 166 | __pointer->~_Tp(); | ^ sd/stable-diffusion.cpp:175:13: warning: unused function 'accumulate_tile' [-Wunused-function] 175 | static void accumulate_tile(const ggml_tensor* tile_denoised, | ^~~~~~~~~~~~~~~ In file included from sd/stable-diffusion.cpp:19: sd/tae.hpp:82:9: warning: private field 'z_channels' is not used [-Wunused-private-field] 82 | int z_channels = 4; | ^ sd/tae.hpp:125:9: warning: private field 'z_channels' is not used [-Wunused-private-field] 125 | int z_channels = 4; | ^ sd/tae.hpp:320:9: warning: private field 'z_channels' is not used [-Wunused-private-field] 320 | int z_channels = 4; | ^ sd/tae.hpp:373:9: warning: private field 'z_channels' is not used [-Wunused-private-field] 373 | int z_channels = 4; | ^ 673 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sd/model.cpp -o sd/model.o In file included from sd/model.cpp:18: In file included from sd/gguf_reader.hpp:9: /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml.h:204:13: warning: 'GGML_ATTRIBUTE_FORMAT' macro redefined [-Wmacro-redefined] 204 | # define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__))) | ^ /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h:53:9: note: previous definition is here 53 | #define GGML_ATTRIBUTE_FORMAT(...) | ^ In file included from sd/model.cpp:18: In file included from sd/gguf_reader.hpp:10: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/model.cpp:19: In file included from sd/model.h:17: In file included from sd/thirdparty/json.hpp:3: sd/thirdparty/json.hpp.inc:24314:35: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24314 | inline nlohmann::json operator "" _json(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24322:49: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24322 | inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer sd/thirdparty/json.hpp.inc:24386:58: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24386 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24387:58: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24387 | using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer In file included from sd/model.cpp:18: In file included from sd/gguf_reader.hpp:10: sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/model.cpp:460:12: warning: unused variable 'total_size' [-Wunused-variable] 460 | size_t total_size = 0; | ^~~~~~~~~~ In file included from sd/model.cpp:18: In file included from sd/gguf_reader.hpp:10: sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 63 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sd/name_conversion.cpp -o sd/name_conversion.o In file included from sd/name_conversion.cpp:4: In file included from sd/name_conversion.h:6: In file included from sd/model.h:14: In file included from /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml-backend.h:3: /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml.h:204:13: warning: 'GGML_ATTRIBUTE_FORMAT' macro redefined [-Wmacro-redefined] 204 | # define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__))) | ^ /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h:53:9: note: previous definition is here 53 | #define GGML_ATTRIBUTE_FORMAT(...) | ^ In file included from sd/name_conversion.cpp:4: In file included from sd/name_conversion.h:6: In file included from sd/model.h:17: In file included from sd/thirdparty/json.hpp:3: sd/thirdparty/json.hpp.inc:24314:35: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24314 | inline nlohmann::json operator "" _json(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24322:49: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24322 | inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer sd/thirdparty/json.hpp.inc:24386:58: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24386 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24387:58: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24387 | using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer 5 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sd/tokenize_util.cpp -o sd/tokenize_util.o clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sd/upscaler.cpp -o sd/upscaler.o In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:27: In file included from /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml-alloc.h:3: /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml.h:204:13: warning: 'GGML_ATTRIBUTE_FORMAT' macro redefined [-Wmacro-redefined] 204 | # define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__))) | ^ /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h:53:9: note: previous definition is here 53 | #define GGML_ATTRIBUTE_FORMAT(...) | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:32: In file included from sd/model.h:17: In file included from sd/thirdparty/json.hpp:3: sd/thirdparty/json.hpp.inc:24314:35: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24314 | inline nlohmann::json operator "" _json(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24322:49: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24322 | inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer sd/thirdparty/json.hpp.inc:24386:58: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24386 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24387:58: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24387 | using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:55: sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: sd/ggml_extend.hpp:294:13: warning: unused variable 'n0' [-Wunused-variable] 294 | int64_t n0 = tensor->ne[0]; | ^~ sd/ggml_extend.hpp:295:13: warning: unused variable 'n1' [-Wunused-variable] 295 | int64_t n1 = tensor->ne[1]; | ^~ sd/ggml_extend.hpp:296:13: warning: unused variable 'n2' [-Wunused-variable] 296 | int64_t n2 = tensor->ne[2]; | ^~ sd/ggml_extend.hpp:297:13: warning: unused variable 'n3' [-Wunused-variable] 297 | int64_t n3 = tensor->ne[3]; | ^~ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:55: sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: sd/ggml_extend.hpp:339:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable] 339 | int32_t nelements = 1; | ^ sd/ggml_extend.hpp:348:18: warning: unused variable 'bpe' [-Wunused-variable] 348 | const size_t bpe = ggml_type_size(ggml_type(ttype)); | ^~~ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:55: sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: sd/ggml_extend.hpp:1154:13: warning: unused variable 'OC' [-Wunused-variable] 1154 | int64_t OC = w->ne[3] / IC; | ^~ sd/ggml_extend.hpp:1155:13: warning: unused variable 'N' [-Wunused-variable] 1155 | int64_t N = x->ne[3] / IC; | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:55: sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/ggml_extend.hpp:2649:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 2649 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/ggml_extend.hpp:2649:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 2649 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:23:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 23 | blocks["conv1"] = std::shared_ptr(new Conv2d(num_feat, num_grow_ch, {3, 3}, {1, 1}, {1, 1})); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:23:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 23 | blocks["conv1"] = std::shared_ptr(new Conv2d(num_feat, num_grow_ch, {3, 3}, {1, 1}, {1, 1})); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 62 | blocks["rdb1"] = std::shared_ptr(new ResidualDenseBlock(num_feat, num_grow_ch)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 62 | blocks["rdb1"] = std::shared_ptr(new ResidualDenseBlock(num_feat, num_grow_ch)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 99 | blocks[name] = std::shared_ptr(new RRDB(num_feat, num_grow_ch)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 99 | blocks[name] = std::shared_ptr(new RRDB(num_feat, num_grow_ch)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:18: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:80: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:92:2: warning: delete called on non-final 'RRDBNet' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 92 | delete __ptr; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete::operator()' requested here 398 | get_deleter()(std::move(__ptr)); | ^ sd/esrgan.hpp:157:5: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 157 | ESRGAN(ggml_backend_t backend, | ^ 58 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sd/util.cpp -o sd/util.o In file included from sd/util.cpp:16: In file included from sd/preprocessing.hpp:4: In file included from sd/ggml_extend.hpp:27: In file included from /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml-alloc.h:3: /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/ggml.h:204:13: warning: 'GGML_ATTRIBUTE_FORMAT' macro redefined [-Wmacro-redefined] 204 | # define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__))) | ^ /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h:53:9: note: previous definition is here 53 | #define GGML_ATTRIBUTE_FORMAT(...) | ^ In file included from sd/util.cpp:16: In file included from sd/preprocessing.hpp:4: In file included from sd/ggml_extend.hpp:32: In file included from sd/model.h:17: In file included from sd/thirdparty/json.hpp:3: sd/thirdparty/json.hpp.inc:24314:35: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24314 | inline nlohmann::json operator "" _json(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24322:49: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24322 | inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer sd/thirdparty/json.hpp.inc:24386:58: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24386 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~ | operator""_json sd/thirdparty/json.hpp.inc:24387:58: warning: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 24387 | using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers) | ~~~~~~~~~~~~^~~~~~~~~~~~~ | operator""_json_pointer In file included from sd/util.cpp:1: sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:91:81: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/util.cpp:16: In file included from sd/preprocessing.hpp:4: sd/ggml_extend.hpp:294:13: warning: unused variable 'n0' [-Wunused-variable] 294 | int64_t n0 = tensor->ne[0]; | ^~ sd/ggml_extend.hpp:295:13: warning: unused variable 'n1' [-Wunused-variable] 295 | int64_t n1 = tensor->ne[1]; | ^~ sd/ggml_extend.hpp:296:13: warning: unused variable 'n2' [-Wunused-variable] 296 | int64_t n2 = tensor->ne[2]; | ^~ sd/ggml_extend.hpp:297:13: warning: unused variable 'n3' [-Wunused-variable] 297 | int64_t n3 = tensor->ne[3]; | ^~ In file included from sd/util.cpp:1: sd/util.h:91:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 91 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/util.cpp:16: In file included from sd/preprocessing.hpp:4: sd/ggml_extend.hpp:339:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable] 339 | int32_t nelements = 1; | ^ sd/ggml_extend.hpp:348:18: warning: unused variable 'bpe' [-Wunused-variable] 348 | const size_t bpe = ggml_type_size(ggml_type(ttype)); | ^~~ In file included from sd/util.cpp:1: sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/util.cpp:16: In file included from sd/preprocessing.hpp:4: sd/ggml_extend.hpp:1154:13: warning: unused variable 'OC' [-Wunused-variable] 1154 | int64_t OC = w->ne[3] / IC; | ^~ sd/ggml_extend.hpp:1155:13: warning: unused variable 'N' [-Wunused-variable] 1155 | int64_t N = x->ne[3] / IC; | ^ In file included from sd/util.cpp:1: sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:90:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 90 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:89:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 89 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:85: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] sd/util.h:92:83: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 92 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) | ^ In file included from sd/util.cpp:1: In file included from sd/util.h:5: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:918:8: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 918 | delete __p; | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/ggml_extend.hpp:2649:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 2649 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ In file included from sd/util.cpp:1: In file included from sd/util.h:5: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:82: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:427:9: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 427 | { delete _M_ptr; } | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:422:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here 422 | _Sp_counted_ptr(_Ptr __p) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:914:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here 914 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:925:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 925 | : __shared_count(__p) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1476:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count' requested here 1476 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here 213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } | ^ sd/ggml_extend.hpp:2649:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 2649 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ 42 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sd/version.cpp -o sd/version.o clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -include /srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include/r_ggml_compat.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sd/thirdparty/zip.c -o sd/thirdparty/zip.o clang++-21 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-21/lib -Wl,-O1 -o sdR.so RcppExports.o sdR_interface.o sd/stable-diffusion.o sd/model.o sd/name_conversion.o sd/tokenize_util.o sd/upscaler.o sd/util.o sd/version.o sd/thirdparty/zip.o -L/srv/hornik/tmp/CRAN_pretest/Library/ggmlR/lib -lggml -lpthread -lm -L/home/hornik/tmp/R-d-clang-21/lib -lR installing to /srv/hornik/tmp/CRAN_pretest/sdR.Rcheck/00LOCK-sdR/00new/sdR/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (sdR)