* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘sd2R’ ...
** this is package ‘sd2R’ version ‘0.2.1’
** package ‘sd2R’ successfully unpacked and MD5 sums checked
** using staged installation
* Downloading clip_merges.hpp...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
100 2.50M 100 2.50M 0 0 4.67M 0 0
100 2.50M 100 2.50M 0 0 4.67M 0 0
100 2.50M 100 2.50M 0 0 4.67M 0 0
* clip_merges.hpp: downloaded successfully
* Downloading t5.hpp...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
100 6.93M 100 6.93M 0 0 11.92M 0 0
100 6.93M 100 6.93M 0 0 11.92M 0 0
100 6.93M 100 6.93M 0 0 11.92M 0 0
* t5.hpp: downloaded successfully
* Downloading umt5.hpp...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
100 43.61M 100 43.61M 0 0 40.97M 0 00:01 00:01 0
100 43.61M 100 43.61M 0 0 40.96M 0 00:01 00:01 0
100 43.61M 100 43.61M 0 0 40.95M 0 00:01 00:01 0
* umt5.hpp: downloaded successfully
* Downloading qwen_merges.hpp...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
100 7.97M 100 7.97M 0 0 14.09M 0 0
100 7.97M 100 7.97M 0 0 14.09M 0 0
100 7.97M 100 7.97M 0 0 14.09M 0 0
* qwen_merges.hpp: downloaded successfully
* ggmlR lib: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/lib
* ggmlR include: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include
* OpenMP: enabled (C: -fopenmp, C++: -fopenmp)
* Vulkan: disabled (ggml_backend_vk_get_device_count not defined in libggml.a)
* Meta backend: enabled (ggml_backend_meta_device found in libggml.a)
* Wrote src/Makevars
* Patching sd/ sources for R compatibility...
patched: conditioner.hpp
patched: common_block.hpp
patched: easycache.hpp
patched: control.hpp
patched: ggml_extend_backend.h
patched: diffusion_model.hpp
patched: model.h
patched: convert.cpp
patched: sample-cache.h
patched: rng_philox.hpp
patched: name_conversion.h
patched: tae.hpp
patched: stable-diffusion.h
patched: sd2r_meta_backend.hpp
patched: version.cpp
patched: ggml_graph_cut.cpp
patched: rng.hpp
patched: flux.hpp
patched: ordered_map.hpp
patched: rope.hpp
patched: preprocessing.hpp
patched: cache_dit.hpp
patched: ltxv.hpp
patched: ltx_audio_vae.h
patched: common_dit.hpp
patched: ucache.hpp
patched: ggml_graph_cut.h
patched: clip.hpp
patched: ggml_extend_backend.cpp
patched: pid.hpp
patched: hidream_o1.hpp
patched: unet.hpp
patched: sample-cache.cpp
patched: wan.hpp
patched: pmid.hpp
patched: tensor_ggml.hpp
patched: ltx_latent_upscaler.hpp
patched: auto_encoder_kl.hpp
patched: latent-preview.h
patched: denoiser.hpp
patched: ltx_vae.hpp
patched: lora.hpp
patched: name_conversion.cpp
patched: stable-diffusion.cpp
patched: upscaler.h
patched: qwen_image.hpp
patched: tensor.hpp
patched: mmdit.hpp
patched: guidance.cpp
patched: condition_cache_utils.hpp
patched: util.h
patched: spectrum.hpp
patched: layer_registry.cpp
patched: anima.hpp
patched: ernie_image.hpp
patched: esrgan.hpp
patched: lens.hpp
patched: vae.hpp
patched: guidance.h
patched: layer_registry.h
patched: z_image.hpp
patched: upscaler.cpp
patched: rng_mt19937.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)
patched: thirdparty/json.hpp.inc (literal operator spacing)
patched: util.h (VA_OPT)
patched: stable-diffusion.cpp (defensive mask creation)
* Done.
** libs
specified C++17
using C++ compiler: ‘Debian clang version 22.1.8 (1)’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp098cZE/R.INSTALL2282a72688ba87/sd2R/src'
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd2R_interface.cpp -o sd2R_interface.o
sd2R_interface.cpp:388:24: warning: object backing the pointer 'p.model_path' will be destroyed at the end of the full-expression [-Wdangling-assignment-gsl]
388 | p.model_path = Rcpp::as<std::string>(params["model_path"]).c_str();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/stable-diffusion.cpp -o sd/stable-diffusion.o
In file included from sd/stable-diffusion.cpp:5:
sd/ggml_extend.hpp:88:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
88 | LOG_DEBUG(text);
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:5:
sd/ggml_extend.hpp:91:26: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
91 | LOG_INFO(text);
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:5:
sd/ggml_extend.hpp:94:26: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
94 | LOG_WARN(text);
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:5:
sd/ggml_extend.hpp:97:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
97 | LOG_ERROR(text);
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:5:
sd/ggml_extend.hpp:100:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
100 | LOG_DEBUG(text);
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:5:
sd/ggml_extend.hpp:375:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable]
375 | int32_t nelements = 1;
| ^
sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable]
2814 | int64_t t_segment_begin = ggml_time_ms();
| ^~~~~~~~~~~~~~~
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:9:
sd/common_block.hpp:318:17: warning: unused variable 'n_context' [-Wunused-variable]
318 | int64_t n_context = context->ne[1];
| ^~~~~~~~~
sd/common_block.hpp:319:17: warning: unused variable 'inner_dim' [-Wunused-variable]
319 | int64_t inner_dim = d_head * n_head;
| ^~~~~~~~~
sd/common_block.hpp:569:18: warning: 'VideoResBlock::forward' hides overloaded virtual function [-Woverloaded-virtual]
569 | ggml_tensor* forward(GGMLRunnerContext* ctx,
| ^
sd/common_block.hpp:126:26: note: hidden overloaded virtual function 'ResBlock::forward' declared here: different number of parameters (3 vs 4)
126 | virtual ggml_tensor* forward(GGMLRunnerContext* ctx, ggml_tensor* x, ggml_tensor* emb = nullptr) {
| ^
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:11:
sd/flux.hpp:1238:52: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1238 | LOG_DEBUG("using x0 prediction");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:11:
sd/flux.hpp:1242:52: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1242 | LOG_DEBUG("using patch size 32");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:11:
sd/flux.hpp:1282:53: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1282 | LOG_DEBUG("using fake x2 patch size");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:11:
sd/flux.hpp:1297:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1297 | LOG_INFO("Using pruned modulation (Chroma)");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:11:
sd/flux.hpp:1591:57: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1591 | LOG_ERROR("flux model allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:11:
sd/flux.hpp:1601:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1601 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:11:
sd/flux.hpp:1605:41: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1605 | LOG_INFO("flux model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:16:
In file included from sd/auto_encoder_kl.hpp:4:
sd/vae.hpp:152:50: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
152 | LOG_ERROR("vae encode compute failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:16:
In file included from sd/auto_encoder_kl.hpp:4:
sd/vae.hpp:203:50: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
203 | LOG_ERROR("vae decode compute failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:8:
sd/clip.hpp:323:48: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
323 | LOG_DEBUG("identity projection");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:8:
sd/clip.hpp:508:16: warning: unused variable 'N' [-Wunused-variable]
508 | size_t N = input_ids->ne[1];
| ^
sd/clip.hpp:509:16: warning: unused variable 'n_token' [-Wunused-variable]
509 | size_t n_token = input_ids->ne[0];
| ^~~~~~~
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:9:
sd/llm.hpp:574:21: warning: unused variable 'n_token' [-Wunused-variable]
574 | int64_t n_token = x->ne[1];
| ^~~~~~~
sd/llm.hpp:575:21: warning: unused variable 'N' [-Wunused-variable]
575 | int64_t N = x->ne[2];
| ^
sd/llm.hpp:1578:71: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1578 | LOG_WARN("no vision weights detected, vision disabled");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:9:
sd/llm.hpp:1582:46: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1582 | LOG_DEBUG("enable llm vision");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:9:
sd/llm.hpp:1584:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1584 | LOG_DEBUG("llama.cpp style vision weight");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:9:
sd/llm.hpp:1748:21: warning: unused variable 'llm_grid_h' [-Wunused-variable]
1748 | int64_t llm_grid_h = grid_h / params.vision.spatial_merge_size;
| ^~~~~~~~~~
sd/llm.hpp:1749:21: warning: unused variable 'llm_grid_w' [-Wunused-variable]
1749 | int64_t llm_grid_w = grid_w / params.vision.spatial_merge_size;
| ^~~~~~~~~~
sd/llm.hpp:2080:56: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2080 | LOG_ERROR("llm model allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:9:
sd/llm.hpp:2090:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2090 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:9:
sd/llm.hpp:2094:40: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2094 | LOG_INFO("llm model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:9:
sd/llm.hpp:1936:37: warning: unused variable 'weights' [-Wunused-variable]
1936 | std::vector<float>& weights = std::get<1>(tokens_and_weights);
| ^~~~~~~
sd/llm.hpp:1980:37: warning: unused variable 'weights' [-Wunused-variable]
1980 | std::vector<float>& weights = std::get<1>(tokens_and_weights);
| ^~~~~~~
sd/llm.hpp:2005:37: warning: unused variable 'weights' [-Wunused-variable]
2005 | std::vector<float>& weights = std::get<1>(tokens_and_weights);
| ^~~~~~~
sd/llm.hpp:2030:37: warning: unused variable 'weights' [-Wunused-variable]
2030 | std::vector<float>& weights = std::get<1>(tokens_and_weights);
| ^~~~~~~
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:10:
sd/t5.hpp:349:16: warning: unused variable 'N' [-Wunused-variable]
349 | size_t N = input_ids->ne[1];
| ^
sd/t5.hpp:350:16: warning: unused variable 'n_token' [-Wunused-variable]
350 | size_t n_token = input_ids->ne[0];
| ^~~~~~~
sd/t5.hpp:585:59: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
585 | LOG_ERROR("t5 params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:10:
sd/t5.hpp:594:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
594 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:10:
sd/t5.hpp:598:35: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
598 | LOG_INFO("t5 model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:10:
sd/t5.hpp:538:33: warning: unused variable 'weights' [-Wunused-variable]
538 | std::vector<float>& weights = std::get<1>(tokens_and_weights);
| ^~~~~~~
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:771:92: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
771 | LOG_WARN("IMPORTANT NOTICE: No text encoders provided, cannot process prompts!");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:1155:92: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1155 | LOG_WARN("IMPORTANT NOTICE: No text encoders provided, cannot process prompts!");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:1162:90: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1162 | LOG_WARN("clip_l text encoder not found! Prompt adherence might be degraded.");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:1167:89: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1167 | LOG_WARN("t5xxl text encoder not found! Prompt adherence might be degraded.");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:1444:92: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1444 | LOG_WARN("IMPORTANT NOTICE: No text encoders provided, cannot process prompts!");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:1519:14: warning: unused variable 'on_new_token_cb' [-Wunused-variable]
1519 | auto on_new_token_cb = [&](std::string& str, std::vector<int32_t>& bpe_tokens) -> bool {
| ^~~~~~~~~~~~~~~
sd/conditioner.hpp:1981:53: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1981 | LOG_INFO("QwenImageEditPlusPipeline");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:2051:47: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2051 | LOG_INFO("LongCatEditPipeline");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:2160:46: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2160 | LOG_INFO("ZImageOmniPipeline");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:18:
sd/control.hpp:268:17: warning: unused variable 'mult' [-Wunused-variable]
268 | int mult = channel_mult[i];
| ^~~~
sd/control.hpp:461:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
461 | LOG_ERROR("control net model buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:18:
sd/control.hpp:478:74: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
478 | LOG_ERROR("load control net tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:18:
sd/control.hpp:482:44: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
482 | LOG_INFO("control net model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:92:65: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
92 | LOG_ERROR("Linear Interpolation Failed: length mismatch");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:183:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
183 | LOG_WARN("AYS_SCHEDULER not designed for SD2.X models");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:186:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
186 | LOG_INFO("AYS_SCHEDULER using SD1.5 noise levels");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:189:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
189 | LOG_INFO("AYS_SCHEDULER using SDXL noise levels");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:192:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
192 | LOG_INFO("AYS_SCHEDULER using SVD noise levels");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:195:76: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
195 | LOG_ERROR("Version not compatible with AYS_SCHEDULER scheduler");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:579:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
579 | LOG_INFO("get_sigmas with discrete scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:583:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
583 | LOG_INFO("get_sigmas with Karras scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:587:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
587 | LOG_INFO("get_sigmas exponential scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:591:70: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
591 | LOG_INFO("get_sigmas with Align-Your-Steps scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:595:58: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
595 | LOG_INFO("get_sigmas with GITS scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:599:65: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
599 | LOG_INFO("get_sigmas with SGM Uniform scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:603:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
603 | LOG_INFO("get_sigmas with Simple scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:607:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
607 | LOG_INFO("get_sigmas with SmoothStep scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:611:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
611 | LOG_INFO("get_sigmas with bong_tangent scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:615:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
615 | LOG_INFO("get_sigmas with KL Optimal scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:619:57: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
619 | LOG_INFO("get_sigmas with LCM scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:623:58: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
623 | LOG_INFO("get_sigmas with LTX2 scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:627:72: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
627 | LOG_INFO("get_sigmas with discrete scheduler (default)");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:1726:15: warning: unused variable 'alpha_prod_t' [-Wunused-variable]
1726 | float alpha_prod_t = 1.0f / (sigma * sigma + 1.0f);
| ^~~~~~~~~~~~
In file included from sd/stable-diffusion.cpp:21:
In file included from sd/ernie_image.hpp:10:
sd/qwen_image.hpp:456:21: warning: unused variable 'C' [-Wunused-variable]
456 | int64_t C = x->ne[2];
| ^
sd/qwen_image.hpp:457:21: warning: unused variable 'N' [-Wunused-variable]
457 | int64_t N = x->ne[3];
| ^
sd/qwen_image.hpp:522:43: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
522 | LOG_INFO("use zero_cond_t");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:21:
In file included from sd/ernie_image.hpp:10:
sd/qwen_image.hpp:709:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
709 | LOG_ERROR("qwen_image buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:21:
In file included from sd/ernie_image.hpp:10:
sd/qwen_image.hpp:719:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
719 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:21:
In file included from sd/ernie_image.hpp:10:
sd/qwen_image.hpp:723:47: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
723 | LOG_INFO("qwen_image model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:22:
sd/esrgan.hpp:274:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
274 | LOG_ERROR("esrgan model buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:22:
sd/esrgan.hpp:345:69: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
345 | LOG_ERROR("load esrgan tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:25:
sd/hidream_o1.hpp:669:80: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
669 | LOG_ERROR("hidream_o1 conditioner: encode VLM image failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:27:
sd/lora.hpp:90:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
90 | LOG_ERROR("lora model buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:27:
sd/lora.hpp:97:41: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
97 | LOG_DEBUG("finished loaded lora");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:28:
sd/ltx_audio_vae.h:1072:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1072 | LOG_ERROR("ltx audio vae buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:28:
sd/ltx_audio_vae.h:1080:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1080 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:28:
sd/ltx_audio_vae.h:1084:50: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1084 | LOG_INFO("ltx audio vae model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:29:
sd/ltx_latent_upscaler.hpp:463:97: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
463 | LOG_ERROR("unsupported LTX latent upsampler weights: expected upsampler tensors");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:29:
sd/ltx_latent_upscaler.hpp:483:81: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
483 | LOG_ERROR("LTX latent upsampler params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:29:
sd/ltx_latent_upscaler.hpp:494:69: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
494 | LOG_ERROR("load LTX latent upsampler tensors failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:29:
sd/ltx_latent_upscaler.hpp:524:63: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
524 | LOG_ERROR("LTX latent upsampler is not loaded");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:12:
sd/ltxv.hpp:2021:59: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2021 | LOG_ERROR("ltxav buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:12:
sd/ltxv.hpp:2028:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2028 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:12:
sd/ltxv.hpp:2032:42: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2032 | LOG_INFO("ltxav model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:14:
sd/wan.hpp:1338:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1338 | LOG_ERROR("vae buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:14:
sd/wan.hpp:1353:70: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1353 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:14:
sd/wan.hpp:1357:44: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1357 | LOG_INFO("vae model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:14:
sd/wan.hpp:1332:23: warning: unused variable 'model_data_type' [-Wunused-variable]
1332 | ggml_type model_data_type = GGML_TYPE_F16;
| ^~~~~~~~~~~~~~~
sd/wan.hpp:1430:30: warning: 'WAN::WanCrossAttention::forward' hides overloaded virtual function [-Woverloaded-virtual]
1430 | virtual ggml_tensor* forward(GGMLRunnerContext* ctx,
| ^
sd/wan.hpp:1389:30: note: hidden overloaded virtual function 'WAN::WanSelfAttention::forward' declared here: type mismatch at 4th parameter ('ggml_tensor *' vs 'int64_t' (aka 'long'))
1389 | virtual ggml_tensor* forward(GGMLRunnerContext* ctx,
| ^
sd/wan.hpp:1451:21: warning: unused variable 'N' [-Wunused-variable]
1451 | int64_t N = x->ne[2];
| ^
sd/wan.hpp:1452:21: warning: unused variable 'n_token' [-Wunused-variable]
1452 | int64_t n_token = x->ne[1];
| ^~~~~~~
sd/wan.hpp:1512:21: warning: unused variable 'n_token' [-Wunused-variable]
1512 | int64_t n_token = x->ne[1];
| ^~~~~~~
sd/wan.hpp:1680:47: warning: 'WAN::VaceWanAttentionBlock::forward' hides overloaded virtual function [-Woverloaded-virtual]
1680 | std::pair<ggml_tensor*, ggml_tensor*> forward(GGMLRunnerContext* ctx,
| ^
sd/wan.hpp:1605:30: note: hidden overloaded virtual function 'WAN::WanAttentionBlock::forward' declared here: different number of parameters (6 vs 7)
1605 | virtual ggml_tensor* forward(GGMLRunnerContext* ctx,
| ^
sd/wan.hpp:2064:21: warning: unused variable 'C' [-Wunused-variable]
2064 | int64_t C = x->ne[3];
| ^
sd/wan.hpp:2375:57: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2375 | LOG_ERROR("wan buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:14:
sd/wan.hpp:2385:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2385 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
In file included from sd/ltx_vae.hpp:14:
sd/wan.hpp:2389:40: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2389 | LOG_INFO("wan model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
sd/ltx_vae.hpp:1428:117: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1428 | LOG_ERROR("LTX video VAE encode requires encoder weights; create the context with vae_decode_only=false");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
sd/ltx_vae.hpp:1538:53: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1538 | LOG_ERROR("vae buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
sd/ltx_vae.hpp:1546:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1546 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:30:
sd/ltx_vae.hpp:1550:40: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1550 | LOG_INFO("ltx vae model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:32:
sd/mmdit.hpp:682:17: warning: unused variable 'default_out_channels' [-Wunused-variable]
682 | int64_t default_out_channels = in_channels;
| ^~~~~~~~~~~~~~~~~~~~
sd/mmdit.hpp:957:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
957 | LOG_ERROR("mmdit embeds buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:32:
sd/mmdit.hpp:973:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
973 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:32:
sd/mmdit.hpp:977:42: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
977 | LOG_INFO("mmdit model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:32:
sd/mmdit.hpp:951:19: warning: unused variable 'model_data_type' [-Wunused-variable]
951 | ggml_type model_data_type = GGML_TYPE_F16;
| ^~~~~~~~~~~~~~~
In file included from sd/stable-diffusion.cpp:33:
sd/pid.hpp:739:21: warning: unused variable 'B' [-Wunused-variable]
739 | int64_t B = x->ne[3];
| ^
In file included from sd/stable-diffusion.cpp:34:
sd/pmid.hpp:619:70: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
619 | LOG_ERROR("PhotoMaker ID embeds buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:34:
sd/pmid.hpp:626:59: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
626 | LOG_DEBUG("finished loading PhotoMaker ID Embeds ");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:36:
In file included from sd/sample-cache.h:6:
sd/cache_dit.hpp:78:13: warning: unused variable 'order' [-Wunused-variable]
78 | int order = n_derivatives + 1;
| ^~~~~
In file included from sd/stable-diffusion.cpp:37:
sd/tae.hpp:68:29: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
68 | LOG_DEBUG("skip");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:38:
sd/unet.hpp:64:18: warning: 'SpatialVideoTransformer::forward' hides overloaded virtual function [-Woverloaded-virtual]
64 | ggml_tensor* forward(GGMLRunnerContext* ctx,
| ^
sd/common_block.hpp:470:26: note: hidden overloaded virtual function 'SpatialTransformer::forward' declared here: different number of parameters (3 vs 4)
470 | virtual ggml_tensor* forward(GGMLRunnerContext* ctx,
| ^
In file included from sd/stable-diffusion.cpp:38:
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:502:17: warning: unused variable 'mult' [-Wunused-variable]
502 | int mult = channel_mult[i];
| ^~~~
In file included from sd/stable-diffusion.cpp:42:
sd/z_image.hpp:47:21: warning: unused variable 'n_token' [-Wunused-variable]
47 | int64_t n_token = x->ne[1];
| ^~~~~~~
sd/z_image.hpp:48:21: warning: unused variable 'N' [-Wunused-variable]
48 | int64_t N = x->ne[2];
| ^
sd/z_image.hpp:442:21: warning: unused variable 'C' [-Wunused-variable]
442 | int64_t C = x->ne[2];
| ^
sd/z_image.hpp:443:21: warning: unused variable 'N' [-Wunused-variable]
443 | int64_t N = x->ne[3];
| ^
sd/z_image.hpp:643:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
643 | LOG_ERROR("z_image buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:42:
sd/z_image.hpp:652:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
652 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:42:
sd/z_image.hpp:656:44: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
656 | LOG_INFO("z_image model loaded");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:269:86: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
269 | LOG_WARN("--stream-layers has no effect without --max-vram set; ignoring");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:274:110: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
274 | LOG_WARN("--stream-layers has no effect without --offload-to-cpu (or --params-backend); ignoring");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:507:96: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
507 | LOG_WARN("in mode 'immediately', LoRAs will cause extra memory usage with mmap");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:567:92: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
567 | LOG_INFO("SDXS model has no TAESD tensors; using its first_stage_model VAE");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:572:63: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
572 | LOG_INFO("Using circular padding for convolutions");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:616:73: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
616 | "--chroma-disable-dit-mask as a workaround.");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:795:74: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
795 | LOG_INFO("Using Conv2d direct in the diffusion model");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:846:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
846 | LOG_WARN("invalid VAE format override, using auto");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:895:41: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
895 | LOG_INFO("using FakeVAE");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:900:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
900 | LOG_INFO("using TAE for encoding / decoding");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:905:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
905 | LOG_INFO("using VAE for encoding / decoding");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:910:53: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
910 | LOG_INFO("using TAE for preview");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:925:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
925 | LOG_INFO("Using Conv2d direct in the vae model");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:941:70: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
941 | LOG_INFO("Using Conv2d direct in the control net");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:957:58: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
957 | LOG_INFO("using PhotoMaker Version 2");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:993:49: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
993 | LOG_INFO("Using flash attention");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1007:72: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1007 | LOG_INFO("Using flash attention in the diffusion model");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1036:36: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1036 | LOG_DEBUG("loading weights");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1084:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1084 | LOG_DEBUG("no tensors could be memory-mapped");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1091:68: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1091 | LOG_ERROR("CLIP vision params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1096:74: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1096 | LOG_ERROR("Conditioner model params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1101:72: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1101 | LOG_ERROR("Diffusion model params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1106:83: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1106 | LOG_ERROR("High noise diffusion model params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1111:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1111 | LOG_ERROR("VAE params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1116:68: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1116 | LOG_ERROR("preview VAE params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1121:70: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1121 | LOG_ERROR("LTX audio VAE params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1126:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1126 | LOG_ERROR("PhotoMaker params buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1133:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1133 | LOG_ERROR("load tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1138:41: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1138 | LOG_DEBUG("finished loaded file");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1292:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1292 | LOG_INFO("running in eps-prediction mode");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1295:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1295 | LOG_INFO("running in v-prediction mode");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1299:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1299 | LOG_INFO("running in v-prediction EDM mode");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1304:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1304 | LOG_INFO("running in LTXAV FLOW mode");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1307:56: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1307 | LOG_INFO("running in FLOW mode");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1313:57: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1313 | LOG_INFO("running in Flux FLOW mode");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1318:58: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1318 | LOG_INFO("running in Flux2 FLOW mode");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1419:42: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1419 | LOG_INFO("apply lora immediately");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1465:41: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1465 | LOG_INFO("apply lora at runtime");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1579:47: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1579 | LOG_INFO("cond_stage_lora_models:");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1586:46: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1586 | LOG_INFO("diffusion_lora_models:");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1593:48: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1593 | LOG_INFO("first_stage_lora_models:");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1667:97: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1667 | LOG_WARN("Provided PhotoMaker images, but NO valid ID embeds file for PM v2");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1668:51: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1668 | LOG_WARN("Turn off PhotoMaker");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1673:55: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1673 | LOG_WARN("Turn off PhotoMaker");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1682:70: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1682 | LOG_ERROR("Photomaker ID Stacking failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1683:59: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1683 | LOG_WARN("Turn off PhotoMaker");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1698:82: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1698 | LOG_WARN("Provided PhotoMaker model file, but NO input ID images");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1699:47: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1699 | LOG_WARN("Turn off PhotoMaker");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1721:55: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1721 | LOG_ERROR("clip_vision compute failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1764:83: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1764 | LOG_WARN("unexpected LTXAV denoise mask shape for timestep processing");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1809:80: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1809 | LOG_WARN("No latent to RGB projection known for this model");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1817:80: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1817 | LOG_WARN("No latent to RGB projection known for this model");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1831:80: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1831 | LOG_WARN("No latent to RGB projection known for this model");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1842:80: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1842 | LOG_WARN("No latent to RGB projection known for this model");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:1988:50: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1988 | LOG_ERROR("controlnet compute failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:2037:89: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2037 | LOG_WARN("Spectrum cache requested but not supported for CFG++ samplers");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:2046:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2046 | LOG_WARN("SLG is incompatible with this model type");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:2051:63: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2051 | LOG_INFO("using Adaptive Projected Guidance (APG)");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:2196:63: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2196 | LOG_ERROR("diffusion model compute failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:2300:56: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2300 | LOG_ERROR("Diffusion model sampling failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:2456:72: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2456 | LOG_ERROR("LTX latent normalization requires LTX video VAE");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:2465:75: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
2465 | LOG_ERROR("LTX latent un-normalization requires LTX video VAE");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:3441:83: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
3441 | LOG_WARN("hires model upscaler requires a model path, disabling hires");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:3446:96: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
3446 | LOG_WARN("hires scale must be positive when no target size is set, disabling hires");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:3451:85: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
3451 | LOG_WARN("hires custom sigmas count is negative, ignoring custom sigmas");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:3456:112: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
3456 | LOG_WARN("hires custom sigmas count is positive but custom sigmas are null, ignoring custom sigmas");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:3460:96: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
3460 | LOG_WARN("hires custom sigmas requires at least two values, ignoring custom sigmas");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:3479:74: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
3479 | LOG_WARN("hires target size is not positive, disabling hires");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:3508:116: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
3508 | LOG_WARN("3-conditioning CFG is not supported with this model, disabling it for better performance");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:3548:76: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
3548 | LOG_WARN("timestep shifting is only supported for SDXL models!");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4071:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4071 | LOG_INFO("IMG2IMG");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4099:86: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4099 | LOG_WARN("inpainting model requires both an init image and a mask image.");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4121:52: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4121 | LOG_ERROR("failed to encode init image");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4129:55: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4129 | LOG_ERROR("failed to encode control image");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4140:91: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4140 | LOG_WARN("This model needs at least one reference image; using an empty reference");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4147:29: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4147 | LOG_INFO("EDIT mode");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4157:47: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4157 | LOG_DEBUG("auto resize ref images");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4190:55: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4190 | LOG_ERROR("PiD requires a reference image");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4205:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4205 | LOG_ERROR("failed to encode masked init image");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4293:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4293 | LOG_INFO("PHASE: text-encode (get_learned_condition) BEGIN");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4431:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4431 | LOG_ERROR("latent has invalid shape for hires upscale");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4479:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4479 | LOG_ERROR("hires model upscaler context is null");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4494:55: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4494 | LOG_ERROR("hires model upscale failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4698:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4698 | LOG_ERROR("load hires model upscaler failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4842:65: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4842 | LOG_ERROR("LTXAV control_frames are not implemented");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4848:129: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4848 | LOG_ERROR("LTXAV image conditioning requires VAE encoder weights; create the context with vae_decode_only=false");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4853:33: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4853 | LOG_INFO("FLF2V");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4855:35: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4855 | LOG_INFO("IMG2VID");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4857:35: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4857 | LOG_INFO("END2VID");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4942:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4942 | LOG_INFO("IMG2VID");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4950:84: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4950 | LOG_ERROR("failed to compute clip vision output for init image");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4963:87: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4963 | LOG_ERROR("failed to compute clip vision output for end image");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:4987:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
4987 | LOG_ERROR("failed to encode video conditioning frames");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5010:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5010 | LOG_INFO("IMG2VID");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5016:58: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5016 | LOG_ERROR("failed to encode init video frame");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5030:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5030 | LOG_ERROR("failed to encode end video frame");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5041:24: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5041 | LOG_INFO("VACE");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5048:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5048 | LOG_ERROR("failed to encode VACE reference image");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5069:63: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5069 | LOG_ERROR("failed to encode VACE inactive context");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5075:63: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5075 | LOG_ERROR("failed to encode VACE reactive context");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5168:46: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5168 | LOG_ERROR("no latent video to decode");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5190:56: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5190 | LOG_ERROR("decode_first_stage failed for video");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5226:69: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5226 | LOG_ERROR("LTX latent spatial upscale requires a model path");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5249:78: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5249 | LOG_ERROR("LTX latent un-normalization failed before spatial upscale");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5259:53: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5259 | LOG_ERROR("load LTX latent upsampler failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5266:54: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5266 | LOG_ERROR("LTX latent spatial upscale failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5272:74: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5272 | LOG_ERROR("LTX latent normalization failed after spatial upscale");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5298:127: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5298 | LOG_ERROR("LTXV refine image conditioning requires VAE encoder weights; create the context with vae_decode_only=false");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5310:103: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5310 | LOG_ERROR("failed to unpack LTXAV audio latent before image-to-video inplace conditioning");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5351:114: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5351 | LOG_ERROR("LTXV FLF2V refine conditioning requires low-resolution keyframe conditioning metadata");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5817:90: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5817 | LOG_ERROR("LTX latent spatial upscale is only supported for LTX video models");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5821:91: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5821 | LOG_ERROR("LTX latent spatial upscale currently requires hires upscaler MODEL");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:5825:100: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
5825 | LOG_ERROR("LTX latent spatial upscale is enabled but hires model path was not provided");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/stable-diffusion.cpp:6127:95: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
6127 | LOG_WARN("LTX audio latent decode failed; continuing with silent video output");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Linear, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
3987 | blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Linear *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Linear *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Linear, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
3987 | blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Conv2d, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:22:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv2d, void>' requested here
22 | blocks["conv"] = std::shared_ptr<GGMLBlock>(new Conv2d(channels, out_channels, {3, 3}, {2, 2}, {0, 0}));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Conv2d *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Conv2d *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Conv2d, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:22:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv2d, void>' requested here
22 | blocks["conv"] = std::shared_ptr<GGMLBlock>(new Conv2d(channels, out_channels, {3, 3}, {2, 2}, {0, 0}));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Conv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv3d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv3d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Conv3d, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:85:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv3d, void>' requested here
85 | return std::shared_ptr<GGMLBlock>(new Conv3d(in_channels, out_channels, {kernel_size.first, 1, 1}, {1, 1, 1}, {padding.first, 0, 0}));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Conv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Conv3d *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Conv3d *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv3d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv3d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Conv3d, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:85:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv3d, void>' requested here
85 | return std::shared_ptr<GGMLBlock>(new Conv3d(in_channels, out_channels, {kernel_size.first, 1, 1}, {1, 1, 1}, {padding.first, 0, 0}));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'GroupNorm32' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm32 *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm32 *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<GroupNorm32, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:107:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GroupNorm32, void>' requested here
107 | blocks["in_layers.0"] = std::shared_ptr<GGMLBlock>(new GroupNorm32(channels));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'GroupNorm32' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<GroupNorm32 *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<GroupNorm32 *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm32 *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm32 *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<GroupNorm32, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:107:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GroupNorm32, void>' requested here
107 | blocks["in_layers.0"] = std::shared_ptr<GGMLBlock>(new GroupNorm32(channels));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'GELU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GELU *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GELU *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<GELU, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:243:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GELU, void>' requested here
243 | blocks["net.0"] = std::shared_ptr<GGMLBlock>(new GELU(dim, inner_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'GELU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<GELU *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<GELU *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GELU *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GELU *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<GELU, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:243:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GELU, void>' requested here
243 | blocks["net.0"] = std::shared_ptr<GGMLBlock>(new GELU(dim, inner_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'GEGLU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GEGLU *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GEGLU *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<GEGLU, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:245:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GEGLU, void>' requested here
245 | blocks["net.0"] = std::shared_ptr<GGMLBlock>(new GEGLU(dim, inner_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'GEGLU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<GEGLU *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<GEGLU *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GEGLU *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GEGLU *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<GEGLU, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:245:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GEGLU, void>' requested here
245 | blocks["net.0"] = std::shared_ptr<GGMLBlock>(new GEGLU(dim, inner_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CrossAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CrossAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CrossAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:356:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CrossAttention, void>' requested here
356 | blocks["attn1"] = std::shared_ptr<GGMLBlock>(new CrossAttention(dim, dim, n_head, d_head));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<CrossAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<CrossAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CrossAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CrossAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CrossAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:356:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CrossAttention, void>' requested here
356 | blocks["attn1"] = std::shared_ptr<GGMLBlock>(new CrossAttention(dim, dim, n_head, d_head));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FeedForward *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FeedForward *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FeedForward, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:358:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FeedForward, void>' requested here
358 | blocks["ff"] = std::shared_ptr<GGMLBlock>(new FeedForward(dim, dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<FeedForward *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<FeedForward *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FeedForward *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FeedForward *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FeedForward, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:358:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FeedForward, void>' requested here
358 | blocks["ff"] = std::shared_ptr<GGMLBlock>(new FeedForward(dim, dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LayerNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LayerNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LayerNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:359:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LayerNorm, void>' requested here
359 | blocks["norm1"] = std::shared_ptr<GGMLBlock>(new LayerNorm(dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LayerNorm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LayerNorm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LayerNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LayerNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LayerNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:359:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LayerNorm, void>' requested here
359 | blocks["norm1"] = std::shared_ptr<GGMLBlock>(new LayerNorm(dim));
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Conv2d>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Conv2d>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Conv2d, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Conv2d, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, std::pair<int, int>>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d, std::allocator<void>, long &, long &, std::pair<int, int>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Conv2d>::__shared_ptr<std::allocator<void>, long &, long &, std::pair<int, int>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Conv2d>::shared_ptr<std::allocator<void>, long &, long &, std::pair<int, int>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/common_block.hpp:426:43: note: in instantiation of function template specialization 'std::make_shared<Conv2d, long &, long &, std::pair<int, int>>' requested here
426 | blocks["proj_in"] = std::make_shared<Conv2d>(in_channels, inner_dim, std::pair{1, 1});
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Linear>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Linear>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Linear, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Linear, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Linear>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Linear>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/common_block.hpp:430:43: note: in instantiation of function template specialization 'std::make_shared<Linear, long &, long &>' requested here
430 | blocks["proj_in"] = std::make_shared<Linear>(in_channels, inner_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'BasicTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<BasicTransformerBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<BasicTransformerBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<BasicTransformerBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:460:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<BasicTransformerBlock, void>' requested here
460 | blocks[name] = std::shared_ptr<GGMLBlock>(new BasicTransformerBlock(inner_dim, n_head, d_head, context_dim, false));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'BasicTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<BasicTransformerBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<BasicTransformerBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<BasicTransformerBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<BasicTransformerBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<BasicTransformerBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:460:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<BasicTransformerBlock, void>' requested here
460 | blocks[name] = std::shared_ptr<GGMLBlock>(new BasicTransformerBlock(inner_dim, n_head, d_head, context_dim, false));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<ResBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:565:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<ResBlock, void>' requested here
565 | blocks["time_stack"] = std::shared_ptr<GGMLBlock>(new ResBlock(out_channels, emb_channels, out_channels, kernel_size, 3, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<ResBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<ResBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<ResBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:565:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<ResBlock, void>' requested here
565 | blocks["time_stack"] = std::shared_ptr<GGMLBlock>(new ResBlock(out_channels, emb_channels, out_channels, kernel_size, 3, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'AlphaBlender' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AlphaBlender *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AlphaBlender *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<AlphaBlender, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:566:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AlphaBlender, void>' requested here
566 | blocks["time_mixer"] = std::shared_ptr<GGMLBlock>(new AlphaBlender());
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'AlphaBlender' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<AlphaBlender *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<AlphaBlender *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AlphaBlender *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AlphaBlender *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<AlphaBlender, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/common_block.hpp:566:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AlphaBlender, void>' requested here
566 | blocks["time_mixer"] = std::shared_ptr<GGMLBlock>(new AlphaBlender());
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::RMSNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::RMSNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::RMSNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:63:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::RMSNorm, void>' requested here
63 | blocks["query_norm"] = std::shared_ptr<GGMLBlock>(new RMSNorm(dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::RMSNorm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::RMSNorm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::RMSNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::RMSNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::RMSNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:63:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::RMSNorm, void>' requested here
63 | blocks["query_norm"] = std::shared_ptr<GGMLBlock>(new RMSNorm(dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Flux::QKNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::QKNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::QKNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::QKNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:98:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::QKNorm, void>' requested here
98 | blocks["norm"] = std::shared_ptr<GGMLBlock>(new QKNorm(head_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Flux::QKNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::QKNorm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::QKNorm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::QKNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::QKNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::QKNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:98:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::QKNorm, void>' requested here
98 | blocks["norm"] = std::shared_ptr<GGMLBlock>(new QKNorm(head_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::Modulation *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::Modulation *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::Modulation, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:272:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::Modulation, void>' requested here
272 | blocks["img_mod"] = std::shared_ptr<GGMLBlock>(new Modulation(hidden_size, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::Modulation *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::Modulation *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::Modulation *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::Modulation *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::Modulation, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:272:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::Modulation, void>' requested here
272 | blocks["img_mod"] = std::shared_ptr<GGMLBlock>(new Modulation(hidden_size, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Flux::SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::SelfAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::SelfAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::SelfAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:275:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::SelfAttention, void>' requested here
275 | blocks["img_attn"] = std::shared_ptr<GGMLBlock>(new SelfAttention(hidden_size, num_heads, qkv_bias, mlp_proj_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Flux::SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::SelfAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::SelfAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::SelfAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::SelfAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::SelfAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:275:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::SelfAttention, void>' requested here
275 | blocks["img_attn"] = std::shared_ptr<GGMLBlock>(new SelfAttention(hidden_size, num_heads, qkv_bias, mlp_proj_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Flux::YakMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::YakMLP *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::YakMLP *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::YakMLP, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:279:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::YakMLP, void>' requested here
279 | blocks["img_mlp"] = std::shared_ptr<GGMLBlock>(new YakMLP(hidden_size, mlp_hidden_dim, mlp_proj_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Flux::YakMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::YakMLP *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::YakMLP *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::YakMLP *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::YakMLP *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::YakMLP, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:279:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::YakMLP, void>' requested here
279 | blocks["img_mlp"] = std::shared_ptr<GGMLBlock>(new YakMLP(hidden_size, mlp_hidden_dim, mlp_proj_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Flux::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLP *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLP *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::MLP, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:281:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::MLP, void>' requested here
281 | blocks["img_mlp"] = std::shared_ptr<GGMLBlock>(new MLP(hidden_size, mlp_hidden_dim, use_mlp_silu_act, mlp_proj_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Flux::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::MLP *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::MLP *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLP *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLP *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::MLP, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/flux.hpp:281:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::MLP, void>' requested here
281 | blocks["img_mlp"] = std::shared_ptr<GGMLBlock>(new MLP(hidden_size, mlp_hidden_dim, use_mlp_silu_act, mlp_proj_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLPEmbedder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLPEmbedder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::MLPEmbedder, void>' 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<GGMLBlock>::shared_ptr<Flux::MLPEmbedder, void>' requested here
586 | blocks["layers." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new MLPEmbedder(inner_size, inner_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::MLPEmbedder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Flux::MLPEmbedder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLPEmbedder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLPEmbedder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Flux::MLPEmbedder, void>' 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<GGMLBlock>::shared_ptr<Flux::MLPEmbedder, void>' requested here
586 | blocks["layers." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new MLPEmbedder(inner_size, inner_size));
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::RMSNorm>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::RMSNorm>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::RMSNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::RMSNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::RMSNorm, std::allocator<void>, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::RMSNorm>::__shared_ptr<std::allocator<void>, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::RMSNorm>::shared_ptr<std::allocator<void>, long &>' requested here
1065 | 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<Flux::RMSNorm, long &>' requested here
638 | blocks["norm"] = std::make_shared<RMSNorm>(hidden_size_x);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::ChromaApproximator>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::ChromaApproximator>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::ChromaApproximator, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::ChromaApproximator, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::ChromaApproximator, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::ChromaApproximator>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::ChromaApproximator>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | 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<Flux::ChromaApproximator, long &, long &>' requested here
783 | blocks["distilled_guidance_layer"] = std::make_shared<ChromaApproximator>(params.in_dim, params.hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::MLPEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::MLPEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::MLPEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::MLPEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int, long &, bool>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::MLPEmbedder, std::allocator<void>, int, long &, bool>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::MLPEmbedder>::__shared_ptr<std::allocator<void>, int, long &, bool>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::MLPEmbedder>::shared_ptr<std::allocator<void>, int, long &, bool>' requested here
1065 | 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<Flux::MLPEmbedder, int, long &, bool>' requested here
785 | blocks["time_in"] = std::make_shared<MLPEmbedder>(256, params.hidden_size, !params.disable_bias);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::DoubleStreamBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::DoubleStreamBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::DoubleStreamBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::DoubleStreamBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::DoubleStreamBlock, std::allocator<void>, long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::DoubleStreamBlock>::__shared_ptr<std::allocator<void>, 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/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::DoubleStreamBlock>::shared_ptr<std::allocator<void>, long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here
1065 | 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<Flux::DoubleStreamBlock, long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here
799 | blocks["double_blocks." + std::to_string(i)] = std::make_shared<DoubleStreamBlock>(params.hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::SingleStreamBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::SingleStreamBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::SingleStreamBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::SingleStreamBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::SingleStreamBlock, std::allocator<void>, long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::SingleStreamBlock>::__shared_ptr<std::allocator<void>, 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/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::SingleStreamBlock>::shared_ptr<std::allocator<void>, long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here
1065 | 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<Flux::SingleStreamBlock, long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here
812 | blocks["single_blocks." + std::to_string(i)] = std::make_shared<SingleStreamBlock>(params.hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::NerfEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::NerfEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::NerfEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::NerfEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, int &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::NerfEmbedder, std::allocator<void>, long &, long &, int &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::NerfEmbedder>::__shared_ptr<std::allocator<void>, long &, long &, int &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::NerfEmbedder>::shared_ptr<std::allocator<void>, long &, long &, int &>' requested here
1065 | 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<Flux::NerfEmbedder, long &, long &, int &>' requested here
825 | blocks["nerf_image_embedder"] = std::make_shared<NerfEmbedder>(params.in_channels,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::NerfGLUBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::NerfGLUBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::NerfGLUBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::NerfGLUBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, int &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::NerfGLUBlock, std::allocator<void>, long &, long &, int &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::NerfGLUBlock>::__shared_ptr<std::allocator<void>, long &, long &, int &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::NerfGLUBlock>::shared_ptr<std::allocator<void>, long &, long &, int &>' requested here
1065 | 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<Flux::NerfGLUBlock, long &, long &, int &>' requested here
830 | blocks["nerf_blocks." + std::to_string(i)] = std::make_shared<NerfGLUBlock>(params.hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::NerfFinalLayerConv>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::NerfFinalLayerConv>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::NerfFinalLayerConv, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::NerfFinalLayerConv, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::NerfFinalLayerConv, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::NerfFinalLayerConv>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::NerfFinalLayerConv>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | 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<Flux::NerfFinalLayerConv, long &, long &>' requested here
835 | blocks["nerf_final_layer_conv"] = std::make_shared<NerfFinalLayerConv>(params.chroma_radiance_params.nerf_hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::LastLayer>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::LastLayer>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::LastLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::LastLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int, long &, bool &, bool>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::LastLayer, std::allocator<void>, long &, int, long &, bool &, bool>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::LastLayer>::__shared_ptr<std::allocator<void>, long &, int, long &, bool &, bool>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::LastLayer>::shared_ptr<std::allocator<void>, long &, int, long &, bool &, bool>' requested here
1065 | 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<Flux::LastLayer, long &, int, long &, bool &, bool>' requested here
839 | blocks["final_layer"] = std::make_shared<LastLayer>(params.hidden_size, 1, params.out_channels, params.is_chroma, !params.disable_bias);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux::Modulation>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux::Modulation>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux::Modulation, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux::Modulation, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, bool, bool>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux::Modulation, std::allocator<void>, long &, bool, bool>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux::Modulation>::__shared_ptr<std::allocator<void>, long &, bool, bool>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux::Modulation>::shared_ptr<std::allocator<void>, long &, bool, bool>' requested here
1065 | 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<Flux::Modulation, long &, bool, bool>' requested here
843 | blocks["double_stream_modulation_img"] = std::make_shared<Modulation>(params.hidden_size, true, !params.disable_bias);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LayerNorm>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LayerNorm>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LayerNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LayerNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, float, bool, bool>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LayerNorm, std::allocator<void>, long &, float, bool, bool>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LayerNorm>::__shared_ptr<std::allocator<void>, long &, float, bool, bool>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LayerNorm>::shared_ptr<std::allocator<void>, long &, float, bool, bool>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:61:35: note: in instantiation of function template specialization 'std::make_shared<LayerNorm, long &, float, bool, bool>' requested here
61 | blocks["norm"] = std::make_shared<LayerNorm>(in_features, 1e-6f, false, false);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<RMSNorm>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<RMSNorm>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<RMSNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<RMSNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, float>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RMSNorm, std::allocator<void>, long &, float>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<RMSNorm>::__shared_ptr<std::allocator<void>, long &, float>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<RMSNorm>::shared_ptr<std::allocator<void>, long &, float>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:151:48: note: in instantiation of function template specialization 'std::make_shared<RMSNorm, long &, float>' requested here
151 | blocks["q_norm"] = std::make_shared<RMSNorm>(head_dim, 1e-6f);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::AnimaAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::AnimaAttention>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::AnimaAttention>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::AnimaAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::AnimaAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, long &, const char (&)[7]>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::AnimaAttention, std::allocator<void>, long &, long &, long &, long &, const char (&)[7]>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::AnimaAttention>::__shared_ptr<std::allocator<void>, long &, long &, long &, long &, const char (&)[7]>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::AnimaAttention>::shared_ptr<std::allocator<void>, long &, long &, long &, long &, const char (&)[7]>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:264:46: note: in instantiation of function template specialization 'std::make_shared<Anima::AnimaAttention, long &, long &, long &, long &, const char (&)[7]>' requested here
264 | blocks["self_attn"] = std::make_shared<AnimaAttention>(model_dim, model_dim, num_heads, head_dim, "o_proj");
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::AdapterMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::AdapterMLP>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::AdapterMLP>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::AdapterMLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::AdapterMLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::AdapterMLP, std::allocator<void>, long &, long>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::AdapterMLP>::__shared_ptr<std::allocator<void>, long &, long>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::AdapterMLP>::shared_ptr<std::allocator<void>, long &, long>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:268:46: note: in instantiation of function template specialization 'std::make_shared<Anima::AdapterMLP, long &, long>' requested here
268 | blocks["mlp"] = std::make_shared<AdapterMLP>(model_dim, model_dim * 4);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Embedding>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Embedding>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Embedding, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Embedding, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Embedding, std::allocator<void>, int, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Embedding>::__shared_ptr<std::allocator<void>, int, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Embedding>::shared_ptr<std::allocator<void>, int, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:312:36: note: in instantiation of function template specialization 'std::make_shared<Embedding, int, long &>' requested here
312 | blocks["embed"] = std::make_shared<Embedding>(32128, target_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::LLMAdapterBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::LLMAdapterBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::LLMAdapterBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::LLMAdapterBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::LLMAdapterBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, int &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::LLMAdapterBlock, std::allocator<void>, long &, long &, int &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::LLMAdapterBlock>::__shared_ptr<std::allocator<void>, long &, long &, int &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::LLMAdapterBlock>::shared_ptr<std::allocator<void>, long &, long &, int &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:315:26: note: in instantiation of function template specialization 'std::make_shared<Anima::LLMAdapterBlock, long &, long &, int &, long &>' requested here
315 | std::make_shared<LLMAdapterBlock>(model_dim, source_dim, num_heads, head_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::AdaLayerNormZero' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::AdaLayerNormZero>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::AdaLayerNormZero>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::AdaLayerNormZero, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::AdaLayerNormZero, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::AdaLayerNormZero, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::AdaLayerNormZero>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::AdaLayerNormZero>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:356:58: note: in instantiation of function template specialization 'std::make_shared<Anima::AdaLayerNormZero, long &, long &>' requested here
356 | blocks["adaln_modulation_self_attn"] = std::make_shared<AdaLayerNormZero>(hidden_size, adaln_lora_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::AnimaMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::AnimaMLP>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::AnimaMLP>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::AnimaMLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::AnimaMLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::AnimaMLP, std::allocator<void>, long &, long>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::AnimaMLP>::__shared_ptr<std::allocator<void>, long &, long>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::AnimaMLP>::shared_ptr<std::allocator<void>, long &, long>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:361:58: note: in instantiation of function template specialization 'std::make_shared<Anima::AnimaMLP, long &, long>' requested here
361 | blocks["mlp"] = std::make_shared<AnimaMLP>(hidden_size, hidden_size * mlp_ratio);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::AdaLayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::AdaLayerNorm>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::AdaLayerNorm>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::AdaLayerNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::AdaLayerNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::AdaLayerNorm, std::allocator<void>, long &, int>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::AdaLayerNorm>::__shared_ptr<std::allocator<void>, long &, int>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::AdaLayerNorm>::shared_ptr<std::allocator<void>, long &, int>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:402:47: note: in instantiation of function template specialization 'std::make_shared<Anima::AdaLayerNorm, long &, int>' requested here
402 | blocks["adaln_modulation"] = std::make_shared<AdaLayerNorm>(hidden_size, 256);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::XEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::XEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::XEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::XEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::XEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::XEmbedder, std::allocator<void>, long, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::XEmbedder>::__shared_ptr<std::allocator<void>, long, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::XEmbedder>::shared_ptr<std::allocator<void>, long, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:436:47: note: in instantiation of function template specialization 'std::make_shared<Anima::XEmbedder, long, long &>' requested here
436 | blocks["x_embedder"] = std::make_shared<XEmbedder>((in_channels + 1) * patch_size * patch_size, hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::TimestepEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::TimestepEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::TimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::TimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::TimestepEmbedder, std::allocator<void>, long &, long>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::TimestepEmbedder>::__shared_ptr<std::allocator<void>, long &, long>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::TimestepEmbedder>::shared_ptr<std::allocator<void>, long &, long>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:437:47: note: in instantiation of function template specialization 'std::make_shared<Anima::TimestepEmbedder, long &, long>' requested here
437 | blocks["t_embedder"] = std::make_shared<TimestepEmbedder>(hidden_size, hidden_size * 3);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::TransformerBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::TransformerBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::TransformerBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::TransformerBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::TransformerBlock, std::allocator<void>, long &, long &, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::TransformerBlock>::__shared_ptr<std::allocator<void>, long &, long &, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::TransformerBlock>::shared_ptr<std::allocator<void>, long &, long &, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:440:62: note: in instantiation of function template specialization 'std::make_shared<Anima::TransformerBlock, long &, long &, long &, long &>' requested here
440 | blocks["blocks." + std::to_string(i)] = std::make_shared<TransformerBlock>(hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::FinalLayer>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::FinalLayer>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::FinalLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::FinalLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::FinalLayer, std::allocator<void>, long &, int &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::FinalLayer>::__shared_ptr<std::allocator<void>, long &, int &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::FinalLayer>::shared_ptr<std::allocator<void>, long &, int &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:445:42: note: in instantiation of function template specialization 'std::make_shared<Anima::FinalLayer, long &, int &, long &>' requested here
445 | blocks["final_layer"] = std::make_shared<FinalLayer>(hidden_size, patch_size, out_channels);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Anima::LLMAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Anima::LLMAdapter>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Anima::LLMAdapter>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Anima::LLMAdapter, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Anima::LLMAdapter, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int, int, int, int, int>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Anima::LLMAdapter, std::allocator<void>, int, int, int, int, int>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Anima::LLMAdapter>::__shared_ptr<std::allocator<void>, int, int, int, int, int>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Anima::LLMAdapter>::shared_ptr<std::allocator<void>, int, int, int, int, int>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/anima.hpp:446:42: note: in instantiation of function template specialization 'std::make_shared<Anima::LLMAdapter, int, int, int, int, int>' requested here
446 | blocks["llm_adapter"] = std::make_shared<LLMAdapter>(1024, 1024, 1024, 6, 16);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'ResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResnetBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResnetBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<ResnetBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:303:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<ResnetBlock, void>' requested here
303 | blocks[name] = std::shared_ptr<GGMLBlock>(new ResnetBlock(block_in, block_out));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'ResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<ResnetBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<ResnetBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResnetBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResnetBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<ResnetBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:303:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<ResnetBlock, void>' requested here
303 | blocks[name] = std::shared_ptr<GGMLBlock>(new ResnetBlock(block_in, block_out));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'DownSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DownSampleBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DownSampleBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<DownSampleBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:308:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<DownSampleBlock, void>' requested here
308 | blocks[name] = std::shared_ptr<GGMLBlock>(new DownSampleBlock(block_in, block_in, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'DownSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<DownSampleBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<DownSampleBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DownSampleBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DownSampleBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<DownSampleBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:308:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<DownSampleBlock, void>' requested here
308 | blocks[name] = std::shared_ptr<GGMLBlock>(new DownSampleBlock(block_in, block_in, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'AttnBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AttnBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AttnBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<AttnBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:313:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AttnBlock, void>' requested here
313 | blocks["mid.attn_1"] = std::shared_ptr<GGMLBlock>(new AttnBlock(block_in, use_linear_projection));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'AttnBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<AttnBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<AttnBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AttnBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AttnBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<AttnBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:313:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AttnBlock, void>' requested here
313 | blocks["mid.attn_1"] = std::shared_ptr<GGMLBlock>(new AttnBlock(block_in, use_linear_projection));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'AE3DConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AE3DConv *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AE3DConv *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<AE3DConv, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:383:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AE3DConv, void>' requested here
383 | return std::shared_ptr<GGMLBlock>(new AE3DConv(in_channels, out_channels, kernel_size, video_kernel_size, stride, padding));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'AE3DConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<AE3DConv *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<AE3DConv *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AE3DConv *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AE3DConv *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<AE3DConv, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:383:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AE3DConv, void>' requested here
383 | return std::shared_ptr<GGMLBlock>(new AE3DConv(in_channels, out_channels, kernel_size, video_kernel_size, stride, padding));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'VideoResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<VideoResnetBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<VideoResnetBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<VideoResnetBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:392:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<VideoResnetBlock, void>' requested here
392 | return std::shared_ptr<GGMLBlock>(new VideoResnetBlock(in_channels, out_channels, video_kernel_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'VideoResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<VideoResnetBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<VideoResnetBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<VideoResnetBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<VideoResnetBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<VideoResnetBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:392:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<VideoResnetBlock, void>' requested here
392 | return std::shared_ptr<GGMLBlock>(new VideoResnetBlock(in_channels, out_channels, video_kernel_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'UpSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<UpSampleBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<UpSampleBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<UpSampleBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:434:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<UpSampleBlock, void>' requested here
434 | blocks[name] = std::shared_ptr<GGMLBlock>(new UpSampleBlock(block_in, block_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'UpSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<UpSampleBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<UpSampleBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<UpSampleBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<UpSampleBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<UpSampleBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:434:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<UpSampleBlock, void>' requested here
434 | blocks[name] = std::shared_ptr<GGMLBlock>(new UpSampleBlock(block_in, block_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Decoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Decoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Decoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:557:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Decoder, void>' requested here
557 | blocks["decoder"] = std::shared_ptr<GGMLBlock>(new Decoder(decoder_ch,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Decoder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Decoder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Decoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Decoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Decoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:557:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Decoder, void>' requested here
557 | blocks["decoder"] = std::shared_ptr<GGMLBlock>(new Decoder(decoder_ch,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Encoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Encoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Encoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:570:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Encoder, void>' requested here
570 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new Encoder(dd_config.ch,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Encoder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Encoder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Encoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Encoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Encoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/auto_encoder_kl.hpp:570:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Encoder, void>' requested here
570 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new Encoder(dd_config.ch,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'MultiheadAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MultiheadAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MultiheadAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<MultiheadAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:58:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<MultiheadAttention, void>' requested here
58 | blocks["self_attn"] = std::shared_ptr<GGMLBlock>(new MultiheadAttention(d_model, n_head, true, true, proj_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'MultiheadAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<MultiheadAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<MultiheadAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MultiheadAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MultiheadAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<MultiheadAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:58:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<MultiheadAttention, void>' requested here
58 | blocks["self_attn"] = std::shared_ptr<GGMLBlock>(new MultiheadAttention(d_model, n_head, true, true, proj_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'CLIPMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPMLP *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPMLP *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPMLP, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:63:25: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPMLP, void>' requested here
63 | blocks["mlp"] = std::shared_ptr<GGMLBlock>(new CLIPMLP(d_model, intermediate_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'CLIPMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPMLP *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPMLP *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPMLP *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPMLP *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPMLP, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:63:25: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPMLP, void>' requested here
63 | blocks["mlp"] = std::shared_ptr<GGMLBlock>(new CLIPMLP(d_model, intermediate_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'CLIPLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPLayer *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPLayer *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPLayer, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:92:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPLayer, void>' requested here
92 | blocks[name] = std::shared_ptr<GGMLBlock>(new CLIPLayer(d_model, n_head, intermediate_size, proj_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'CLIPLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPLayer *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPLayer *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPLayer *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPLayer *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPLayer, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:92:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPLayer, void>' requested here
92 | blocks[name] = std::shared_ptr<GGMLBlock>(new CLIPLayer(d_model, n_head, intermediate_size, proj_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'CLIPEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPEmbeddings *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPEmbeddings *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPEmbeddings, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:288:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPEmbeddings, void>' requested here
288 | blocks["embeddings"] = std::shared_ptr<GGMLBlock>(new CLIPEmbeddings(hidden_size, vocab_size, n_token, force_clip_f32));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'CLIPEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPEmbeddings *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPEmbeddings *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPEmbeddings *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPEmbeddings *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPEmbeddings, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:288:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPEmbeddings, void>' requested here
288 | blocks["embeddings"] = std::shared_ptr<GGMLBlock>(new CLIPEmbeddings(hidden_size, vocab_size, n_token, force_clip_f32));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'CLIPEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPEncoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPEncoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPEncoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:289:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPEncoder, void>' requested here
289 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new CLIPEncoder(n_layer, hidden_size, n_head, intermediate_size, proj_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'CLIPEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPEncoder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPEncoder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPEncoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPEncoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPEncoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:289:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPEncoder, void>' requested here
289 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new CLIPEncoder(n_layer, hidden_size, n_head, intermediate_size, proj_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'CLIPVisionEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPVisionEmbeddings *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPVisionEmbeddings *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPVisionEmbeddings, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:358:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPVisionEmbeddings, void>' requested here
358 | blocks["embeddings"] = std::shared_ptr<GGMLBlock>(new CLIPVisionEmbeddings(hidden_size, num_channels, patch_size, image_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'CLIPVisionEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPVisionEmbeddings *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPVisionEmbeddings *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPVisionEmbeddings *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPVisionEmbeddings *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPVisionEmbeddings, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:358:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPVisionEmbeddings, void>' requested here
358 | blocks["embeddings"] = std::shared_ptr<GGMLBlock>(new CLIPVisionEmbeddings(hidden_size, num_channels, patch_size, image_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'CLIPVisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPVisionModel *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPVisionModel *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPVisionModel, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:443:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPVisionModel, void>' requested here
443 | blocks["vision_model"] = std::shared_ptr<GGMLBlock>(new CLIPVisionModel(version, proj_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'CLIPVisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPVisionModel *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPVisionModel *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPVisionModel *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPVisionModel *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPVisionModel, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:443:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPVisionModel, void>' requested here
443 | blocks["vision_model"] = std::shared_ptr<GGMLBlock>(new CLIPVisionModel(version, proj_in));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'CLIPProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPProjection *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPProjection *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPProjection, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:444:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPProjection, void>' requested here
444 | blocks["visual_projection"] = std::shared_ptr<GGMLBlock>(new CLIPProjection(hidden_size, projection_dim, transpose_proj_w));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'CLIPProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPProjection *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<CLIPProjection *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPProjection *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CLIPProjection *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<CLIPProjection, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/clip.hpp:444:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPProjection, void>' requested here
444 | blocks["visual_projection"] = std::shared_ptr<GGMLBlock>(new CLIPProjection(hidden_size, projection_dim, transpose_proj_w));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::VisionAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:627:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionAttention, void>' requested here
627 | blocks["attn"] = std::shared_ptr<GGMLBlock>(new VisionAttention(llama_cpp_style, hidden_size, num_heads));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::VisionAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:627:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionAttention, void>' requested here
627 | blocks["attn"] = std::shared_ptr<GGMLBlock>(new VisionAttention(llama_cpp_style, hidden_size, num_heads));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::VisionMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionMLP *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionMLP *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionMLP, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:628:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionMLP, void>' requested here
628 | blocks["mlp"] = std::shared_ptr<GGMLBlock>(new VisionMLP(arch_, hidden_size, intermediate_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::VisionMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionMLP *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionMLP *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionMLP *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionMLP *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionMLP, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:628:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionMLP, void>' requested here
628 | blocks["mlp"] = std::shared_ptr<GGMLBlock>(new VisionMLP(arch_, hidden_size, intermediate_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RMSNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RMSNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<RMSNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:633:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<RMSNorm, void>' requested here
633 | blocks["norm1"] = std::shared_ptr<GGMLBlock>(new RMSNorm(hidden_size, eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<RMSNorm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<RMSNorm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RMSNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RMSNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<RMSNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:633:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<RMSNorm, void>' requested here
633 | blocks["norm1"] = std::shared_ptr<GGMLBlock>(new RMSNorm(hidden_size, eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::VisionPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionPatchEmbed *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionPatchEmbed *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionPatchEmbed, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:677:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionPatchEmbed, void>' requested here
677 | blocks["patch_embed"] = std::shared_ptr<GGMLBlock>(new VisionPatchEmbed(llama_cpp_style,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::VisionPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionPatchEmbed *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionPatchEmbed *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionPatchEmbed *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionPatchEmbed *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionPatchEmbed, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:677:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionPatchEmbed, void>' requested here
677 | blocks["patch_embed"] = std::shared_ptr<GGMLBlock>(new VisionPatchEmbed(llama_cpp_style,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::VisionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:687:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionBlock, void>' requested here
687 | blocks["blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new VisionBlock(llama_cpp_style,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::VisionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:687:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionBlock, void>' requested here
687 | blocks["blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new VisionBlock(llama_cpp_style,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::VisionPatchMerger' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionPatchMerger *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionPatchMerger *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionPatchMerger, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:694:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionPatchMerger, void>' requested here
694 | blocks["merger"] = std::shared_ptr<GGMLBlock>(new VisionPatchMerger(arch_,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::VisionPatchMerger' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionPatchMerger *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionPatchMerger *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionPatchMerger *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionPatchMerger *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionPatchMerger, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:694:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionPatchMerger, void>' requested here
694 | blocks["merger"] = std::shared_ptr<GGMLBlock>(new VisionPatchMerger(arch_,
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LLM::LLMRMSNorm>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LLM::LLMRMSNorm>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LLM::LLMRMSNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LLM::LLMRMSNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, const float &, const bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::LLMRMSNorm, std::allocator<void>, int &, const float &, const bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LLM::LLMRMSNorm>::__shared_ptr<std::allocator<void>, int &, const float &, const bool &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LLM::LLMRMSNorm>::shared_ptr<std::allocator<void>, int &, const float &, const bool &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/llm.hpp:802:41: note: in instantiation of function template specialization 'std::make_shared<LLM::LLMRMSNorm, int &, const float &, const bool &>' requested here
802 | blocks["q_norm"] = std::make_shared<LLMRMSNorm>(head_dim, params.rms_norm_eps, params.rms_norm_add);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LLM::Attention>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LLM::Attention>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LLM::Attention, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LLM::Attention, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const LLM::LLMParams &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::Attention, std::allocator<void>, const LLM::LLMParams &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LLM::Attention>::__shared_ptr<std::allocator<void>, const LLM::LLMParams &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LLM::Attention>::shared_ptr<std::allocator<void>, const LLM::LLMParams &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/llm.hpp:1010:40: note: in instantiation of function template specialization 'std::make_shared<LLM::Attention, const LLM::LLMParams &>' requested here
1010 | blocks["self_attn"] = std::make_shared<Attention>(params);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LLM::GPTOSSMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LLM::GPTOSSMLP>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LLM::GPTOSSMLP>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LLM::GPTOSSMLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LLM::GPTOSSMLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const LLM::LLMParams &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::GPTOSSMLP, std::allocator<void>, const LLM::LLMParams &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LLM::GPTOSSMLP>::__shared_ptr<std::allocator<void>, const LLM::LLMParams &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LLM::GPTOSSMLP>::shared_ptr<std::allocator<void>, const LLM::LLMParams &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/llm.hpp:1012:38: note: in instantiation of function template specialization 'std::make_shared<LLM::GPTOSSMLP, const LLM::LLMParams &>' requested here
1012 | blocks["mlp"] = std::make_shared<GPTOSSMLP>(params);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LLM::MLP>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LLM::MLP>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LLM::MLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LLM::MLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const long &, const long &, bool, const LLM::MLPActivation &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::MLP, std::allocator<void>, const long &, const long &, bool, const LLM::MLPActivation &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LLM::MLP>::__shared_ptr<std::allocator<void>, const long &, const long &, bool, const LLM::MLPActivation &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LLM::MLP>::shared_ptr<std::allocator<void>, const long &, const long &, bool, const LLM::MLPActivation &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/llm.hpp:1014:38: note: in instantiation of function template specialization 'std::make_shared<LLM::MLP, const long &, const long &, bool, const LLM::MLPActivation &>' requested here
1014 | blocks["mlp"] = std::make_shared<MLP>(params.hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Embedding *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Embedding *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Embedding, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1090:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Embedding, void>' requested here
1090 | blocks["embed_tokens"] = std::shared_ptr<GGMLBlock>(new Embedding(params.vocab_size, params.hidden_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Embedding *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Embedding *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Embedding *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Embedding *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Embedding, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1090:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Embedding, void>' requested here
1090 | blocks["embed_tokens"] = std::shared_ptr<GGMLBlock>(new Embedding(params.vocab_size, params.hidden_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TransformerBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TransformerBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::TransformerBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1092:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::TransformerBlock, void>' requested here
1092 | blocks["layers." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new TransformerBlock(params, i));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::TransformerBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::TransformerBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TransformerBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TransformerBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::TransformerBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1092:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::TransformerBlock, void>' requested here
1092 | blocks["layers." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new TransformerBlock(params, i));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::LLMRMSNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::LLMRMSNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::LLMRMSNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1094:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::LLMRMSNorm, void>' requested here
1094 | blocks["norm"] = std::shared_ptr<GGMLBlock>(new LLMRMSNorm(params.hidden_size, params.rms_norm_eps, params.rms_norm_add));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::LLMRMSNorm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::LLMRMSNorm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::LLMRMSNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::LLMRMSNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::LLMRMSNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1094:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::LLMRMSNorm, void>' requested here
1094 | blocks["norm"] = std::shared_ptr<GGMLBlock>(new LLMRMSNorm(params.hidden_size, params.rms_norm_eps, params.rms_norm_add));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TextModel *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TextModel *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::TextModel, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1191:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::TextModel, void>' requested here
1191 | blocks["model"] = std::shared_ptr<GGMLBlock>(new TextModel(params));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::TextModel *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::TextModel *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TextModel *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TextModel *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::TextModel, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1191:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::TextModel, void>' requested here
1191 | blocks["model"] = std::shared_ptr<GGMLBlock>(new TextModel(params));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionModel *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionModel *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionModel, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1193:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionModel, void>' requested here
1193 | blocks["visual"] = std::shared_ptr<GGMLBlock>(new VisionModel(llama_cpp_style, params.vision));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionModel *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LLM::VisionModel *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionModel *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionModel *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LLM::VisionModel, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/llm.hpp:1193:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionModel, void>' requested here
1193 | blocks["visual"] = std::shared_ptr<GGMLBlock>(new VisionModel(llama_cpp_style, params.vision));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'T5DenseGatedActDense' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5DenseGatedActDense *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5DenseGatedActDense *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5DenseGatedActDense, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:87:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5DenseGatedActDense, void>' requested here
87 | blocks["DenseReluDense"] = std::shared_ptr<GGMLBlock>(new T5DenseGatedActDense(model_dim, ff_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'T5DenseGatedActDense' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<T5DenseGatedActDense *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<T5DenseGatedActDense *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5DenseGatedActDense *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5DenseGatedActDense *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5DenseGatedActDense, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:87:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5DenseGatedActDense, void>' requested here
87 | blocks["DenseReluDense"] = std::shared_ptr<GGMLBlock>(new T5DenseGatedActDense(model_dim, ff_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'T5LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5LayerNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:88:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerNorm, void>' requested here
88 | blocks["layer_norm"] = std::shared_ptr<GGMLBlock>(new T5LayerNorm(model_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'T5LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<T5LayerNorm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<T5LayerNorm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5LayerNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:88:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerNorm, void>' requested here
88 | blocks["layer_norm"] = std::shared_ptr<GGMLBlock>(new T5LayerNorm(model_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'T5Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Attention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Attention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5Attention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:185:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Attention, void>' requested here
185 | blocks["SelfAttention"] = std::shared_ptr<GGMLBlock>(new T5Attention(model_dim, inner_dim, num_heads, using_relative_attention_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'T5Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<T5Attention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<T5Attention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Attention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Attention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5Attention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:185:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Attention, void>' requested here
185 | blocks["SelfAttention"] = std::shared_ptr<GGMLBlock>(new T5Attention(model_dim, inner_dim, num_heads, using_relative_attention_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'T5LayerSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerSelfAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerSelfAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5LayerSelfAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:211:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerSelfAttention, void>' requested here
211 | blocks["layer.0"] = std::shared_ptr<GGMLBlock>(new T5LayerSelfAttention(model_dim, inner_dim, ff_dim, num_heads, using_relative_attention_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'T5LayerSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<T5LayerSelfAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<T5LayerSelfAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerSelfAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerSelfAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5LayerSelfAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:211:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerSelfAttention, void>' requested here
211 | blocks["layer.0"] = std::shared_ptr<GGMLBlock>(new T5LayerSelfAttention(model_dim, inner_dim, ff_dim, num_heads, using_relative_attention_bias));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'T5LayerFF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerFF *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerFF *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5LayerFF, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:212:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerFF, void>' requested here
212 | blocks["layer.1"] = std::shared_ptr<GGMLBlock>(new T5LayerFF(model_dim, ff_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'T5LayerFF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<T5LayerFF *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<T5LayerFF *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerFF *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5LayerFF *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5LayerFF, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:212:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerFF, void>' requested here
212 | blocks["layer.1"] = std::shared_ptr<GGMLBlock>(new T5LayerFF(model_dim, ff_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'T5Block' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Block *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Block *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5Block, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:244:52: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Block, void>' requested here
244 | blocks["block." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new T5Block(model_dim, inner_dim, ff_dim, num_heads, (!relative_attention || i == 0)));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'T5Block' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<T5Block *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<T5Block *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Block *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Block *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5Block, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:244:52: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Block, void>' requested here
244 | blocks["block." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new T5Block(model_dim, inner_dim, ff_dim, num_heads, (!relative_attention || i == 0)));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'T5Stack' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Stack *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Stack *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5Stack, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:291:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Stack, void>' requested here
291 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new T5Stack(params.num_layers,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'T5Stack' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<T5Stack *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<T5Stack *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Stack *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<T5Stack *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<T5Stack, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/t5.hpp:291:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Stack, void>' requested here
291 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new T5Stack(params.num_layers,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'SpatialTransformer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SpatialTransformer *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SpatialTransformer *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<SpatialTransformer, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/control.hpp:127:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<SpatialTransformer, void>' requested here
127 | blocks[name] = std::shared_ptr<GGMLBlock>(get_attention_layer(ch,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'SpatialTransformer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<SpatialTransformer *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<SpatialTransformer *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SpatialTransformer *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SpatialTransformer *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<SpatialTransformer, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/control.hpp:127:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<SpatialTransformer, void>' requested here
127 | blocks[name] = std::shared_ptr<GGMLBlock>(get_attention_layer(ch,
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<DiscreteScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<DiscreteScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<DiscreteScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<DiscreteScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DiscreteScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<DiscreteScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<DiscreteScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:580:34: note: in instantiation of function template specialization 'std::make_shared<DiscreteScheduler>' requested here
580 | scheduler = std::make_shared<DiscreteScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<KarrasScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<KarrasScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<KarrasScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<KarrasScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<KarrasScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<KarrasScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<KarrasScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:584:34: note: in instantiation of function template specialization 'std::make_shared<KarrasScheduler>' requested here
584 | scheduler = std::make_shared<KarrasScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ExponentialScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ExponentialScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ExponentialScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ExponentialScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ExponentialScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ExponentialScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ExponentialScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:588:34: note: in instantiation of function template specialization 'std::make_shared<ExponentialScheduler>' requested here
588 | scheduler = std::make_shared<ExponentialScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<AYSScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<AYSScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<AYSScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<AYSScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<SDVersion &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AYSScheduler, std::allocator<void>, SDVersion &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<AYSScheduler>::__shared_ptr<std::allocator<void>, SDVersion &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<AYSScheduler>::shared_ptr<std::allocator<void>, SDVersion &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:592:34: note: in instantiation of function template specialization 'std::make_shared<AYSScheduler, SDVersion &>' requested here
592 | scheduler = std::make_shared<AYSScheduler>(version);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<GITSScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<GITSScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<GITSScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<GITSScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GITSScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<GITSScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<GITSScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:596:34: note: in instantiation of function template specialization 'std::make_shared<GITSScheduler>' requested here
596 | scheduler = std::make_shared<GITSScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<SGMUniformScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<SGMUniformScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<SGMUniformScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<SGMUniformScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SGMUniformScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<SGMUniformScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<SGMUniformScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:600:34: note: in instantiation of function template specialization 'std::make_shared<SGMUniformScheduler>' requested here
600 | scheduler = std::make_shared<SGMUniformScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<SimpleScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<SimpleScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<SimpleScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<SimpleScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SimpleScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<SimpleScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<SimpleScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:604:34: note: in instantiation of function template specialization 'std::make_shared<SimpleScheduler>' requested here
604 | scheduler = std::make_shared<SimpleScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<SmoothStepScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<SmoothStepScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<SmoothStepScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<SmoothStepScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SmoothStepScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<SmoothStepScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<SmoothStepScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:608:34: note: in instantiation of function template specialization 'std::make_shared<SmoothStepScheduler>' requested here
608 | scheduler = std::make_shared<SmoothStepScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'BongTangentScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<BongTangentScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<BongTangentScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<BongTangentScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<BongTangentScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<BongTangentScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<BongTangentScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<BongTangentScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:612:34: note: in instantiation of function template specialization 'std::make_shared<BongTangentScheduler>' requested here
612 | scheduler = std::make_shared<BongTangentScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<KLOptimalScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<KLOptimalScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<KLOptimalScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<KLOptimalScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<KLOptimalScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<KLOptimalScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<KLOptimalScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:616:34: note: in instantiation of function template specialization 'std::make_shared<KLOptimalScheduler>' requested here
616 | scheduler = std::make_shared<KLOptimalScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LCMScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LCMScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LCMScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LCMScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LCMScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LCMScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LCMScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:620:34: note: in instantiation of function template specialization 'std::make_shared<LCMScheduler>' requested here
620 | scheduler = std::make_shared<LCMScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTX2Scheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTX2Scheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTX2Scheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTX2Scheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTX2Scheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, const char *&>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTX2Scheduler, std::allocator<void>, int &, const char *&>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTX2Scheduler>::__shared_ptr<std::allocator<void>, int &, const char *&>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTX2Scheduler>::shared_ptr<std::allocator<void>, int &, const char *&>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:624:34: note: in instantiation of function template specialization 'std::make_shared<LTX2Scheduler, int &, const char *&>' requested here
624 | scheduler = std::make_shared<LTX2Scheduler>(image_seq_len, extra_sample_args);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::TimestepEmbedding *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::TimestepEmbedding *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::TimestepEmbedding, void>' 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<GGMLBlock>::shared_ptr<Qwen::TimestepEmbedding, void>' requested here
50 | blocks["timestep_embedder"] = std::shared_ptr<GGMLBlock>(new TimestepEmbedding(256, embedding_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::TimestepEmbedding *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::TimestepEmbedding *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::TimestepEmbedding *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::TimestepEmbedding *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::TimestepEmbedding, void>' 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<GGMLBlock>::shared_ptr<Qwen::TimestepEmbedding, void>' requested here
50 | blocks["timestep_embedder"] = std::shared_ptr<GGMLBlock>(new TimestepEmbedding(256, embedding_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Qwen::QwenImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenImageAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenImageAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::QwenImageAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/qwen_image.hpp:219:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenImageAttention, void>' requested here
219 | blocks["attn"] = std::shared_ptr<GGMLBlock>(new QwenImageAttention(dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Qwen::QwenImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::QwenImageAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::QwenImageAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenImageAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenImageAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::QwenImageAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/qwen_image.hpp:219:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenImageAttention, void>' requested here
219 | blocks["attn"] = std::shared_ptr<GGMLBlock>(new QwenImageAttention(dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Qwen::QwenTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenTimestepProjEmbeddings *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenTimestepProjEmbeddings *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::QwenTimestepProjEmbeddings, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/qwen_image.hpp:376:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenTimestepProjEmbeddings, void>' requested here
376 | blocks["time_text_embed"] = std::shared_ptr<GGMLBlock>(new QwenTimestepProjEmbeddings(inner_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Qwen::QwenTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::QwenTimestepProjEmbeddings *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::QwenTimestepProjEmbeddings *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenTimestepProjEmbeddings *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenTimestepProjEmbeddings *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::QwenTimestepProjEmbeddings, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/qwen_image.hpp:376:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenTimestepProjEmbeddings, void>' requested here
376 | blocks["time_text_embed"] = std::shared_ptr<GGMLBlock>(new QwenTimestepProjEmbeddings(inner_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Qwen::QwenImageTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenImageTransformerBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenImageTransformerBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::QwenImageTransformerBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/qwen_image.hpp:383:69: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenImageTransformerBlock, void>' requested here
383 | auto block = std::shared_ptr<GGMLBlock>(new QwenImageTransformerBlock(inner_dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Qwen::QwenImageTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::QwenImageTransformerBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::QwenImageTransformerBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenImageTransformerBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::QwenImageTransformerBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::QwenImageTransformerBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/qwen_image.hpp:383:69: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenImageTransformerBlock, void>' requested here
383 | auto block = std::shared_ptr<GGMLBlock>(new QwenImageTransformerBlock(inner_dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Qwen::AdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::AdaLayerNormContinuous *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::AdaLayerNormContinuous *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::AdaLayerNormContinuous, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/qwen_image.hpp:391:34: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::AdaLayerNormContinuous, void>' requested here
391 | blocks["norm_out"] = std::shared_ptr<GGMLBlock>(new AdaLayerNormContinuous(inner_dim, inner_dim, false, 1e-6f));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Qwen::AdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::AdaLayerNormContinuous *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Qwen::AdaLayerNormContinuous *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::AdaLayerNormContinuous *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::AdaLayerNormContinuous *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Qwen::AdaLayerNormContinuous, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/qwen_image.hpp:391:34: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::AdaLayerNormContinuous, void>' requested here
391 | blocks["norm_out"] = std::shared_ptr<GGMLBlock>(new AdaLayerNormContinuous(inner_dim, inner_dim, false, 1e-6f));
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ErnieImage::ErnieImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ErnieImage::ErnieImageAttention>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ErnieImage::ErnieImageAttention>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ErnieImage::ErnieImageAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ErnieImage::ErnieImageAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long, float &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ErnieImage::ErnieImageAttention, std::allocator<void>, long &, long &, long, float &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ErnieImage::ErnieImageAttention>::__shared_ptr<std::allocator<void>, long &, long &, long, float &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ErnieImage::ErnieImageAttention>::shared_ptr<std::allocator<void>, long &, long &, long, float &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ernie_image.hpp:150:45: note: in instantiation of function template specialization 'std::make_shared<ErnieImage::ErnieImageAttention, long &, long &, long, float &>' requested here
150 | blocks["self_attention"] = std::make_shared<ErnieImageAttention>(hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ErnieImage::ErnieImageFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ErnieImage::ErnieImageFeedForward>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ErnieImage::ErnieImageFeedForward>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ErnieImage::ErnieImageFeedForward, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ErnieImage::ErnieImageFeedForward, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ErnieImage::ErnieImageFeedForward, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ErnieImage::ErnieImageFeedForward>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ErnieImage::ErnieImageFeedForward>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ernie_image.hpp:155:45: note: in instantiation of function template specialization 'std::make_shared<ErnieImage::ErnieImageFeedForward, long &, long &>' requested here
155 | blocks["mlp"] = std::make_shared<ErnieImageFeedForward>(hidden_size, ffn_hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Qwen::TimestepEmbedding>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Qwen::TimestepEmbedding>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Qwen::TimestepEmbedding, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Qwen::TimestepEmbedding, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Qwen::TimestepEmbedding, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Qwen::TimestepEmbedding>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Qwen::TimestepEmbedding>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ernie_image.hpp:243:49: note: in instantiation of function template specialization 'std::make_shared<Qwen::TimestepEmbedding, long &, long &>' requested here
243 | blocks["time_embedding"] = std::make_shared<Qwen::TimestepEmbedding>(params.hidden_size, params.hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ErnieImage::ErnieImageSharedAdaLNBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ErnieImage::ErnieImageSharedAdaLNBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ErnieImage::ErnieImageSharedAdaLNBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ErnieImage::ErnieImageSharedAdaLNBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ErnieImage::ErnieImageSharedAdaLNBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, float &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ErnieImage::ErnieImageSharedAdaLNBlock, std::allocator<void>, long &, long &, long &, float &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ErnieImage::ErnieImageSharedAdaLNBlock>::__shared_ptr<std::allocator<void>, long &, long &, long &, float &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ErnieImage::ErnieImageSharedAdaLNBlock>::shared_ptr<std::allocator<void>, long &, long &, long &, float &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ernie_image.hpp:247:62: note: in instantiation of function template specialization 'std::make_shared<ErnieImage::ErnieImageSharedAdaLNBlock, long &, long &, long &, float &>' requested here
247 | blocks["layers." + std::to_string(i)] = std::make_shared<ErnieImageSharedAdaLNBlock>(params.hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'ErnieImage::ErnieImageAdaLNContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ErnieImage::ErnieImageAdaLNContinuous>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ErnieImage::ErnieImageAdaLNContinuous>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ErnieImage::ErnieImageAdaLNContinuous, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ErnieImage::ErnieImageAdaLNContinuous, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, float &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ErnieImage::ErnieImageAdaLNContinuous, std::allocator<void>, long &, float &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ErnieImage::ErnieImageAdaLNContinuous>::__shared_ptr<std::allocator<void>, long &, float &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ErnieImage::ErnieImageAdaLNContinuous>::shared_ptr<std::allocator<void>, long &, float &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ernie_image.hpp:253:43: note: in instantiation of function template specialization 'std::make_shared<ErnieImage::ErnieImageAdaLNContinuous, long &, float &>' requested here
253 | blocks["final_norm"] = std::make_shared<ErnieImageAdaLNContinuous>(params.hidden_size, params.eps);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResidualDenseBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResidualDenseBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<ResidualDenseBlock, void>' 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<GGMLBlock>::shared_ptr<ResidualDenseBlock, void>' requested here
62 | blocks["rdb1"] = std::shared_ptr<GGMLBlock>(new ResidualDenseBlock(num_feat, num_grow_ch));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<ResidualDenseBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<ResidualDenseBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResidualDenseBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResidualDenseBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<ResidualDenseBlock, void>' 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<GGMLBlock>::shared_ptr<ResidualDenseBlock, void>' requested here
62 | blocks["rdb1"] = std::shared_ptr<GGMLBlock>(new ResidualDenseBlock(num_feat, num_grow_ch));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RRDB *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RRDB *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<RRDB, void>' 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<GGMLBlock>::shared_ptr<RRDB, void>' requested here
99 | blocks[name] = std::shared_ptr<GGMLBlock>(new RRDB(num_feat, num_grow_ch));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<RRDB *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<RRDB *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RRDB *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RRDB *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<RRDB, void>' 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<GGMLBlock>::shared_ptr<RRDB, void>' requested here
99 | blocks[name] = std::shared_ptr<GGMLBlock>(new RRDB(num_feat, num_grow_ch));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:80:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/unique_ptr.h:408:4: note: in instantiation of member function 'std::default_delete<RRDBNet>::operator()' requested here
408 | get_deleter()(std::move(__ptr));
| ^
sd/esrgan.hpp:163:5: note: in instantiation of member function 'std::unique_ptr<RRDBNet>::~unique_ptr' requested here
163 | ESRGAN(ggml_backend_t backend,
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LLM::TextModel>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LLM::TextModel>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LLM::TextModel, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LLM::TextModel, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<LLM::LLMParams &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::TextModel, std::allocator<void>, LLM::LLMParams &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LLM::TextModel>::__shared_ptr<std::allocator<void>, LLM::LLMParams &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LLM::TextModel>::shared_ptr<std::allocator<void>, LLM::LLMParams &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/hidream_o1.hpp:245:45: note: in instantiation of function template specialization 'std::make_shared<LLM::TextModel, LLM::LLMParams &>' requested here
245 | blocks["language_model"] = std::make_shared<LLM::TextModel>(this->params.llm);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'HiDreamO1::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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<HiDreamO1::TimestepEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<HiDreamO1::TimestepEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<HiDreamO1::TimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<HiDreamO1::TimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<HiDreamO1::TimestepEmbedder, std::allocator<void>, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<HiDreamO1::TimestepEmbedder>::__shared_ptr<std::allocator<void>, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<HiDreamO1::TimestepEmbedder>::shared_ptr<std::allocator<void>, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/hidream_o1.hpp:246:45: note: in instantiation of function template specialization 'std::make_shared<HiDreamO1::TimestepEmbedder, long &>' requested here
246 | blocks["t_embedder1"] = std::make_shared<TimestepEmbedder>(this->params.llm.hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'HiDreamO1::BottleneckPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<HiDreamO1::BottleneckPatchEmbed>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<HiDreamO1::BottleneckPatchEmbed>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<HiDreamO1::BottleneckPatchEmbed, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<HiDreamO1::BottleneckPatchEmbed, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int, long, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<HiDreamO1::BottleneckPatchEmbed, std::allocator<void>, int, long, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<HiDreamO1::BottleneckPatchEmbed>::__shared_ptr<std::allocator<void>, int, long, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<HiDreamO1::BottleneckPatchEmbed>::shared_ptr<std::allocator<void>, int, long, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/hidream_o1.hpp:247:45: note: in instantiation of function template specialization 'std::make_shared<HiDreamO1::BottleneckPatchEmbed, int, long, long &>' requested here
247 | blocks["x_embedder"] = std::make_shared<BottleneckPatchEmbed>(this->params.patch_size * this->params.patch_size * 3,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'HiDreamO1::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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<HiDreamO1::FinalLayer>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<HiDreamO1::FinalLayer>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<HiDreamO1::FinalLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<HiDreamO1::FinalLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<HiDreamO1::FinalLayer, std::allocator<void>, long &, int>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<HiDreamO1::FinalLayer>::__shared_ptr<std::allocator<void>, long &, int>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<HiDreamO1::FinalLayer>::shared_ptr<std::allocator<void>, long &, int>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/hidream_o1.hpp:250:45: note: in instantiation of function template specialization 'std::make_shared<HiDreamO1::FinalLayer, long &, int>' requested here
250 | blocks["final_layer2"] = std::make_shared<FinalLayer>(this->params.llm.hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LLM::VisionModel>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LLM::VisionModel>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LLM::VisionModel, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LLM::VisionModel, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<bool, LLM::LLMVisionParams &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LLM::VisionModel, std::allocator<void>, bool, LLM::LLMVisionParams &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LLM::VisionModel>::__shared_ptr<std::allocator<void>, bool, LLM::LLMVisionParams &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LLM::VisionModel>::shared_ptr<std::allocator<void>, bool, LLM::LLMVisionParams &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/hidream_o1.hpp:288:26: note: in instantiation of function template specialization 'std::make_shared<LLM::VisionModel, bool, LLM::LLMVisionParams &>' requested here
288 | model(std::make_shared<LLM::VisionModel>(false, params.llm.vision)) {
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Lens::LensGateMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Lens::LensGateMLP>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Lens::LensGateMLP>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Lens::LensGateMLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Lens::LensGateMLP, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Lens::LensGateMLP, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Lens::LensGateMLP>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Lens::LensGateMLP>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/lens.hpp:145:43: note: in instantiation of function template specialization 'std::make_shared<Lens::LensGateMLP, long &, long &>' requested here
145 | blocks["img_mlp"] = std::make_shared<LensGateMLP>(dim, mlp_hidden_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Lens::LensJointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Lens::LensJointAttention>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Lens::LensJointAttention>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Lens::LensJointAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Lens::LensJointAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Lens::LensJointAttention, std::allocator<void>, long &, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Lens::LensJointAttention>::__shared_ptr<std::allocator<void>, long &, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Lens::LensJointAttention>::shared_ptr<std::allocator<void>, long &, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/lens.hpp:147:43: note: in instantiation of function template specialization 'std::make_shared<Lens::LensJointAttention, long &, long &, long &>' requested here
147 | blocks["attn"] = std::make_shared<LensJointAttention>(dim, attention_head_dim, num_attention_heads);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Lens::LensTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Lens::LensTimestepProjEmbeddings>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Lens::LensTimestepProjEmbeddings>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Lens::LensTimestepProjEmbeddings, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Lens::LensTimestepProjEmbeddings, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Lens::LensTimestepProjEmbeddings, std::allocator<void>, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Lens::LensTimestepProjEmbeddings>::__shared_ptr<std::allocator<void>, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Lens::LensTimestepProjEmbeddings>::shared_ptr<std::allocator<void>, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/lens.hpp:234:46: note: in instantiation of function template specialization 'std::make_shared<Lens::LensTimestepProjEmbeddings, long &>' requested here
234 | blocks["time_text_embed"] = std::make_shared<LensTimestepProjEmbeddings>(inner_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Lens::LensTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Lens::LensTransformerBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Lens::LensTransformerBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Lens::LensTransformerBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Lens::LensTransformerBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Lens::LensTransformerBlock, std::allocator<void>, long &, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Lens::LensTransformerBlock>::__shared_ptr<std::allocator<void>, long &, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Lens::LensTransformerBlock>::shared_ptr<std::allocator<void>, long &, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/lens.hpp:241:74: note: in instantiation of function template specialization 'std::make_shared<Lens::LensTransformerBlock, long &, long &, long &>' requested here
241 | blocks["transformer_blocks." + std::to_string(i)] = std::make_shared<LensTransformerBlock>(inner_dim,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Lens::LensAdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Lens::LensAdaLayerNormContinuous>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Lens::LensAdaLayerNormContinuous>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Lens::LensAdaLayerNormContinuous, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Lens::LensAdaLayerNormContinuous, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, float>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Lens::LensAdaLayerNormContinuous, std::allocator<void>, long &, float>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Lens::LensAdaLayerNormContinuous>::__shared_ptr<std::allocator<void>, long &, float>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Lens::LensAdaLayerNormContinuous>::shared_ptr<std::allocator<void>, long &, float>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/lens.hpp:245:39: note: in instantiation of function template specialization 'std::make_shared<Lens::LensAdaLayerNormContinuous, long &, float>' requested here
245 | blocks["norm_out"] = std::make_shared<LensAdaLayerNormContinuous>(inner_dim, 1e-6f);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::HeightCausalConv2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::HeightCausalConv2D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::HeightCausalConv2D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::HeightCausalConv2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::HeightCausalConv2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, std::pair<int, int>>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::HeightCausalConv2D, std::allocator<void>, long &, long &, std::pair<int, int>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::HeightCausalConv2D>::__shared_ptr<std::allocator<void>, long &, long &, std::pair<int, int>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::HeightCausalConv2D>::shared_ptr<std::allocator<void>, long &, long &, std::pair<int, int>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:461:35: note: in instantiation of function template specialization 'std::make_shared<LTXV::HeightCausalConv2D, long &, long &, std::pair<int, int>>' requested here
461 | blocks["conv"] = std::make_shared<HeightCausalConv2D>(channels, channels, std::pair<int, int>{3, 3});
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::PixelNorm2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::PixelNorm2D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::PixelNorm2D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::PixelNorm2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::PixelNorm2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::PixelNorm2D, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::PixelNorm2D>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::PixelNorm2D>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:478:36: note: in instantiation of function template specialization 'std::make_shared<LTXV::PixelNorm2D>' requested here
478 | blocks["norm1"] = std::make_shared<PixelNorm2D>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::SnakeBeta1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::SnakeBeta1D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::SnakeBeta1D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::SnakeBeta1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::SnakeBeta1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::SnakeBeta1D, std::allocator<void>, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::SnakeBeta1D>::__shared_ptr<std::allocator<void>, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::SnakeBeta1D>::shared_ptr<std::allocator<void>, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:641:34: note: in instantiation of function template specialization 'std::make_shared<LTXV::SnakeBeta1D, long &>' requested here
641 | blocks["act"] = std::make_shared<SnakeBeta1D>(channels);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::Activation1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::Activation1D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::Activation1D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::Activation1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::Activation1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::Activation1D, std::allocator<void>, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::Activation1D>::__shared_ptr<std::allocator<void>, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::Activation1D>::shared_ptr<std::allocator<void>, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:682:62: note: in instantiation of function template specialization 'std::make_shared<LTXV::Activation1D, long &>' requested here
682 | blocks["acts1." + std::to_string(i)] = std::make_shared<Activation1D>(channels);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::Conv1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::Conv1D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::Conv1D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::Conv1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::Conv1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, int &, int, int, const int &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::Conv1D, std::allocator<void>, long &, long &, int &, int, int, const int &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::Conv1D>::__shared_ptr<std::allocator<void>, long &, long &, int &, int, int, const int &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::Conv1D>::shared_ptr<std::allocator<void>, long &, long &, int &, int, int, const int &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:684:62: note: in instantiation of function template specialization 'std::make_shared<LTXV::Conv1D, long &, long &, int &, int, int, const int &>' requested here
684 | blocks["convs1." + std::to_string(i)] = std::make_shared<Conv1D>(channels,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::ConvTranspose1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::ConvTranspose1D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::ConvTranspose1D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::ConvTranspose1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::ConvTranspose1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, int &, const int &, const int &, int>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::ConvTranspose1D, std::allocator<void>, int &, int &, const int &, const int &, int>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::ConvTranspose1D>::__shared_ptr<std::allocator<void>, int &, int &, const int &, const int &, int>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::ConvTranspose1D>::shared_ptr<std::allocator<void>, int &, int &, const int &, const int &, int>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:745:59: note: in instantiation of function template specialization 'std::make_shared<LTXV::ConvTranspose1D, int &, int &, const int &, const int &, int>' requested here
745 | blocks["ups." + std::to_string(i)] = std::make_shared<ConvTranspose1D>(current_channels,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::AMPBlock1' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::AMPBlock1>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::AMPBlock1>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::AMPBlock1, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::AMPBlock1, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, const int &, const std::vector<int> &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::AMPBlock1, std::allocator<void>, int &, const int &, const std::vector<int> &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::AMPBlock1>::__shared_ptr<std::allocator<void>, int &, const int &, const std::vector<int> &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::AMPBlock1>::shared_ptr<std::allocator<void>, int &, const int &, const std::vector<int> &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:751:82: note: in instantiation of function template specialization 'std::make_shared<LTXV::AMPBlock1, int &, const int &, const std::vector<int> &>' requested here
751 | blocks["resblocks." + std::to_string(resblock_index)] = std::make_shared<AMPBlock1>(next_channels,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::AudioResnetBlock2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::AudioResnetBlock2D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::AudioResnetBlock2D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::AudioResnetBlock2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::AudioResnetBlock2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, int &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::AudioResnetBlock2D, std::allocator<void>, int &, int &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::AudioResnetBlock2D>::__shared_ptr<std::allocator<void>, int &, int &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::AudioResnetBlock2D>::shared_ptr<std::allocator<void>, int &, int &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:816:42: note: in instantiation of function template specialization 'std::make_shared<LTXV::AudioResnetBlock2D, int &, int &>' requested here
816 | blocks["mid.block_1"] = std::make_shared<AudioResnetBlock2D>(block_in, block_in);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::AudioUpsample2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::AudioUpsample2D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::AudioUpsample2D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::AudioUpsample2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::AudioUpsample2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::AudioUpsample2D, std::allocator<void>, int &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::AudioUpsample2D>::__shared_ptr<std::allocator<void>, int &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::AudioUpsample2D>::shared_ptr<std::allocator<void>, int &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:827:80: note: in instantiation of function template specialization 'std::make_shared<LTXV::AudioUpsample2D, int &>' requested here
827 | blocks["up." + std::to_string(level) + ".upsample"] = std::make_shared<AudioUpsample2D>(block_in);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::AudioDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::AudioDecoder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::AudioDecoder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::AudioDecoder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::AudioDecoder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const LTXV::LTXAudioVAEConfig &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::AudioDecoder, std::allocator<void>, const LTXV::LTXAudioVAEConfig &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::AudioDecoder>::__shared_ptr<std::allocator<void>, const LTXV::LTXAudioVAEConfig &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::AudioDecoder>::shared_ptr<std::allocator<void>, const LTXV::LTXAudioVAEConfig &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:908:48: note: in instantiation of function template specialization 'std::make_shared<LTXV::AudioDecoder, const LTXV::LTXAudioVAEConfig &>' requested here
908 | blocks["audio_vae.decoder"] = std::make_shared<AudioDecoder>(config);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::Vocoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::Vocoder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::Vocoder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::Vocoder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::Vocoder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const LTXV::LTXAudioVAEConfig &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::Vocoder, std::allocator<void>, const LTXV::LTXAudioVAEConfig &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::Vocoder>::__shared_ptr<std::allocator<void>, const LTXV::LTXAudioVAEConfig &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::Vocoder>::shared_ptr<std::allocator<void>, const LTXV::LTXAudioVAEConfig &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_audio_vae.h:909:48: note: in instantiation of function template specialization 'std::make_shared<LTXV::Vocoder, const LTXV::LTXAudioVAEConfig &>' requested here
909 | blocks["vocoder.vocoder"] = std::make_shared<Vocoder>(config);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LTXVUpsampler::VideoGroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::VideoGroupNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::VideoGroupNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::VideoGroupNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:172:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::VideoGroupNorm, void>' requested here
172 | blocks["norm1"] = std::shared_ptr<GGMLBlock>(new VideoGroupNorm(32, channels));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LTXVUpsampler::VideoGroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::VideoGroupNorm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::VideoGroupNorm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::VideoGroupNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::VideoGroupNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::VideoGroupNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:172:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::VideoGroupNorm, void>' requested here
172 | blocks["norm1"] = std::shared_ptr<GGMLBlock>(new VideoGroupNorm(32, channels));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LTXVUpsampler::PixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::PixelShuffleND *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::PixelShuffleND *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::PixelShuffleND, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:310:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::PixelShuffleND, void>' requested here
310 | blocks["pixel_shuffle"] = std::shared_ptr<GGMLBlock>(new PixelShuffleND(num));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LTXVUpsampler::PixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::PixelShuffleND *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::PixelShuffleND *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::PixelShuffleND *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::PixelShuffleND *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::PixelShuffleND, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:310:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::PixelShuffleND, void>' requested here
310 | blocks["pixel_shuffle"] = std::shared_ptr<GGMLBlock>(new PixelShuffleND(num));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LTXVUpsampler::BlurDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::BlurDownsample *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::BlurDownsample *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::BlurDownsample, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:311:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::BlurDownsample, void>' requested here
311 | blocks["blur_down"] = std::shared_ptr<GGMLBlock>(new BlurDownsample(mid_channels, den));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LTXVUpsampler::BlurDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::BlurDownsample *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::BlurDownsample *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::BlurDownsample *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::BlurDownsample *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::BlurDownsample, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:311:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::BlurDownsample, void>' requested here
311 | blocks["blur_down"] = std::shared_ptr<GGMLBlock>(new BlurDownsample(mid_channels, den));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LTXVUpsampler::ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::ResBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::ResBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::ResBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:349:61: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::ResBlock, void>' requested here
349 | blocks["res_blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new ResBlock(this->config.mid_channels, this->config.dims));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LTXVUpsampler::ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::ResBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::ResBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::ResBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::ResBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::ResBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:349:61: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::ResBlock, void>' requested here
349 | blocks["res_blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new ResBlock(this->config.mid_channels, this->config.dims));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LTXVUpsampler::SpatialRationalResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::SpatialRationalResampler *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::SpatialRationalResampler *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::SpatialRationalResampler, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:352:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::SpatialRationalResampler, void>' requested here
352 | blocks["upsampler"] = std::shared_ptr<GGMLBlock>(new SpatialRationalResampler(this->config.mid_channels,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LTXVUpsampler::SpatialRationalResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::SpatialRationalResampler *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::SpatialRationalResampler *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::SpatialRationalResampler *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::SpatialRationalResampler *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::SpatialRationalResampler, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:352:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::SpatialRationalResampler, void>' requested here
352 | blocks["upsampler"] = std::shared_ptr<GGMLBlock>(new SpatialRationalResampler(this->config.mid_channels,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'LTXVUpsampler::TemporalPixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::TemporalPixelShuffleND *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::TemporalPixelShuffleND *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::TemporalPixelShuffleND, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:361:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::TemporalPixelShuffleND, void>' requested here
361 | blocks["upsampler.1"] = std::shared_ptr<GGMLBlock>(new TemporalPixelShuffleND(this->config.temporal_up_factor));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'LTXVUpsampler::TemporalPixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::TemporalPixelShuffleND *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<LTXVUpsampler::TemporalPixelShuffleND *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::TemporalPixelShuffleND *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVUpsampler::TemporalPixelShuffleND *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<LTXVUpsampler::TemporalPixelShuffleND, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ltx_latent_upscaler.hpp:361:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::TemporalPixelShuffleND, void>' requested here
361 | blocks["upsampler.1"] = std::shared_ptr<GGMLBlock>(new TemporalPixelShuffleND(this->config.temporal_up_factor));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:80:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/unique_ptr.h:92:2: warning: delete called on non-final 'LTXVUpsampler::LatentUpsampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
92 | delete __ptr;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/unique_ptr.h:408:4: note: in instantiation of member function 'std::default_delete<LTXVUpsampler::LatentUpsampler>::operator()' requested here
408 | get_deleter()(std::move(__ptr));
| ^
sd/ltx_latent_upscaler.hpp:442:9: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::LatentUpsampler>::~unique_ptr' requested here
442 | LatentUpsamplerRunner(ggml_backend_t backend,
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::TimestepEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::TimestepEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::TimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::TimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::TimestepEmbedder, std::allocator<void>, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::TimestepEmbedder>::__shared_ptr<std::allocator<void>, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::TimestepEmbedder>::shared_ptr<std::allocator<void>, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:382:52: note: in instantiation of function template specialization 'std::make_shared<LTXV::TimestepEmbedder, long &>' requested here
382 | blocks["emb.timestep_embedder"] = std::make_shared<TimestepEmbedder>(embedding_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::CrossAttention>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::CrossAttention>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::CrossAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::CrossAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, long &, bool &, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::CrossAttention, std::allocator<void>, long &, long &, long &, long &, bool &, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::CrossAttention>::__shared_ptr<std::allocator<void>, long &, long &, long &, long &, bool &, bool &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::CrossAttention>::shared_ptr<std::allocator<void>, long &, long &, long &, long &, bool &, bool &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:553:36: note: in instantiation of function template specialization 'std::make_shared<LTXV::CrossAttention, long &, long &, long &, long &, bool &, bool &>' requested here
553 | blocks["attn1"] = std::make_shared<CrossAttention>(dim, dim, n_heads, d_head, self_attention_gated, rope_interleaved);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final '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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<FeedForward>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<FeedForward>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<FeedForward, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<FeedForward, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, int, FeedForward::Activation>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FeedForward, std::allocator<void>, long &, long &, int, FeedForward::Activation>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<FeedForward>::__shared_ptr<std::allocator<void>, long &, long &, int, FeedForward::Activation>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<FeedForward>::shared_ptr<std::allocator<void>, long &, long &, int, FeedForward::Activation>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:555:36: note: in instantiation of function template specialization 'std::make_shared<FeedForward, long &, long &, int, FeedForward::Activation>' requested here
555 | blocks["ff"] = std::make_shared<FeedForward>(dim, dim, 4, FeedForward::Activation::GELU);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::BasicTransformerBlock1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::BasicTransformerBlock1D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::BasicTransformerBlock1D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::BasicTransformerBlock1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::BasicTransformerBlock1D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, bool &, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::BasicTransformerBlock1D, std::allocator<void>, long &, long &, long &, bool &, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::BasicTransformerBlock1D>::__shared_ptr<std::allocator<void>, long &, long &, long &, bool &, bool &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::BasicTransformerBlock1D>::shared_ptr<std::allocator<void>, long &, long &, long &, bool &, bool &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:703:26: note: in instantiation of function template specialization 'std::make_shared<LTXV::BasicTransformerBlock1D, long &, long &, long &, bool &, bool &>' requested here
703 | std::make_shared<BasicTransformerBlock1D>(hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::AdaLayerNormSingle' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::AdaLayerNormSingle>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::AdaLayerNormSingle>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::AdaLayerNormSingle, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::AdaLayerNormSingle, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::AdaLayerNormSingle, std::allocator<void>, long &, int>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::AdaLayerNormSingle>::__shared_ptr<std::allocator<void>, long &, int>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::AdaLayerNormSingle>::shared_ptr<std::allocator<void>, long &, int>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:1191:50: note: in instantiation of function template specialization 'std::make_shared<LTXV::AdaLayerNormSingle, long &, int>' requested here
1191 | blocks["adaln_single"] = std::make_shared<AdaLayerNormSingle>(cfg.hidden_size, cfg.cross_attention_adaln ? 9 : 6);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::NormSingleLinearTextProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::NormSingleLinearTextProjection>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::NormSingleLinearTextProjection>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::NormSingleLinearTextProjection, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::NormSingleLinearTextProjection, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::NormSingleLinearTextProjection, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::NormSingleLinearTextProjection>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::NormSingleLinearTextProjection>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:1205:61: note: in instantiation of function template specialization 'std::make_shared<LTXV::NormSingleLinearTextProjection, long &, long &>' requested here
1205 | blocks["caption_projection"] = std::make_shared<NormSingleLinearTextProjection>(cfg.caption_channels, cfg.hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::PixArtAlphaTextProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::PixArtAlphaTextProjection>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::PixArtAlphaTextProjection>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::PixArtAlphaTextProjection, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::PixArtAlphaTextProjection, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::PixArtAlphaTextProjection, std::allocator<void>, long &, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::PixArtAlphaTextProjection>::__shared_ptr<std::allocator<void>, long &, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::PixArtAlphaTextProjection>::shared_ptr<std::allocator<void>, long &, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:1208:57: note: in instantiation of function template specialization 'std::make_shared<LTXV::PixArtAlphaTextProjection, long &, long &, long &>' requested here
1208 | blocks["caption_projection"] = std::make_shared<PixArtAlphaTextProjection>(cfg.caption_channels, cfg.hidden_size, cfg.hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::Embeddings1DConnector' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::Embeddings1DConnector>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::Embeddings1DConnector>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::Embeddings1DConnector, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::Embeddings1DConnector, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, long &, long &, bool &, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::Embeddings1DConnector, std::allocator<void>, long &, long &, long &, long &, long &, bool &, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::Embeddings1DConnector>::__shared_ptr<std::allocator<void>, long &, long &, long &, long &, long &, bool &, bool &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::Embeddings1DConnector>::shared_ptr<std::allocator<void>, long &, long &, long &, long &, long &, bool &, bool &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:1222:61: note: in instantiation of function template specialization 'std::make_shared<LTXV::Embeddings1DConnector, long &, long &, long &, long &, long &, bool &, bool &>' requested here
1222 | blocks["video_embeddings_connector"] = std::make_shared<Embeddings1DConnector>(cfg.connector_hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXV::BasicAVTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXV::BasicAVTransformerBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXV::BasicAVTransformerBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXV::BasicAVTransformerBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXV::BasicAVTransformerBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, long &, long &, long &, long &, long &, bool, bool &, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXV::BasicAVTransformerBlock, std::allocator<void>, long &, long &, long &, long &, long &, long &, long &, long &, bool, bool &, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXV::BasicAVTransformerBlock>::__shared_ptr<std::allocator<void>, long &, long &, long &, long &, long &, long &, long &, long &, bool, bool &, bool &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXV::BasicAVTransformerBlock>::shared_ptr<std::allocator<void>, long &, long &, long &, long &, long &, long &, long &, long &, bool, bool &, bool &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltxv.hpp:1241:74: note: in instantiation of function template specialization 'std::make_shared<LTXV::BasicAVTransformerBlock, long &, long &, long &, long &, long &, long &, long &, long &, bool, bool &, bool &>' requested here
1241 | blocks["transformer_blocks." + std::to_string(i)] = std::make_shared<BasicAVTransformerBlock>(cfg.hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::CausalConv3d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::CausalConv3d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::CausalConv3d, void>' 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<GGMLBlock>::shared_ptr<WAN::CausalConv3d, void>' requested here
139 | blocks["time_conv"] = std::shared_ptr<GGMLBlock>(new CausalConv3d(dim, dim * 2, {3, 1, 1}, {1, 1, 1}, {1, 0, 0}));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::CausalConv3d *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::CausalConv3d *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::CausalConv3d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::CausalConv3d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::CausalConv3d, void>' 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<GGMLBlock>::shared_ptr<WAN::CausalConv3d, void>' requested here
139 | blocks["time_conv"] = std::shared_ptr<GGMLBlock>(new CausalConv3d(dim, dim * 2, {3, 1, 1}, {1, 1, 1}, {1, 0, 0}));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::RMS_norm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::RMS_norm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::RMS_norm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::RMS_norm, void>' 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<GGMLBlock>::shared_ptr<WAN::RMS_norm, void>' requested here
348 | blocks["residual.0"] = std::shared_ptr<GGMLBlock>(new RMS_norm(in_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::RMS_norm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::RMS_norm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::RMS_norm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::RMS_norm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::RMS_norm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::RMS_norm, void>' 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<GGMLBlock>::shared_ptr<WAN::RMS_norm, void>' requested here
348 | blocks["residual.0"] = std::shared_ptr<GGMLBlock>(new RMS_norm(in_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AvgDown3D *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AvgDown3D *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::AvgDown3D, void>' 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<GGMLBlock>::shared_ptr<WAN::AvgDown3D, void>' requested here
420 | blocks["avg_shortcut"] = std::shared_ptr<GGMLBlock>(new AvgDown3D(in_dim, out_dim, temperal_downsample ? 2 : 1, down_flag ? 2 : 1));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::AvgDown3D *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::AvgDown3D *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AvgDown3D *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AvgDown3D *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::AvgDown3D, void>' 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<GGMLBlock>::shared_ptr<WAN::AvgDown3D, void>' requested here
420 | blocks["avg_shortcut"] = std::shared_ptr<GGMLBlock>(new AvgDown3D(in_dim, out_dim, temperal_downsample ? 2 : 1, down_flag ? 2 : 1));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::ResidualBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::ResidualBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::ResidualBlock, void>' 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<GGMLBlock>::shared_ptr<WAN::ResidualBlock, void>' requested here
424 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new ResidualBlock(in_dim, out_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::ResidualBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::ResidualBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::ResidualBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::ResidualBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::ResidualBlock, void>' 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<GGMLBlock>::shared_ptr<WAN::ResidualBlock, void>' requested here
424 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new ResidualBlock(in_dim, out_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::Resample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Resample *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Resample *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Resample, void>' 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<GGMLBlock>::shared_ptr<WAN::Resample, void>' requested here
429 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new Resample(out_dim, mode, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::Resample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Resample *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Resample *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Resample *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Resample *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Resample, void>' 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<GGMLBlock>::shared_ptr<WAN::Resample, void>' requested here
429 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new Resample(out_dim, mode, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::DupUp3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::DupUp3D *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::DupUp3D *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::DupUp3D, void>' 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<GGMLBlock>::shared_ptr<WAN::DupUp3D, void>' requested here
481 | blocks["avg_shortcut"] = std::shared_ptr<GGMLBlock>(new DupUp3D(in_dim, out_dim, temperal_upsample ? 2 : 1, up_flag ? 2 : 1));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::DupUp3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::DupUp3D *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::DupUp3D *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::DupUp3D *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::DupUp3D *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::DupUp3D, void>' 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<GGMLBlock>::shared_ptr<WAN::DupUp3D, void>' requested here
481 | blocks["avg_shortcut"] = std::shared_ptr<GGMLBlock>(new DupUp3D(in_dim, out_dim, temperal_upsample ? 2 : 1, up_flag ? 2 : 1));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::Down_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Down_ResidualBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Down_ResidualBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Down_ResidualBlock, void>' 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<GGMLBlock>::shared_ptr<WAN::Down_ResidualBlock, void>' requested here
632 | auto block = std::shared_ptr<GGMLBlock>(new Down_ResidualBlock(in_dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::Down_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Down_ResidualBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Down_ResidualBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Down_ResidualBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Down_ResidualBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Down_ResidualBlock, void>' 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<GGMLBlock>::shared_ptr<WAN::Down_ResidualBlock, void>' requested here
632 | auto block = std::shared_ptr<GGMLBlock>(new Down_ResidualBlock(in_dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::AttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AttentionBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AttentionBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::AttentionBlock, void>' 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<GGMLBlock>::shared_ptr<WAN::AttentionBlock, void>' requested here
655 | blocks["middle.1"] = std::shared_ptr<GGMLBlock>(new AttentionBlock(out_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::AttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::AttentionBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::AttentionBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AttentionBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AttentionBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::AttentionBlock, void>' 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<GGMLBlock>::shared_ptr<WAN::AttentionBlock, void>' requested here
655 | blocks["middle.1"] = std::shared_ptr<GGMLBlock>(new AttentionBlock(out_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::Up_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Up_ResidualBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Up_ResidualBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Up_ResidualBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:801:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Up_ResidualBlock, void>' requested here
801 | auto block = std::shared_ptr<GGMLBlock>(new Up_ResidualBlock(in_dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::Up_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Up_ResidualBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Up_ResidualBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Up_ResidualBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Up_ResidualBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Up_ResidualBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:801:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Up_ResidualBlock, void>' requested here
801 | auto block = std::shared_ptr<GGMLBlock>(new Up_ResidualBlock(in_dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::Encoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Encoder3d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Encoder3d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Encoder3d, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:969:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Encoder3d, void>' requested here
969 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new Encoder3d(dim, z_dim * 2, dim_mult, num_res_blocks, temperal_downsample, wan2_2));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::Encoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Encoder3d *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Encoder3d *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Encoder3d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Encoder3d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Encoder3d, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:969:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Encoder3d, void>' requested here
969 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new Encoder3d(dim, z_dim * 2, dim_mult, num_res_blocks, temperal_downsample, wan2_2));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::Decoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Decoder3d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Decoder3d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Decoder3d, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:972:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Decoder3d, void>' requested here
972 | blocks["decoder"] = std::shared_ptr<GGMLBlock>(new Decoder3d(dec_dim, z_dim, dim_mult, num_res_blocks, temperal_upsample, wan2_2));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::Decoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Decoder3d *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Decoder3d *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Decoder3d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Decoder3d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Decoder3d, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:972:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Decoder3d, void>' requested here
972 | blocks["decoder"] = std::shared_ptr<GGMLBlock>(new Decoder3d(dec_dim, z_dim, dim_mult, num_res_blocks, temperal_upsample, wan2_2));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Identity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Identity *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Identity *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Identity, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1384:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Identity, void>' requested here
1384 | blocks["norm_q"] = std::shared_ptr<GGMLBlock>(new Identity());
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Identity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Identity *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Identity *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Identity *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Identity *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Identity, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1384:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Identity, void>' requested here
1384 | blocks["norm_q"] = std::shared_ptr<GGMLBlock>(new Identity());
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::WanSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanSelfAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanSelfAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::WanSelfAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1586:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanSelfAttention, void>' requested here
1586 | blocks["self_attn"] = std::shared_ptr<GGMLBlock>(new WanSelfAttention(dim, num_heads, qk_norm, eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::WanSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::WanSelfAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::WanSelfAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanSelfAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanSelfAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::WanSelfAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1586:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanSelfAttention, void>' requested here
1586 | blocks["self_attn"] = std::shared_ptr<GGMLBlock>(new WanSelfAttention(dim, num_heads, qk_norm, eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::WanT2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanT2VCrossAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanT2VCrossAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::WanT2VCrossAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1593:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanT2VCrossAttention, void>' requested here
1593 | blocks["cross_attn"] = std::shared_ptr<GGMLBlock>(new WanT2VCrossAttention(dim, num_heads, qk_norm, eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::WanT2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::WanT2VCrossAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::WanT2VCrossAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanT2VCrossAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanT2VCrossAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::WanT2VCrossAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1593:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanT2VCrossAttention, void>' requested here
1593 | blocks["cross_attn"] = std::shared_ptr<GGMLBlock>(new WanT2VCrossAttention(dim, num_heads, qk_norm, eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::WanI2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanI2VCrossAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanI2VCrossAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::WanI2VCrossAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1595:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanI2VCrossAttention, void>' requested here
1595 | blocks["cross_attn"] = std::shared_ptr<GGMLBlock>(new WanI2VCrossAttention(dim, num_heads, qk_norm, eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::WanI2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::WanI2VCrossAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::WanI2VCrossAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanI2VCrossAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanI2VCrossAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::WanI2VCrossAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1595:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanI2VCrossAttention, void>' requested here
1595 | blocks["cross_attn"] = std::shared_ptr<GGMLBlock>(new WanI2VCrossAttention(dim, num_heads, qk_norm, eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::WanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanAttentionBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanAttentionBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::WanAttentionBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1853:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanAttentionBlock, void>' requested here
1853 | auto block = std::shared_ptr<GGMLBlock>(new WanAttentionBlock(params.model_type == "t2v",
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::WanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::WanAttentionBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::WanAttentionBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanAttentionBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::WanAttentionBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::WanAttentionBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1853:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanAttentionBlock, void>' requested here
1853 | auto block = std::shared_ptr<GGMLBlock>(new WanAttentionBlock(params.model_type == "t2v",
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::Head' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Head *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Head *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Head, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1864:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Head, void>' requested here
1864 | blocks["head"] = std::shared_ptr<GGMLBlock>(new Head(params.dim, params.out_dim, params.patch_size, params.eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::Head' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Head *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::Head *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Head *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::Head *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::Head, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1864:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Head, void>' requested here
1864 | blocks["head"] = std::shared_ptr<GGMLBlock>(new Head(params.dim, params.out_dim, params.patch_size, params.eps));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::MLPProj' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::MLPProj *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::MLPProj *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::MLPProj, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1868:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::MLPProj, void>' requested here
1868 | blocks["img_emb"] = std::shared_ptr<GGMLBlock>(new MLPProj(1280, params.dim, params.flf_pos_embed_token_number));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::MLPProj' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::MLPProj *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::MLPProj *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::MLPProj *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::MLPProj *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::MLPProj, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1868:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::MLPProj, void>' requested here
1868 | blocks["img_emb"] = std::shared_ptr<GGMLBlock>(new MLPProj(1280, params.dim, params.flf_pos_embed_token_number));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WAN::VaceWanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::VaceWanAttentionBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::VaceWanAttentionBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::VaceWanAttentionBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1874:66: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::VaceWanAttentionBlock, void>' requested here
1874 | auto block = std::shared_ptr<GGMLBlock>(new VaceWanAttentionBlock(params.model_type == "t2v",
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WAN::VaceWanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::VaceWanAttentionBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WAN::VaceWanAttentionBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::VaceWanAttentionBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::VaceWanAttentionBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WAN::VaceWanAttentionBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/wan.hpp:1874:66: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::VaceWanAttentionBlock, void>' requested here
1874 | auto block = std::shared_ptr<GGMLBlock>(new VaceWanAttentionBlock(params.model_type == "t2v",
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::PixelNorm3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::PixelNorm3D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::PixelNorm3D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::PixelNorm3D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::PixelNorm3D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<float &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::PixelNorm3D, std::allocator<void>, float &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::PixelNorm3D>::__shared_ptr<std::allocator<void>, float &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::PixelNorm3D>::shared_ptr<std::allocator<void>, float &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:243:36: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::PixelNorm3D, float &>' requested here
243 | blocks["norm1"] = std::make_shared<PixelNorm3D>(eps);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::CausalConv3d>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::CausalConv3d>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::CausalConv3d, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::CausalConv3d, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, int>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::CausalConv3d, std::allocator<void>, long &, long &, int>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::CausalConv3d>::__shared_ptr<std::allocator<void>, long &, long &, int>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::CausalConv3d>::shared_ptr<std::allocator<void>, long &, long &, int>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:244:36: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::CausalConv3d, long &, long &, int>' requested here
244 | blocks["conv1"] = std::make_shared<CausalConv3d>(channels, channels, 3);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, std::allocator<void>, long>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings>::__shared_ptr<std::allocator<void>, long>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings>::shared_ptr<std::allocator<void>, long>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:350:48: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, long>' requested here
350 | blocks["time_embedder"] = std::make_shared<PixArtAlphaCombinedTimestepSizeEmbeddings>(channels * 4);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::ResnetBlock3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::ResnetBlock3D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::ResnetBlock3D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::ResnetBlock3D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::ResnetBlock3D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, float, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::ResnetBlock3D, std::allocator<void>, long &, float, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::ResnetBlock3D>::__shared_ptr<std::allocator<void>, long &, float, bool &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::ResnetBlock3D>::shared_ptr<std::allocator<void>, long &, float, bool &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:353:66: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::ResnetBlock3D, long &, float, bool &>' requested here
353 | blocks["res_blocks." + std::to_string(i)] = std::make_shared<ResnetBlock3D>(channels, 1e-6f, timestep_conditioning);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<WAN::AvgDown3D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<WAN::AvgDown3D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<WAN::AvgDown3D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<WAN::AvgDown3D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, int &, int &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WAN::AvgDown3D, std::allocator<void>, long &, long &, int &, int &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<WAN::AvgDown3D>::__shared_ptr<std::allocator<void>, long &, long &, int &, int &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<WAN::AvgDown3D>::shared_ptr<std::allocator<void>, long &, long &, int &, int &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:503:46: note: in instantiation of function template specialization 'std::make_shared<WAN::AvgDown3D, long &, long &, int &, int &>' requested here
503 | blocks["skip_downsample"] = std::make_shared<WAN::AvgDown3D>(in_channels, out_channels, factor_t, factor_s);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::UNetMidBlock3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::UNetMidBlock3D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::UNetMidBlock3D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::UNetMidBlock3D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::UNetMidBlock3D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, const int &, bool>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::UNetMidBlock3D, std::allocator<void>, long &, const int &, bool>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::UNetMidBlock3D>::__shared_ptr<std::allocator<void>, long &, const int &, bool>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::UNetMidBlock3D>::shared_ptr<std::allocator<void>, long &, const int &, bool>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:800:79: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::UNetMidBlock3D, long &, const int &, bool>' requested here
800 | blocks["down_blocks." + std::to_string(block_idx)] = std::make_shared<UNetMidBlock3D>(channels,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::SpaceToDepthDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::SpaceToDepthDownsample>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::SpaceToDepthDownsample>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::SpaceToDepthDownsample, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::SpaceToDepthDownsample, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, int, int>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::SpaceToDepthDownsample, std::allocator<void>, long &, long &, int, int>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::SpaceToDepthDownsample>::__shared_ptr<std::allocator<void>, long &, long &, int, int>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::SpaceToDepthDownsample>::shared_ptr<std::allocator<void>, long &, long &, int, int>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:805:79: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::SpaceToDepthDownsample, long &, long &, int, int>' requested here
805 | blocks["down_blocks." + std::to_string(block_idx)] = std::make_shared<SpaceToDepthDownsample>(channels,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::DepthToSpaceUpsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::DepthToSpaceUpsample>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::DepthToSpaceUpsample>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::DepthToSpaceUpsample, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::DepthToSpaceUpsample, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int, int, const int &, bool>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::DepthToSpaceUpsample, std::allocator<void>, long &, int, int, const int &, bool>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::DepthToSpaceUpsample>::__shared_ptr<std::allocator<void>, long &, int, int, const int &, bool>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::DepthToSpaceUpsample>::shared_ptr<std::allocator<void>, long &, int, int, const int &, bool>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:917:77: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::DepthToSpaceUpsample, long &, int, int, const int &, bool>' requested here
917 | blocks["up_blocks." + std::to_string(block_idx)] = std::make_shared<DepthToSpaceUpsample>(channels,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::Encoder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::Encoder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::Encoder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::Encoder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::Encoder, std::allocator<void>, int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::Encoder>::__shared_ptr<std::allocator<void>, int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::Encoder>::shared_ptr<std::allocator<void>, int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:1071:42: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::Encoder, int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &>' requested here
1071 | blocks["encoder"] = std::make_shared<Encoder>(version,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::Decoder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::Decoder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::Decoder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::Decoder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &, bool, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::Decoder, std::allocator<void>, int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &, bool, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::Decoder>::__shared_ptr<std::allocator<void>, int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &, bool, bool &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::Decoder>::shared_ptr<std::allocator<void>, int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &, bool, bool &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:1076:53: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::Decoder, int &, const OrderedMap<std::basic_string<char>, TensorStorage> &, const std::basic_string<char> &, int &, bool, bool &>' requested here
1076 | blocks["decoder"] = std::make_shared<Decoder>(version,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTXVAE::PerChannelStatistics' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTXVAE::PerChannelStatistics>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTXVAE::PerChannelStatistics>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTXVAE::PerChannelStatistics, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTXVAE::PerChannelStatistics, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTXVAE::PerChannelStatistics, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTXVAE::PerChannelStatistics>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTXVAE::PerChannelStatistics>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/ltx_vae.hpp:1082:53: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::PerChannelStatistics>' requested here
1082 | blocks["per_channel_statistics"] = std::make_shared<PerChannelStatistics>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SelfAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SelfAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<SelfAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:255:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<SelfAttention, void>' requested here
255 | blocks["attn"] = std::shared_ptr<GGMLBlock>(new SelfAttention(hidden_size, num_heads, qk_norm, qkv_bias, pre_only));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<SelfAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<SelfAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SelfAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SelfAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<SelfAttention, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:255:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<SelfAttention, void>' requested here
255 | blocks["attn"] = std::shared_ptr<GGMLBlock>(new SelfAttention(hidden_size, num_heads, qk_norm, qkv_bias, pre_only));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Mlp *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Mlp *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Mlp, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:264:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Mlp, void>' requested here
264 | blocks["mlp"] = std::shared_ptr<GGMLBlock>(new Mlp(hidden_size, mlp_hidden_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Mlp *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Mlp *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Mlp *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Mlp *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Mlp, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:264:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Mlp, void>' requested here
264 | blocks["mlp"] = std::shared_ptr<GGMLBlock>(new Mlp(hidden_size, mlp_hidden_dim));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'DismantledBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DismantledBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DismantledBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<DismantledBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:563:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<DismantledBlock, void>' requested here
563 | blocks["context_block"] = std::shared_ptr<GGMLBlock>(new DismantledBlock(hidden_size, num_heads, mlp_ratio, qk_norm, qkv_bias, pre_only, false));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'DismantledBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<DismantledBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<DismantledBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DismantledBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DismantledBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<DismantledBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:563:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<DismantledBlock, void>' requested here
563 | blocks["context_block"] = std::shared_ptr<GGMLBlock>(new DismantledBlock(hidden_size, num_heads, mlp_ratio, qk_norm, qkv_bias, pre_only, false));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'PatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PatchEmbed *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PatchEmbed *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<PatchEmbed, void>' 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<GGMLBlock>::shared_ptr<PatchEmbed, void>' requested here
687 | blocks["x_embedder"] = std::shared_ptr<GGMLBlock>(new PatchEmbed(input_size, patch_size, in_channels, hidden_size, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'PatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<PatchEmbed *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<PatchEmbed *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PatchEmbed *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PatchEmbed *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<PatchEmbed, void>' 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<GGMLBlock>::shared_ptr<PatchEmbed, void>' requested here
687 | blocks["x_embedder"] = std::shared_ptr<GGMLBlock>(new PatchEmbed(input_size, patch_size, in_channels, hidden_size, true));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TimestepEmbedder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TimestepEmbedder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TimestepEmbedder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:688:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TimestepEmbedder, void>' requested here
688 | blocks["t_embedder"] = std::shared_ptr<GGMLBlock>(new TimestepEmbedder(hidden_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<TimestepEmbedder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<TimestepEmbedder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TimestepEmbedder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TimestepEmbedder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TimestepEmbedder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:688:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TimestepEmbedder, void>' requested here
688 | blocks["t_embedder"] = std::shared_ptr<GGMLBlock>(new TimestepEmbedder(hidden_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'VectorEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<VectorEmbedder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<VectorEmbedder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<VectorEmbedder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:691:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<VectorEmbedder, void>' requested here
691 | blocks["y_embedder"] = std::shared_ptr<GGMLBlock>(new VectorEmbedder(adm_in_channels, hidden_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'VectorEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<VectorEmbedder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<VectorEmbedder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<VectorEmbedder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<VectorEmbedder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<VectorEmbedder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:691:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<VectorEmbedder, void>' requested here
691 | blocks["y_embedder"] = std::shared_ptr<GGMLBlock>(new VectorEmbedder(adm_in_channels, hidden_size));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'JointBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<JointBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<JointBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<JointBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:697:59: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<JointBlock, void>' requested here
697 | blocks["joint_blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new JointBlock(hidden_size,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'JointBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<JointBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<JointBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<JointBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<JointBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<JointBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:697:59: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<JointBlock, void>' requested here
697 | blocks["joint_blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new JointBlock(hidden_size,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FinalLayer *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FinalLayer *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FinalLayer, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:706:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FinalLayer, void>' requested here
706 | blocks["final_layer"] = std::shared_ptr<GGMLBlock>(new FinalLayer(hidden_size, patch_size, out_channels));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<FinalLayer *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<FinalLayer *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FinalLayer *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FinalLayer *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FinalLayer, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/mmdit.hpp:706:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FinalLayer, void>' requested here
706 | blocks["final_layer"] = std::shared_ptr<GGMLBlock>(new FinalLayer(hidden_size, patch_size, out_channels));
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::MMDiTJointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::MMDiTJointAttention>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::MMDiTJointAttention>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::MMDiTJointAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::MMDiTJointAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::MMDiTJointAttention, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::MMDiTJointAttention>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::MMDiTJointAttention>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:277:53: note: in instantiation of function template specialization 'std::make_shared<Pid::MMDiTJointAttention, long &, long &>' requested here
277 | blocks["attn"] = std::make_shared<MMDiTJointAttention>(hidden_size, groups);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::FeedForward>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::FeedForward>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::FeedForward, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::FeedForward, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::FeedForward, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::FeedForward>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::FeedForward>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:280:53: note: in instantiation of function template specialization 'std::make_shared<Pid::FeedForward, long &, long &>' requested here
280 | blocks["mlp_x"] = std::make_shared<FeedForward>(hidden_size, mlp_hidden_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::RotaryAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::RotaryAttention>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::RotaryAttention>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::RotaryAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::RotaryAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::RotaryAttention, std::allocator<void>, long &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::RotaryAttention>::__shared_ptr<std::allocator<void>, long &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::RotaryAttention>::shared_ptr<std::allocator<void>, long &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:373:49: note: in instantiation of function template specialization 'std::make_shared<Pid::RotaryAttention, long &, long &>' requested here
373 | blocks["attn"] = std::make_shared<RotaryAttention>(attn_dim, num_heads);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final '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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Mlp>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Mlp>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Mlp, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Mlp, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Mlp, std::allocator<void>, long &, long>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Mlp>::__shared_ptr<std::allocator<void>, long &, long>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Mlp>::shared_ptr<std::allocator<void>, long &, long>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:375:49: note: in instantiation of function template specialization 'std::make_shared<Mlp, long &, long>' requested here
375 | blocks["mlp"] = std::make_shared<Mlp>(pixel_dim, pixel_dim * 4);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<GroupNorm>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<GroupNorm>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<GroupNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<GroupNorm, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int, long &, float>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm, std::allocator<void>, int, long &, float>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<GroupNorm>::__shared_ptr<std::allocator<void>, int, long &, float>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<GroupNorm>::shared_ptr<std::allocator<void>, int, long &, float>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:449:38: note: in instantiation of function template specialization 'std::make_shared<GroupNorm, int, long &, float>' requested here
449 | blocks["block.0"] = std::make_shared<GroupNorm>(4, channels, 1e-5f);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::PiDResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::PiDResBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::PiDResBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::PiDResBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::PiDResBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::PiDResBlock, std::allocator<void>, const long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::PiDResBlock>::__shared_ptr<std::allocator<void>, const long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::PiDResBlock>::shared_ptr<std::allocator<void>, const long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:476:71: note: in instantiation of function template specialization 'std::make_shared<Pid::PiDResBlock, const long &>' requested here
476 | blocks["latent_proj." + std::to_string(3 + i)] = std::make_shared<PiDResBlock>(params_cfg.lq_hidden_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::SigmaAwareGate' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::SigmaAwareGate>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::SigmaAwareGate>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::SigmaAwareGate, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::SigmaAwareGate, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::SigmaAwareGate, std::allocator<void>, const long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::SigmaAwareGate>::__shared_ptr<std::allocator<void>, const long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::SigmaAwareGate>::shared_ptr<std::allocator<void>, const long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:482:68: note: in instantiation of function template specialization 'std::make_shared<Pid::SigmaAwareGate, const long &>' requested here
482 | blocks["gate_modules." + std::to_string(i)] = std::make_shared<SigmaAwareGate>(params_cfg.hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::PixelTokenEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::PixelTokenEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::PixelTokenEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::PixelTokenEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::PixelTokenEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const long &, const long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::PixelTokenEmbedder, std::allocator<void>, const long &, const long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::PixelTokenEmbedder>::__shared_ptr<std::allocator<void>, const long &, const long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::PixelTokenEmbedder>::shared_ptr<std::allocator<void>, const long &, const long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:554:45: note: in instantiation of function template specialization 'std::make_shared<Pid::PixelTokenEmbedder, const long &, const long &>' requested here
554 | blocks["pixel_embedder"] = std::make_shared<PixelTokenEmbedder>(params_cfg.in_channels, params_cfg.pixel_hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::PatchTokenEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::PatchTokenEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::PatchTokenEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::PatchTokenEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::PatchTokenEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long, const long &, bool, bool>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::PatchTokenEmbedder, std::allocator<void>, long, const long &, bool, bool>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::PatchTokenEmbedder>::__shared_ptr<std::allocator<void>, long, const long &, bool, bool>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::PatchTokenEmbedder>::shared_ptr<std::allocator<void>, long, const long &, bool, bool>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:555:45: note: in instantiation of function template specialization 'std::make_shared<Pid::PatchTokenEmbedder, long, const long &, bool, bool>' requested here
555 | blocks["s_embedder"] = std::make_shared<PatchTokenEmbedder>(params_cfg.in_channels * params_cfg.patch_size * params_cfg.patch_size, params_cfg.hidden_size, false, true);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::PixelDiTTimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::PixelDiTTimestepEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::PixelDiTTimestepEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::PixelDiTTimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::PixelDiTTimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::PixelDiTTimestepEmbedder, std::allocator<void>, const long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::PixelDiTTimestepEmbedder>::__shared_ptr<std::allocator<void>, const long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::PixelDiTTimestepEmbedder>::shared_ptr<std::allocator<void>, const long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:556:45: note: in instantiation of function template specialization 'std::make_shared<Pid::PixelDiTTimestepEmbedder, const long &>' requested here
556 | blocks["t_embedder"] = std::make_shared<PixelDiTTimestepEmbedder>(params_cfg.hidden_size);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::MMDiTBlockT2I' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::MMDiTBlockT2I>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::MMDiTBlockT2I>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::MMDiTBlockT2I, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::MMDiTBlockT2I, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const long &, const long &, const long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::MMDiTBlockT2I, std::allocator<void>, const long &, const long &, const long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::MMDiTBlockT2I>::__shared_ptr<std::allocator<void>, const long &, const long &, const long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::MMDiTBlockT2I>::shared_ptr<std::allocator<void>, const long &, const long &, const long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:559:68: note: in instantiation of function template specialization 'std::make_shared<Pid::MMDiTBlockT2I, const long &, const long &, const long &>' requested here
559 | blocks["patch_blocks." + std::to_string(i)] = std::make_shared<MMDiTBlockT2I>(params_cfg.hidden_size, params_cfg.num_groups, params_cfg.patch_mlp_hidden_dim);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::PiTBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::PiTBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::PiTBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::PiTBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::PiTBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const long &, const long &, const long &, const long &, const long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::PiTBlock, std::allocator<void>, const long &, const long &, const long &, const long &, const long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::PiTBlock>::__shared_ptr<std::allocator<void>, const long &, const long &, const long &, const long &, const long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::PiTBlock>::shared_ptr<std::allocator<void>, const long &, const long &, const long &, const long &, const long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:562:68: note: in instantiation of function template specialization 'std::make_shared<Pid::PiTBlock, const long &, const long &, const long &, const long &, const long &>' requested here
562 | blocks["pixel_blocks." + std::to_string(i)] = std::make_shared<PiTBlock>(params_cfg.pixel_hidden_size,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::FinalLayer>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::FinalLayer>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::FinalLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::FinalLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const long &, const long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::FinalLayer, std::allocator<void>, const long &, const long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::FinalLayer>::__shared_ptr<std::allocator<void>, const long &, const long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::FinalLayer>::shared_ptr<std::allocator<void>, const long &, const long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:568:42: note: in instantiation of function template specialization 'std::make_shared<Pid::FinalLayer, const long &, const long &>' requested here
568 | blocks["final_layer"] = std::make_shared<FinalLayer>(params_cfg.pixel_hidden_size, params_cfg.in_channels);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'Pid::LQProjection2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Pid::LQProjection2D>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Pid::LQProjection2D>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Pid::LQProjection2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Pid::LQProjection2D, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<const Pid::PixelDiTParams &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Pid::LQProjection2D, std::allocator<void>, const Pid::PixelDiTParams &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Pid::LQProjection2D>::__shared_ptr<std::allocator<void>, const Pid::PixelDiTParams &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Pid::LQProjection2D>::shared_ptr<std::allocator<void>, const Pid::PixelDiTParams &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/pid.hpp:569:42: note: in instantiation of function template specialization 'std::make_shared<Pid::LQProjection2D, const Pid::PixelDiTParams &>' requested here
569 | blocks["lq_proj"] = std::make_shared<LQProjection2D>(params_cfg);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'PerceiverAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PerceiverAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PerceiverAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<PerceiverAttention, void>' 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<GGMLBlock>::shared_ptr<PerceiverAttention, void>' requested here
173 | blocks[name] = std::shared_ptr<GGMLBlock>(new PerceiverAttention(dim, dim_head, heads));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'PerceiverAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<PerceiverAttention *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<PerceiverAttention *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PerceiverAttention *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PerceiverAttention *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<PerceiverAttention, void>' 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<GGMLBlock>::shared_ptr<PerceiverAttention, void>' requested here
173 | blocks[name] = std::shared_ptr<GGMLBlock>(new PerceiverAttention(dim, dim_head, heads));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'PMFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PMFeedForward *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PMFeedForward *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<PMFeedForward, void>' 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<GGMLBlock>::shared_ptr<PMFeedForward, void>' requested here
175 | blocks[name] = std::shared_ptr<GGMLBlock>(new PMFeedForward(dim, ff_mult));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'PMFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<PMFeedForward *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<PMFeedForward *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PMFeedForward *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PMFeedForward *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<PMFeedForward, void>' 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<GGMLBlock>::shared_ptr<PMFeedForward, void>' requested here
175 | blocks[name] = std::shared_ptr<GGMLBlock>(new PMFeedForward(dim, ff_mult));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'FacePerceiverResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FacePerceiverResampler *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FacePerceiverResampler *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FacePerceiverResampler, void>' 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<GGMLBlock>::shared_ptr<FacePerceiverResampler, void>' requested here
218 | blocks["perceiver_resampler"] = std::shared_ptr<GGMLBlock>(new FacePerceiverResampler(
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'FacePerceiverResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<FacePerceiverResampler *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<FacePerceiverResampler *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FacePerceiverResampler *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FacePerceiverResampler *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FacePerceiverResampler, void>' 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<GGMLBlock>::shared_ptr<FacePerceiverResampler, void>' requested here
218 | blocks["perceiver_resampler"] = std::shared_ptr<GGMLBlock>(new FacePerceiverResampler(
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'FuseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FuseBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FuseBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FuseBlock, void>' 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<GGMLBlock>::shared_ptr<FuseBlock, void>' requested here
254 | blocks["mlp1"] = std::shared_ptr<GGMLBlock>(new FuseBlock(imb_d * 2, imb_d, imb_d, false));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'FuseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<FuseBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<FuseBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FuseBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FuseBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FuseBlock, void>' 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<GGMLBlock>::shared_ptr<FuseBlock, void>' requested here
254 | blocks["mlp1"] = std::shared_ptr<GGMLBlock>(new FuseBlock(imb_d * 2, imb_d, imb_d, false));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'FuseModule' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FuseModule *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FuseModule *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FuseModule, void>' 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<GGMLBlock>::shared_ptr<FuseModule, void>' requested here
317 | blocks["fuse_module"] = std::shared_ptr<GGMLBlock>(new FuseModule(2048));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'FuseModule' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<FuseModule *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<FuseModule *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FuseModule *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FuseModule *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<FuseModule, void>' 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<GGMLBlock>::shared_ptr<FuseModule, void>' requested here
317 | blocks["fuse_module"] = std::shared_ptr<GGMLBlock>(new FuseModule(2048));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'QFormerPerceiver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<QFormerPerceiver *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<QFormerPerceiver *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<QFormerPerceiver, void>' 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<GGMLBlock>::shared_ptr<QFormerPerceiver, void>' requested here
363 | blocks["qformer_perceiver"] = std::shared_ptr<GGMLBlock>(new QFormerPerceiver(id_embeddings_dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'QFormerPerceiver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<QFormerPerceiver *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<QFormerPerceiver *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<QFormerPerceiver *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<QFormerPerceiver *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<QFormerPerceiver, void>' 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<GGMLBlock>::shared_ptr<QFormerPerceiver, void>' requested here
363 | blocks["qformer_perceiver"] = std::shared_ptr<GGMLBlock>(new QFormerPerceiver(id_embeddings_dim,
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<GroupNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:33:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GroupNorm, void>' requested here
33 | blocks["pool.1"] = std::shared_ptr<GGMLBlock>(new GroupNorm(4, n_gn));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<GroupNorm *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<GroupNorm *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GroupNorm *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<GroupNorm, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:33:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GroupNorm, void>' requested here
33 | blocks["pool.1"] = std::shared_ptr<GGMLBlock>(new GroupNorm(4, n_gn));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'TAEBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TAEBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TAEBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TAEBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:89:43: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TAEBlock, void>' requested here
89 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TAEBlock(channels, channels));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'TAEBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<TAEBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<TAEBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TAEBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TAEBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TAEBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:89:43: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TAEBlock, void>' requested here
89 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TAEBlock(channels, channels));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Conv2d_grouped' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d_grouped *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d_grouped *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Conv2d_grouped, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:270:28: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv2d_grouped, void>' requested here
270 | blocks["conv.2"] = std::shared_ptr<GGMLBlock>(new Conv2d_grouped(out_channels, out_channels, groups, {3, 3}, {1, 1}, {1, 1}));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Conv2d_grouped' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Conv2d_grouped *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Conv2d_grouped *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d_grouped *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d_grouped *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Conv2d_grouped, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:270:28: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv2d_grouped, void>' requested here
270 | blocks["conv.2"] = std::shared_ptr<GGMLBlock>(new Conv2d_grouped(out_channels, out_channels, groups, {3, 3}, {1, 1}, {1, 1}));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'TPool' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TPool *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TPool *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TPool, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:383:47: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TPool, void>' requested here
383 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TPool(hidden, stride));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'TPool' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<TPool *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<TPool *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TPool *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TPool *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TPool, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:383:47: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TPool, void>' requested here
383 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TPool(hidden, stride));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'MemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MemBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MemBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<MemBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:386:51: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<MemBlock, void>' requested here
386 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new MemBlock(hidden, hidden));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'MemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<MemBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<MemBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MemBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MemBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<MemBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:386:51: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<MemBlock, void>' requested here
386 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new MemBlock(hidden, hidden));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'WideMemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WideMemBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WideMemBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WideMemBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:454:55: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WideMemBlock, void>' requested here
454 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new WideMemBlock(channels[i], channels[i]));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'WideMemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<WideMemBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<WideMemBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WideMemBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<WideMemBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<WideMemBlock, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:454:55: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WideMemBlock, void>' requested here
454 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new WideMemBlock(channels[i], channels[i]));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'TGrow' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TGrow *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TGrow *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TGrow, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:460:47: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TGrow, void>' requested here
460 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TGrow(channels[i], stride));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'TGrow' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<TGrow *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<TGrow *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TGrow *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TGrow *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TGrow, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:460:47: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TGrow, void>' requested here
460 | blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TGrow(channels[i], stride));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'TinyVideoDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyVideoDecoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyVideoDecoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TinyVideoDecoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:537:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyVideoDecoder, void>' requested here
537 | blocks["decoder"] = std::shared_ptr<GGMLBlock>(new TinyVideoDecoder(z_channels, patch, time_upscale, is_wide));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'TinyVideoDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<TinyVideoDecoder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<TinyVideoDecoder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyVideoDecoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyVideoDecoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TinyVideoDecoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:537:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyVideoDecoder, void>' requested here
537 | blocks["decoder"] = std::shared_ptr<GGMLBlock>(new TinyVideoDecoder(z_channels, patch, time_upscale, is_wide));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'TinyVideoEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyVideoEncoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyVideoEncoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TinyVideoEncoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:539:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyVideoEncoder, void>' requested here
539 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new TinyVideoEncoder(z_channels, patch, time_downscale));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'TinyVideoEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<TinyVideoEncoder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<TinyVideoEncoder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyVideoEncoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyVideoEncoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TinyVideoEncoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:539:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyVideoEncoder, void>' requested here
539 | blocks["encoder"] = std::shared_ptr<GGMLBlock>(new TinyVideoEncoder(z_channels, patch, time_downscale));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'TinyDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyDecoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyDecoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TinyDecoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:596:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyDecoder, void>' requested here
596 | blocks["decoder.layers"] = std::shared_ptr<GGMLBlock>(new TinyDecoder(z_channels, use_midblock_gn));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'TinyDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<TinyDecoder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<TinyDecoder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyDecoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyDecoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TinyDecoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:596:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyDecoder, void>' requested here
596 | blocks["decoder.layers"] = std::shared_ptr<GGMLBlock>(new TinyDecoder(z_channels, use_midblock_gn));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'TinyEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyEncoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyEncoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TinyEncoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:599:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyEncoder, void>' requested here
599 | blocks["encoder.layers"] = std::shared_ptr<GGMLBlock>(new TinyEncoder(z_channels, use_midblock_gn));
| ^
In file included from sd/stable-diffusion.cpp:5:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'TinyEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<TinyEncoder *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<TinyEncoder *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyEncoder *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TinyEncoder *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<TinyEncoder, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/tae.hpp:599:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyEncoder, void>' requested here
599 | blocks["encoder.layers"] = std::shared_ptr<GGMLBlock>(new TinyEncoder(z_channels, use_midblock_gn));
| ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/algorithm:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algo.h:69:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ZImage::JointAttention>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ZImage::JointAttention>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ZImage::JointAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ZImage::JointAttention, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, long &, bool &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ZImage::JointAttention, std::allocator<void>, long &, long &, long &, long &, bool &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ZImage::JointAttention>::__shared_ptr<std::allocator<void>, long &, long &, long &, long &, bool &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ZImage::JointAttention>::shared_ptr<std::allocator<void>, long &, long &, long &, long &, bool &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/z_image.hpp:170:46: note: in instantiation of function template specialization 'std::make_shared<ZImage::JointAttention, long &, long &, long &, long &, bool &>' requested here
170 | blocks["attention"] = std::make_shared<JointAttention>(hidden_size, head_dim, num_heads, num_kv_heads, qk_norm);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ZImage::FeedForward>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ZImage::FeedForward>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ZImage::FeedForward, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ZImage::FeedForward, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, long &, long &, float &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ZImage::FeedForward, std::allocator<void>, long &, long &, long &, float &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ZImage::FeedForward>::__shared_ptr<std::allocator<void>, long &, long &, long &, float &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ZImage::FeedForward>::shared_ptr<std::allocator<void>, long &, long &, long &, float &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/z_image.hpp:171:46: note: in instantiation of function template specialization 'std::make_shared<ZImage::FeedForward, long &, long &, long &, float &>' requested here
171 | blocks["feed_forward"] = std::make_shared<FeedForward>(hidden_size, hidden_size, multiple_of, ffn_dim_multiplier);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<TimestepEmbedder>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<TimestepEmbedder>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<TimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<TimestepEmbedder, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long, int, int>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<TimestepEmbedder, std::allocator<void>, long, int, int>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<TimestepEmbedder>::__shared_ptr<std::allocator<void>, long, int, int>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<TimestepEmbedder>::shared_ptr<std::allocator<void>, long, int, int>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/z_image.hpp:300:45: note: in instantiation of function template specialization 'std::make_shared<TimestepEmbedder, long, int, int>' requested here
300 | blocks["t_embedder"] = std::make_shared<TimestepEmbedder>(MIN(z_image_params.hidden_size, 1024), 256, 256);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ZImage::JointTransformerBlock>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ZImage::JointTransformerBlock>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ZImage::JointTransformerBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ZImage::JointTransformerBlock, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ZImage::JointTransformerBlock, std::allocator<void>, int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ZImage::JointTransformerBlock>::__shared_ptr<std::allocator<void>, 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/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ZImage::JointTransformerBlock>::shared_ptr<std::allocator<void>, int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/z_image.hpp:305:35: note: in instantiation of function template specialization 'std::make_shared<ZImage::JointTransformerBlock, int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool>' requested here
305 | auto block = std::make_shared<JointTransformerBlock>(i,
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ZImage::FinalLayer>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ZImage::FinalLayer>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ZImage::FinalLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ZImage::FinalLayer, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<long &, int &, long &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ZImage::FinalLayer, std::allocator<void>, long &, int &, long &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ZImage::FinalLayer>::__shared_ptr<std::allocator<void>, long &, int &, long &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ZImage::FinalLayer>::shared_ptr<std::allocator<void>, long &, int &, long &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/z_image.hpp:349:42: note: in instantiation of function template specialization 'std::make_shared<ZImage::FinalLayer, long &, int &, long &>' requested here
349 | blocks["final_layer"] = std::make_shared<FinalLayer>(z_image_params.hidden_size, z_image_params.patch_size, z_image_params.out_channels);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<STDDefaultRNG>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<STDDefaultRNG>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<STDDefaultRNG, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<STDDefaultRNG, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<STDDefaultRNG, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<STDDefaultRNG>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<STDDefaultRNG>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:251:25: note: in instantiation of function template specialization 'std::make_shared<STDDefaultRNG>' requested here
251 | return std::make_shared<STDDefaultRNG>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<MT19937RNG>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<MT19937RNG>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<MT19937RNG, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<MT19937RNG, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MT19937RNG, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<MT19937RNG>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<MT19937RNG>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:253:25: note: in instantiation of function template specialization 'std::make_shared<MT19937RNG>' requested here
253 | return std::make_shared<MT19937RNG>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<PhiloxRNG>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<PhiloxRNG>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<PhiloxRNG, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<PhiloxRNG, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<PhiloxRNG, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<PhiloxRNG>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<PhiloxRNG>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:255:25: note: in instantiation of function template specialization 'std::make_shared<PhiloxRNG>' requested here
255 | return std::make_shared<PhiloxRNG>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<CompVisVDenoiser>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<CompVisVDenoiser>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<CompVisVDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<CompVisVDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CompVisVDenoiser, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<CompVisVDenoiser>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<CompVisVDenoiser>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:1296:37: note: in instantiation of function template specialization 'std::make_shared<CompVisVDenoiser>' requested here
1296 | denoiser = std::make_shared<CompVisVDenoiser>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<EDMVDenoiser>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<EDMVDenoiser>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<EDMVDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<EDMVDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<EDMVDenoiser, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<EDMVDenoiser>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<EDMVDenoiser>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:1300:37: note: in instantiation of function template specialization 'std::make_shared<EDMVDenoiser>' requested here
1300 | denoiser = std::make_shared<EDMVDenoiser>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<FluxFlowDenoiser>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<FluxFlowDenoiser>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<FluxFlowDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<FluxFlowDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<FluxFlowDenoiser, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<FluxFlowDenoiser>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<FluxFlowDenoiser>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:1305:41: note: in instantiation of function template specialization 'std::make_shared<FluxFlowDenoiser>' requested here
1305 | denoiser = std::make_shared<FluxFlowDenoiser>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<DiscreteFlowDenoiser>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<DiscreteFlowDenoiser>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<DiscreteFlowDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<DiscreteFlowDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DiscreteFlowDenoiser, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<DiscreteFlowDenoiser>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<DiscreteFlowDenoiser>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:1308:41: note: in instantiation of function template specialization 'std::make_shared<DiscreteFlowDenoiser>' requested here
1308 | denoiser = std::make_shared<DiscreteFlowDenoiser>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<Flux2FlowDenoiser>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<Flux2FlowDenoiser>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<Flux2FlowDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<Flux2FlowDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Flux2FlowDenoiser, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<Flux2FlowDenoiser>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<Flux2FlowDenoiser>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:1319:37: note: in instantiation of function template specialization 'std::make_shared<Flux2FlowDenoiser>' requested here
1319 | denoiser = std::make_shared<Flux2FlowDenoiser>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<MultiLoraAdapter>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<MultiLoraAdapter>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<MultiLoraAdapter, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<MultiLoraAdapter, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<std::vector<std::shared_ptr<LoraModel>> &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<MultiLoraAdapter, std::allocator<void>, std::vector<std::shared_ptr<LoraModel>> &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<MultiLoraAdapter>::__shared_ptr<std::allocator<void>, std::vector<std::shared_ptr<LoraModel>> &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<MultiLoraAdapter>::shared_ptr<std::allocator<void>, std::vector<std::shared_ptr<LoraModel>> &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:1499:48: note: in instantiation of function template specialization 'std::make_shared<MultiLoraAdapter, std::vector<std::shared_ptr<LoraModel>> &>' requested here
1499 | auto multi_lora_adapter = std::make_shared<MultiLoraAdapter>(cond_stage_lora_models);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<CompVisDenoiser>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<CompVisDenoiser>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<CompVisDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<CompVisDenoiser, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<CompVisDenoiser, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<CompVisDenoiser>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<CompVisDenoiser>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/stable-diffusion.cpp:205:47: note: in instantiation of function template specialization 'std::make_shared<CompVisDenoiser>' requested here
205 | std::shared_ptr<Denoiser> denoiser = std::make_shared<CompVisDenoiser>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
sd/stable-diffusion.cpp:5405:18: warning: unused function 'ggml_to_sd_tensor' [-Wunused-function]
5405 | static sd_tensor ggml_to_sd_tensor(const struct ggml_tensor* g) {
| ^~~~~~~~~~~~~~~~~
sd/stable-diffusion.cpp:5427:28: warning: unused function 'sd_tensor_to_ggml' [-Wunused-function]
5427 | static struct ggml_tensor* sd_tensor_to_ggml(struct ggml_context* ctx, const sd_tensor* t) {
| ^~~~~~~~~~~~~~~~~
sd/stable-diffusion.cpp:5476:29: warning: unused function 'sd_lowlevel_work_ctx' [-Wunused-function]
5476 | static struct ggml_context* sd_lowlevel_work_ctx(size_t mem_size) {
| ^~~~~~~~~~~~~~~~~~~~
591 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/model.cpp -o sd/model.o
sd/model.cpp:802:43: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
802 | LOG_DEBUG("using mmap for I/O");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/model.cpp:842:42: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
842 | LOG_DEBUG("memory-mapping tensors...");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/model.cpp:1105:96: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1105 | LOG_ERROR("read tensor data failed: too less memory for conversion");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/model.cpp:1226:50: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
1226 | LOG_ERROR("load tensors from file failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
4 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/model_io/gguf_io.cpp -o sd/model_io/gguf_io.o
In file included from sd/model_io/gguf_io.cpp:9:
sd/model_io/gguf_reader_ext.h:186:46: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
186 | LOG_ERROR("not a valid GGUF file");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/model_io/gguf_io.cpp:9:
sd/model_io/gguf_reader_ext.h:206:50: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
206 | LOG_ERROR("read meta data failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
2 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/model_io/pickle_io.cpp -o sd/model_io/pickle_io.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/model_io/safetensors_io.cpp -o sd/model_io/safetensors_io.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/model_io/torch_legacy_io.cpp -o sd/model_io/torch_legacy_io.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/model_io/torch_zip_io.cpp -o sd/model_io/torch_zip_io.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/name_conversion.cpp -o sd/name_conversion.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/bpe_tokenizer.cpp -o sd/tokenizers/bpe_tokenizer.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/clip_tokenizer.cpp -o sd/tokenizers/clip_tokenizer.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/gemma_tokenizer.cpp -o sd/tokenizers/gemma_tokenizer.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/gpt_oss_tokenizer.cpp -o sd/tokenizers/gpt_oss_tokenizer.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/mistral_tokenizer.cpp -o sd/tokenizers/mistral_tokenizer.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/qwen2_tokenizer.cpp -o sd/tokenizers/qwen2_tokenizer.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/t5_unigram_tokenizer.cpp -o sd/tokenizers/t5_unigram_tokenizer.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/tokenizer.cpp -o sd/tokenizers/tokenizer.o
sd/tokenizers/tokenizer.cpp:48:48: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
48 | LOG_ERROR("tokens size != weights size");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
1 warning generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/tokenize_util.cpp -o sd/tokenizers/tokenize_util.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/tokenizers/vocab/vocab.cpp -o sd/tokenizers/vocab/vocab.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -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/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
sd/ggml_extend.hpp:88:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
88 | LOG_DEBUG(text);
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
sd/ggml_extend.hpp:91:26: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
91 | LOG_INFO(text);
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
sd/ggml_extend.hpp:94:26: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
94 | LOG_WARN(text);
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
sd/ggml_extend.hpp:97:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
97 | LOG_ERROR(text);
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
sd/ggml_extend.hpp:100:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
100 | LOG_DEBUG(text);
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
sd/ggml_extend.hpp:375:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable]
375 | int32_t nelements = 1;
| ^
sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable]
2814 | int64_t t_segment_begin = ggml_time_ms();
| ^~~~~~~~~~~~~~~
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
sd/esrgan.hpp:274:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
274 | LOG_ERROR("esrgan model buffer allocation failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
sd/esrgan.hpp:345:69: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
345 | LOG_ERROR("load esrgan tensors from model loader failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/upscaler.cpp:104:74: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
104 | LOG_ERROR("esrgan compute failed while processing a tile");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/upscaler.cpp:123:42: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
123 | LOG_ERROR("esrgan compute failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Linear, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
3987 | blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Linear *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Linear *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Linear, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
3987 | blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Conv2d, void>' 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<GGMLBlock>::shared_ptr<Conv2d, void>' requested here
23 | blocks["conv1"] = std::shared_ptr<GGMLBlock>(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/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Conv2d *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Conv2d *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Conv2d *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Conv2d, void>' 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<GGMLBlock>::shared_ptr<Conv2d, void>' requested here
23 | blocks["conv1"] = std::shared_ptr<GGMLBlock>(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/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResidualDenseBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResidualDenseBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<ResidualDenseBlock, void>' 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<GGMLBlock>::shared_ptr<ResidualDenseBlock, void>' requested here
62 | blocks["rdb1"] = std::shared_ptr<GGMLBlock>(new ResidualDenseBlock(num_feat, num_grow_ch));
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<ResidualDenseBlock *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<ResidualDenseBlock *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResidualDenseBlock *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ResidualDenseBlock *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<ResidualDenseBlock, void>' 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<GGMLBlock>::shared_ptr<ResidualDenseBlock, void>' requested here
62 | blocks["rdb1"] = std::shared_ptr<GGMLBlock>(new ResidualDenseBlock(num_feat, num_grow_ch));
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RRDB *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RRDB *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<RRDB, void>' 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<GGMLBlock>::shared_ptr<RRDB, void>' requested here
99 | blocks[name] = std::shared_ptr<GGMLBlock>(new RRDB(num_feat, num_grow_ch));
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<RRDB *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<RRDB *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RRDB *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<RRDB *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<RRDB, void>' 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<GGMLBlock>::shared_ptr<RRDB, void>' requested here
99 | blocks[name] = std::shared_ptr<GGMLBlock>(new RRDB(num_feat, num_grow_ch));
| ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:16:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:80:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/unique_ptr.h:408:4: note: in instantiation of member function 'std::default_delete<RRDBNet>::operator()' requested here
408 | get_deleter()(std::move(__ptr));
| ^
sd/esrgan.hpp:163:5: note: in instantiation of member function 'std::unique_ptr<RRDBNet>::~unique_ptr' requested here
163 | ESRGAN(ggml_backend_t backend,
| ^
20 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/util.cpp -o sd/util.o
In file included from sd/util.cpp:14:
In file included from sd/preprocessing.hpp:7:
sd/ggml_extend.hpp:88:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
88 | LOG_DEBUG(text);
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/util.cpp:14:
In file included from sd/preprocessing.hpp:7:
sd/ggml_extend.hpp:91:26: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
91 | LOG_INFO(text);
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/util.cpp:14:
In file included from sd/preprocessing.hpp:7:
sd/ggml_extend.hpp:94:26: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
94 | LOG_WARN(text);
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/util.cpp:14:
In file included from sd/preprocessing.hpp:7:
sd/ggml_extend.hpp:97:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
97 | LOG_ERROR(text);
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/util.cpp:14:
In file included from sd/preprocessing.hpp:7:
sd/ggml_extend.hpp:100:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
100 | LOG_DEBUG(text);
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/util.cpp:14:
In file included from sd/preprocessing.hpp:7:
sd/ggml_extend.hpp:375:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable]
375 | int32_t nelements = 1;
| ^
sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable]
2814 | int64_t t_segment_begin = ggml_time_ms();
| ^~~~~~~~~~~~~~~
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/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Linear, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
3987 | blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(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/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Linear *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Linear *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Linear, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
3987 | blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
| ^
9 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -DSDCPP_BUILD_VERSION=master_2026_06_03 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/version.cpp -o sd/version.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/ggml_extend_backend.cpp -o sd/ggml_extend_backend.o
sd/ggml_extend_backend.cpp:381:54: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
381 | LOG_WARN("unable to get CPU features");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/ggml_extend_backend.cpp:384:50: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
384 | LOG_WARN("unable to get CPU features");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/ggml_extend_backend.cpp:397:42: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
397 | LOG_ERROR("No devices found!");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/ggml_extend_backend.cpp:440:39: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
440 | LOG_WARN("loading CPU backend");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/ggml_extend_backend.cpp:445:38: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
445 | LOG_DEBUG("Using CPU backend");
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
5 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/ggml_graph_cut.cpp -o sd/ggml_graph_cut.o
sd/ggml_graph_cut.cpp:98:104: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
98 | LOG_WARN("--max-vram < 0 requested, but no backend is available; disabling graph splitting");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/ggml_graph_cut.cpp:104:111: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
104 | LOG_WARN("--max-vram < 0 requested, but no backend device is available; disabling graph splitting");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/ggml_graph_cut.cpp:108:104: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
108 | LOG_WARN("--max-vram < 0 requested, but the main backend is CPU; disabling graph splitting");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/ggml_graph_cut.cpp:721:17: warning: unused variable 't_prepare_begin' [-Wunused-variable]
721 | int64_t t_prepare_begin = ggml_time_ms();
| ^~~~~~~~~~~~~~~
In file included from sd/ggml_graph_cut.cpp:16:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:90:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
90 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:147:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
147 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:153:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function]
153 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:158:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function]
158 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:163:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function]
163 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:168:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function]
168 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:205:15: warning: unused function 'ggml_bitset_size' [-Wunused-function]
205 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:274:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
274 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:279:15: warning: unused function 'ggml_hash_insert' [-Wunused-function]
279 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include/ggml-impl.h:300:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function]
300 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
14 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/layer_registry.cpp -o sd/layer_registry.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/guidance.cpp -o sd/guidance.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/sample-cache.cpp -o sd/sample-cache.o
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
In file included from sd/cache_dit.hpp:12:
sd/ggml_extend.hpp:88:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
88 | LOG_DEBUG(text);
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
In file included from sd/cache_dit.hpp:12:
sd/ggml_extend.hpp:91:26: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
91 | LOG_INFO(text);
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
In file included from sd/cache_dit.hpp:12:
sd/ggml_extend.hpp:94:26: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
94 | LOG_WARN(text);
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
In file included from sd/cache_dit.hpp:12:
sd/ggml_extend.hpp:97:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
97 | LOG_ERROR(text);
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
In file included from sd/cache_dit.hpp:12:
sd/ggml_extend.hpp:100:27: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
100 | LOG_DEBUG(text);
| ^
sd/util.h:102:9: note: macro 'LOG_DEBUG' defined here
102 | #define LOG_DEBUG(format, ...) log_printf(SD_LOG_DEBUG, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
In file included from sd/cache_dit.hpp:12:
sd/ggml_extend.hpp:375:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable]
375 | int32_t nelements = 1;
| ^
sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable]
2814 | int64_t t_segment_begin = ggml_time_ms();
| ^~~~~~~~~~~~~~~
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
sd/cache_dit.hpp:78:13: warning: unused variable 'order' [-Wunused-variable]
78 | int order = n_derivatives + 1;
| ^~~~~
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:92:65: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
92 | LOG_ERROR("Linear Interpolation Failed: length mismatch");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:183:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
183 | LOG_WARN("AYS_SCHEDULER not designed for SD2.X models");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:186:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
186 | LOG_INFO("AYS_SCHEDULER using SD1.5 noise levels");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:189:61: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
189 | LOG_INFO("AYS_SCHEDULER using SDXL noise levels");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:192:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
192 | LOG_INFO("AYS_SCHEDULER using SVD noise levels");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:195:76: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
195 | LOG_ERROR("Version not compatible with AYS_SCHEDULER scheduler");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:579:62: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
579 | LOG_INFO("get_sigmas with discrete scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:583:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
583 | LOG_INFO("get_sigmas with Karras scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:587:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
587 | LOG_INFO("get_sigmas exponential scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:591:70: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
591 | LOG_INFO("get_sigmas with Align-Your-Steps scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:595:58: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
595 | LOG_INFO("get_sigmas with GITS scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:599:65: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
599 | LOG_INFO("get_sigmas with SGM Uniform scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:603:60: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
603 | LOG_INFO("get_sigmas with Simple scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:607:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
607 | LOG_INFO("get_sigmas with SmoothStep scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:611:66: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
611 | LOG_INFO("get_sigmas with bong_tangent scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:615:64: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
615 | LOG_INFO("get_sigmas with KL Optimal scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:619:57: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
619 | LOG_INFO("get_sigmas with LCM scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:623:58: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
623 | LOG_INFO("get_sigmas with LTX2 scheduler");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:627:72: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
627 | LOG_INFO("get_sigmas with discrete scheduler (default)");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:1726:15: warning: unused variable 'alpha_prod_t' [-Wunused-variable]
1726 | float alpha_prod_t = 1.0f / (sigma * sigma + 1.0f);
| ^~~~~~~~~~~~
sd/sample-cache.cpp:46:81: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
46 | LOG_WARN("EasyCache requested but not supported for this model type");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:58:85: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
58 | LOG_WARN("EasyCache requested but could not be initialized for this run");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:75:97: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
75 | LOG_WARN("UCache requested but not supported for this model type (only UNET models)");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:90:82: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
90 | LOG_WARN("UCache requested but could not be initialized for this run");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:110:98: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
110 | LOG_WARN("CacheDIT requested but not supported for this model type (only DiT models)");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:134:84: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
134 | LOG_WARN("CacheDIT requested but could not be initialized for this run");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:153:107: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
153 | LOG_WARN("Spectrum requested but not supported for this model type (only UNET and DiT models)");
| ^
sd/util.h:104:9: note: macro 'LOG_WARN' defined here
104 | #define LOG_WARN(format, ...) log_printf(SD_LOG_WARN, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:309:70: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
309 | LOG_INFO("EasyCache completed without skipping steps");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:328:67: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
328 | LOG_INFO("UCache completed without skipping steps");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/sample-cache.cpp:347:69: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
347 | LOG_INFO("CacheDIT completed without skipping steps");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
In file included from sd/cache_dit.hpp:11:
In file included from sd/condition_cache_utils.hpp:6:
In file included from sd/tensor.hpp:9:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:985:8: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
985 | delete __p;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Linear, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
3987 | blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
In file included from sd/cache_dit.hpp:11:
In file included from sd/condition_cache_utils.hpp:6:
In file included from sd/tensor.hpp:9:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:53:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:487:9: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
487 | { delete _M_ptr; }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:482:7: note: in instantiation of member function 'std::_Sp_counted_ptr<Linear *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
482 | _Sp_counted_ptr(_Ptr __p) noexcept
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:981:20: note: in instantiation of member function 'std::_Sp_counted_ptr<Linear *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
981 | _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:992:4: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
992 | : __shared_count(__p)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1555:17: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<Linear *>' requested here
1555 | : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:213:25: note: in instantiation of function template specialization 'std::__shared_ptr<GGMLBlock>::__shared_ptr<Linear, void>' requested here
213 | shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
| ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
3987 | blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
| ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:4:
In file included from /usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/vector:66:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<DiscreteScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<DiscreteScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<DiscreteScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<DiscreteScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<DiscreteScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<DiscreteScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<DiscreteScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:580:34: note: in instantiation of function template specialization 'std::make_shared<DiscreteScheduler>' requested here
580 | scheduler = std::make_shared<DiscreteScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<KarrasScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<KarrasScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<KarrasScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<KarrasScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<KarrasScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<KarrasScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<KarrasScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:584:34: note: in instantiation of function template specialization 'std::make_shared<KarrasScheduler>' requested here
584 | scheduler = std::make_shared<KarrasScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<ExponentialScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ExponentialScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ExponentialScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ExponentialScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ExponentialScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ExponentialScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<ExponentialScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:588:34: note: in instantiation of function template specialization 'std::make_shared<ExponentialScheduler>' requested here
588 | scheduler = std::make_shared<ExponentialScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<AYSScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<AYSScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<AYSScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<AYSScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<SDVersion &>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<AYSScheduler, std::allocator<void>, SDVersion &>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<AYSScheduler>::__shared_ptr<std::allocator<void>, SDVersion &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<AYSScheduler>::shared_ptr<std::allocator<void>, SDVersion &>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:592:34: note: in instantiation of function template specialization 'std::make_shared<AYSScheduler, SDVersion &>' requested here
592 | scheduler = std::make_shared<AYSScheduler>(version);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<GITSScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<GITSScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<GITSScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<GITSScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<GITSScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<GITSScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<GITSScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:596:34: note: in instantiation of function template specialization 'std::make_shared<GITSScheduler>' requested here
596 | scheduler = std::make_shared<GITSScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<SGMUniformScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<SGMUniformScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<SGMUniformScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<SGMUniformScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SGMUniformScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<SGMUniformScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<SGMUniformScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:600:34: note: in instantiation of function template specialization 'std::make_shared<SGMUniformScheduler>' requested here
600 | scheduler = std::make_shared<SGMUniformScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<SimpleScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<SimpleScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<SimpleScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<SimpleScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SimpleScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<SimpleScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<SimpleScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:604:34: note: in instantiation of function template specialization 'std::make_shared<SimpleScheduler>' requested here
604 | scheduler = std::make_shared<SimpleScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<SmoothStepScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<SmoothStepScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<SmoothStepScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<SmoothStepScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<SmoothStepScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<SmoothStepScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<SmoothStepScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:608:34: note: in instantiation of function template specialization 'std::make_shared<SmoothStepScheduler>' requested here
608 | scheduler = std::make_shared<SmoothStepScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'BongTangentScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<BongTangentScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<BongTangentScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<BongTangentScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<BongTangentScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<BongTangentScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<BongTangentScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<BongTangentScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:612:34: note: in instantiation of function template specialization 'std::make_shared<BongTangentScheduler>' requested here
612 | scheduler = std::make_shared<BongTangentScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<KLOptimalScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<KLOptimalScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<KLOptimalScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<KLOptimalScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<KLOptimalScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<KLOptimalScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<KLOptimalScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:616:34: note: in instantiation of function template specialization 'std::make_shared<KLOptimalScheduler>' requested here
616 | scheduler = std::make_shared<KLOptimalScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/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/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LCMScheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LCMScheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LCMScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LCMScheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LCMScheduler, std::allocator<void>>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LCMScheduler>::__shared_ptr<std::allocator<void>>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LCMScheduler>::shared_ptr<std::allocator<void>>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:620:34: note: in instantiation of function template specialization 'std::make_shared<LCMScheduler>' requested here
620 | scheduler = std::make_shared<LCMScheduler>();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:7: warning: destructor called on non-final 'LTX2Scheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:859:9: note: in instantiation of function template specialization 'std::_Destroy<LTX2Scheduler>' requested here
859 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:682:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<LTX2Scheduler>' requested here
682 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:665:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<LTX2Scheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
665 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1037:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<LTX2Scheduler, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<int &, const char *&>' requested here
1037 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr_base.h:1812:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<LTX2Scheduler, std::allocator<void>, int &, const char *&>' requested here
1812 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<LTX2Scheduler>::__shared_ptr<std::allocator<void>, int &, const char *&>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/shared_ptr.h:1065:14: note: in instantiation of function template specialization 'std::shared_ptr<LTX2Scheduler>::shared_ptr<std::allocator<void>, int &, const char *&>' requested here
1065 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
sd/denoiser.hpp:624:34: note: in instantiation of function template specialization 'std::make_shared<LTX2Scheduler, int &, const char *&>' requested here
624 | scheduler = std::make_shared<LTX2Scheduler>(image_seq_len, extra_sample_args);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
52 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/convert.cpp -o sd/convert.o
sd/convert.cpp:54:47: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
54 | LOG_ERROR("ggml_new_tensor failed");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/convert.cpp:80:33: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
80 | LOG_INFO("load tensors done");
| ^
sd/util.h:103:9: note: macro 'LOG_INFO' defined here
103 | #define LOG_INFO(format, ...) log_printf(SD_LOG_INFO, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
sd/convert.cpp:119:51: warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted]
119 | LOG_ERROR("ggml_init failed for converter");
| ^
sd/util.h:105:9: note: macro 'LOG_ERROR' defined here
105 | #define LOG_ERROR(format, ...) log_printf(SD_LOG_ERROR, __FILE__, __LINE__, format __VA_OPT__(,) __VA_ARGS__)
| ^
3 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DGGML_USE_OPENMP -DSD2R_HAVE_META_BACKEND=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c sd/thirdparty/zip.c -o sd/thirdparty/zip.o
clang++-22 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o sd2R.so RcppExports.o sd2R_interface.o sd/stable-diffusion.o sd/model.o sd/model_io/gguf_io.o sd/model_io/pickle_io.o sd/model_io/safetensors_io.o sd/model_io/torch_legacy_io.o sd/model_io/torch_zip_io.o sd/name_conversion.o sd/tokenizers/bpe_tokenizer.o sd/tokenizers/clip_tokenizer.o sd/tokenizers/gemma_tokenizer.o sd/tokenizers/gpt_oss_tokenizer.o sd/tokenizers/mistral_tokenizer.o sd/tokenizers/qwen2_tokenizer.o sd/tokenizers/t5_unigram_tokenizer.o sd/tokenizers/tokenizer.o sd/tokenizers/tokenize_util.o sd/tokenizers/vocab/vocab.o sd/upscaler.o sd/util.o sd/version.o sd/ggml_extend_backend.o sd/ggml_graph_cut.o sd/layer_registry.o sd/guidance.o sd/sample-cache.o sd/convert.o sd/thirdparty/zip.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ggmlR/lib -lggml -fopenmp -lpthread -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp098cZE/R.INSTALL2282a72688ba87/sd2R/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp098cZE/R.INSTALL2282a72688ba87/sd2R/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp098cZE/R.INSTALL2282a72688ba87/sd2R/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-sd2R/00new/sd2R/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 (sd2R)