* 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 7.28M 0 0 100 2.50M 100 2.50M 0 0 7.28M 0 0 100 2.50M 100 2.50M 0 0 7.28M 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 8.64M 0 0 100 6.93M 100 6.93M 0 0 8.64M 0 0 100 6.93M 100 6.93M 0 0 8.64M 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 59.06M 0 0 100 43.61M 100 43.61M 0 0 59.04M 0 0 100 43.61M 100 43.61M 0 0 59.01M 0 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 23.67M 0 0 100 7.97M 100 7.97M 0 0 23.67M 0 0 100 7.97M 100 7.97M 0 0 23.66M 0 0 * qwen_merges.hpp: downloaded successfully * ggmlR lib: /data/localhost/ripley/R/test-clang/ggmlR/lib * ggmlR include: /data/localhost/ripley/R/test-clang/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: ggml_extend_backend.h patched: common_dit.hpp patched: ltx_latent_upscaler.hpp patched: qwen_image.hpp patched: sd2r_meta_backend.hpp patched: ernie_image.hpp patched: preprocessing.hpp patched: pmid.hpp patched: ltx_vae.hpp patched: unet.hpp patched: ltx_audio_vae.h patched: ucache.hpp patched: layer_registry.cpp patched: sample-cache.cpp patched: anima.hpp patched: cache_dit.hpp patched: tensor.hpp patched: lora.hpp patched: ggml_graph_cut.cpp patched: tensor_ggml.hpp patched: util.h patched: guidance.h patched: clip.hpp patched: control.hpp patched: vae.hpp patched: latent-preview.h patched: rope.hpp patched: condition_cache_utils.hpp patched: sample-cache.h patched: ltxv.hpp patched: mmdit.hpp patched: esrgan.hpp patched: common_block.hpp patched: version.cpp patched: rng.hpp patched: upscaler.cpp patched: ordered_map.hpp patched: convert.cpp patched: layer_registry.h patched: flux.hpp patched: stable-diffusion.h patched: guidance.cpp patched: ggml_extend_backend.cpp patched: model.h patched: easycache.hpp patched: pid.hpp patched: ggml_graph_cut.h patched: name_conversion.h patched: rng_mt19937.hpp patched: denoiser.hpp patched: name_conversion.cpp patched: z_image.hpp patched: conditioner.hpp patched: hidream_o1.hpp patched: stable-diffusion.cpp patched: lens.hpp patched: wan.hpp patched: auto_encoder_kl.hpp patched: rng_philox.hpp patched: tae.hpp patched: upscaler.h patched: diffusion_model.hpp patched: spectrum.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: ‘clang version 23.1.1’ using C++17 make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/sd2R/src' /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c RcppExports.cpp -o RcppExports.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd2R_interface.cpp -o sd2R_interface.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/stable-diffusion.cpp -o sd/stable-diffusion.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(params["model_path"]).c_str(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^ /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/model.cpp -o sd/model.o 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& weights = std::get<1>(tokens_and_weights); | ^~~~~~~ sd/llm.hpp:1980:37: warning: unused variable 'weights' [-Wunused-variable] 1980 | std::vector& weights = std::get<1>(tokens_and_weights); | ^~~~~~~ sd/llm.hpp:2005:37: warning: unused variable 'weights' [-Wunused-variable] 2005 | std::vector& weights = std::get<1>(tokens_and_weights); | ^~~~~~~ sd/llm.hpp:2030:37: warning: unused variable 'weights' [-Wunused-variable] 2030 | std::vector& 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& 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& 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__) | ^ 1 warning generated. 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__) | ^ /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/model_io/gguf_io.cpp -o sd/model_io/gguf_io.o 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__) | ^ 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__) | ^ 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 failedsd/model.cpp":)1226;: 50 :| ^ warning: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wvariadic-macro-arguments-omitted] sd/util.h:105:9 :1226 | note: macro 'LOG_ERROR' defined here 105 | L#OdGe_fEiRnReO RL(O"Gl_oEaRdR OtRe(nfsoorrmsa tf,r o.m. .f)i lleo gf_apirliendt"f)(;S D _| L ^O G_ERsd/util.hR:O105R:,9 :_ _note: Fmacro 'LOG_ERROR' defined hereI LE__ ,105 | _#_dLeIfNiEn_e_ ,L OfGo_rEmRaRtO R_(_fVoAr_mOaPtT,_ _.(.,.)) _l_oVgA__pArRiGnSt_f_()S D _| L ^O G_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 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/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__) | ^ 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__) | ^ 2 warnings generated. In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 3987 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:22:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 22 | blocks["conv"] = std::shared_ptr(new Conv2d(channels, out_channels, {3, 3}, {2, 2}, {0, 0})); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Conv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:85:20: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 85 | return std::shared_ptr(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:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'GroupNorm32' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:107:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 107 | blocks["in_layers.0"] = std::shared_ptr(new GroupNorm32(channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'GELU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:243:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 243 | blocks["net.0"] = std::shared_ptr(new GELU(dim, inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'GEGLU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:245:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 245 | blocks["net.0"] = std::shared_ptr(new GEGLU(dim, inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:356:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 356 | blocks["attn1"] = std::shared_ptr(new CrossAttention(dim, dim, n_head, d_head)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:358:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 358 | blocks["ff"] = std::shared_ptr(new FeedForward(dim, dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:359:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 359 | blocks["norm1"] = std::shared_ptr(new LayerNorm(dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Conv2d, std::allocator, long &, long &, std::pair>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, std::pair, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/common_block.hpp:426:43: note: in instantiation of function template specialization 'std::make_shared, 0>' requested here 426 | blocks["proj_in"] = std::make_shared(in_channels, inner_dim, std::pair{1, 1}); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Linear, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/common_block.hpp:430:43: note: in instantiation of function template specialization 'std::make_shared' requested here 430 | blocks["proj_in"] = std::make_shared(in_channels, inner_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'BasicTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:460:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 460 | blocks[name] = std::shared_ptr(new BasicTransformerBlock(inner_dim, n_head, d_head, context_dim, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:565:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 565 | blocks["time_stack"] = std::shared_ptr(new ResBlock(out_channels, emb_channels, out_channels, kernel_size, 3, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'AlphaBlender' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/common_block.hpp:566:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 566 | blocks["time_mixer"] = std::shared_ptr(new AlphaBlender()); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/flux.hpp:63:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 63 | blocks["query_norm"] = std::shared_ptr(new RMSNorm(dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Flux::QKNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/flux.hpp:98:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 98 | blocks["norm"] = std::shared_ptr(new QKNorm(head_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/flux.hpp:272:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 272 | blocks["img_mod"] = std::shared_ptr(new Modulation(hidden_size, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Flux::SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/flux.hpp:275:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 275 | blocks["img_attn"] = std::shared_ptr(new SelfAttention(hidden_size, num_heads, qkv_bias, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Flux::YakMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/flux.hpp:279:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 279 | blocks["img_mlp"] = std::shared_ptr(new YakMLP(hidden_size, mlp_hidden_dim, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Flux::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/flux.hpp:281:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 281 | blocks["img_mlp"] = std::shared_ptr(new MLP(hidden_size, mlp_hidden_dim, use_mlp_silu_act, mlp_proj_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/flux.hpp:586:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 586 | blocks["layers." + std::to_string(i)] = std::shared_ptr(new MLPEmbedder(inner_size, inner_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::RMSNorm, std::allocator, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:638:46: note: in instantiation of function template specialization 'std::make_shared' requested here 638 | blocks["norm"] = std::make_shared(hidden_size_x); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::ChromaApproximator' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::ChromaApproximator, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:783:59: note: in instantiation of function template specialization 'std::make_shared' requested here 783 | blocks["distilled_guidance_layer"] = std::make_shared(params.in_dim, params.hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::MLPEmbedder, std::allocator, int, long &, bool>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int, long &, bool, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:785:42: note: in instantiation of function template specialization 'std::make_shared' requested here 785 | blocks["time_in"] = std::make_shared(256, params.hidden_size, !params.disable_bias); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::DoubleStreamBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::DoubleStreamBlock, std::allocator, long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:799:69: note: in instantiation of function template specialization 'std::make_shared' requested here 799 | blocks["double_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::SingleStreamBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::SingleStreamBlock, std::allocator, long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:812:69: note: in instantiation of function template specialization 'std::make_shared' requested here 812 | blocks["single_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::NerfEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::NerfEmbedder, std::allocator, long &, long &, int &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, int &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:825:54: note: in instantiation of function template specialization 'std::make_shared' requested here 825 | blocks["nerf_image_embedder"] = std::make_shared(params.in_channels, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::NerfGLUBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::NerfGLUBlock, std::allocator, long &, long &, int &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, int &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:830:71: note: in instantiation of function template specialization 'std::make_shared' requested here 830 | blocks["nerf_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::NerfFinalLayerConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::NerfFinalLayerConv, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:835:56: note: in instantiation of function template specialization 'std::make_shared' requested here 835 | blocks["nerf_final_layer_conv"] = std::make_shared(params.chroma_radiance_params.nerf_hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::LastLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::LastLayer, std::allocator, long &, int, long &, bool &, bool>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int, long &, bool &, bool, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:839:46: note: in instantiation of function template specialization 'std::make_shared' requested here 839 | blocks["final_layer"] = std::make_shared(params.hidden_size, 1, params.out_channels, params.is_chroma, !params.disable_bias); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux::Modulation, std::allocator, long &, bool, bool>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, bool, bool, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/flux.hpp:843:63: note: in instantiation of function template specialization 'std::make_shared' requested here 843 | blocks["double_stream_modulation_img"] = std::make_shared(params.hidden_size, true, !params.disable_bias); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LayerNorm, std::allocator, long &, float, bool, bool>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, float, bool, bool, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:61:35: note: in instantiation of function template specialization 'std::make_shared' requested here 61 | blocks["norm"] = std::make_shared(in_features, 1e-6f, false, false); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, RMSNorm, std::allocator, long &, float>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, float, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:151:48: note: in instantiation of function template specialization 'std::make_shared' requested here 151 | blocks["q_norm"] = std::make_shared(head_dim, 1e-6f); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::AnimaAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::AnimaAttention, std::allocator, long &, long &, long &, long &, const char (&)[7]>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, long &, const char (&)[7], 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:264:46: note: in instantiation of function template specialization 'std::make_shared' requested here 264 | blocks["self_attn"] = std::make_shared(model_dim, model_dim, num_heads, head_dim, "o_proj"); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::AdapterMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::AdapterMLP, std::allocator, long &, long>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:268:46: note: in instantiation of function template specialization 'std::make_shared' requested here 268 | blocks["mlp"] = std::make_shared(model_dim, model_dim * 4); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Embedding, std::allocator, int, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:312:36: note: in instantiation of function template specialization 'std::make_shared' requested here 312 | blocks["embed"] = std::make_shared(32128, target_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::LLMAdapterBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::LLMAdapterBlock, std::allocator, long &, long &, int &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, int &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:315:26: note: in instantiation of function template specialization 'std::make_shared' requested here 315 | std::make_shared(model_dim, source_dim, num_heads, head_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::AdaLayerNormZero' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::AdaLayerNormZero, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:356:58: note: in instantiation of function template specialization 'std::make_shared' requested here 356 | blocks["adaln_modulation_self_attn"] = std::make_shared(hidden_size, adaln_lora_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::AnimaMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::AnimaMLP, std::allocator, long &, long>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:361:58: note: in instantiation of function template specialization 'std::make_shared' requested here 361 | blocks["mlp"] = std::make_shared(hidden_size, hidden_size * mlp_ratio); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::AdaLayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::AdaLayerNorm, std::allocator, long &, int>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:402:47: note: in instantiation of function template specialization 'std::make_shared' requested here 402 | blocks["adaln_modulation"] = std::make_shared(hidden_size, 256); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::XEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::XEmbedder, std::allocator, long, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:436:47: note: in instantiation of function template specialization 'std::make_shared' requested here 436 | blocks["x_embedder"] = std::make_shared((in_channels + 1) * patch_size * patch_size, hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::TimestepEmbedder, std::allocator, long &, long>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:437:47: note: in instantiation of function template specialization 'std::make_shared' requested here 437 | blocks["t_embedder"] = std::make_shared(hidden_size, hidden_size * 3); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::TransformerBlock, std::allocator, long &, long &, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:440:62: note: in instantiation of function template specialization 'std::make_shared' requested here 440 | blocks["blocks." + std::to_string(i)] = std::make_shared(hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::FinalLayer, std::allocator, long &, int &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:445:42: note: in instantiation of function template specialization 'std::make_shared' requested here 445 | blocks["final_layer"] = std::make_shared(hidden_size, patch_size, out_channels); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Anima::LLMAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Anima::LLMAdapter, std::allocator, int, int, int, int, int>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int, int, int, int, int, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/anima.hpp:446:42: note: in instantiation of function template specialization 'std::make_shared' requested here 446 | blocks["llm_adapter"] = std::make_shared(1024, 1024, 1024, 6, 16); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'ResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/auto_encoder_kl.hpp:303:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 303 | blocks[name] = std::shared_ptr(new ResnetBlock(block_in, block_out)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'DownSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/auto_encoder_kl.hpp:308:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 308 | blocks[name] = std::shared_ptr(new DownSampleBlock(block_in, block_in, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'AttnBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/auto_encoder_kl.hpp:313:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 313 | blocks["mid.attn_1"] = std::shared_ptr(new AttnBlock(block_in, use_linear_projection)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'AE3DConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/auto_encoder_kl.hpp:383:20: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 383 | return std::shared_ptr(new AE3DConv(in_channels, out_channels, kernel_size, video_kernel_size, stride, padding)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'VideoResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/auto_encoder_kl.hpp:392:20: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 392 | return std::shared_ptr(new VideoResnetBlock(in_channels, out_channels, video_kernel_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'UpSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/auto_encoder_kl.hpp:434:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 434 | blocks[name] = std::shared_ptr(new UpSampleBlock(block_in, block_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/auto_encoder_kl.hpp:557:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 557 | blocks["decoder"] = std::shared_ptr(new Decoder(decoder_ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/auto_encoder_kl.hpp:570:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 570 | blocks["encoder"] = std::shared_ptr(new Encoder(dd_config.ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'MultiheadAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/clip.hpp:58:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 58 | blocks["self_attn"] = std::shared_ptr(new MultiheadAttention(d_model, n_head, true, true, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'CLIPMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/clip.hpp:63:25: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 63 | blocks["mlp"] = std::shared_ptr(new CLIPMLP(d_model, intermediate_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'CLIPLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/clip.hpp:92:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 92 | blocks[name] = std::shared_ptr(new CLIPLayer(d_model, n_head, intermediate_size, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'CLIPEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/clip.hpp:288:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 288 | blocks["embeddings"] = std::shared_ptr(new CLIPEmbeddings(hidden_size, vocab_size, n_token, force_clip_f32)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'CLIPEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/clip.hpp:289:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 289 | blocks["encoder"] = std::shared_ptr(new CLIPEncoder(n_layer, hidden_size, n_head, intermediate_size, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'CLIPVisionEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/clip.hpp:358:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 358 | blocks["embeddings"] = std::shared_ptr(new CLIPVisionEmbeddings(hidden_size, num_channels, patch_size, image_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'CLIPVisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/clip.hpp:443:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 443 | blocks["vision_model"] = std::shared_ptr(new CLIPVisionModel(version, proj_in)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'CLIPProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/clip.hpp:444:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 444 | blocks["visual_projection"] = std::shared_ptr(new CLIPProjection(hidden_size, projection_dim, transpose_proj_w)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::VisionAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:627:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 627 | blocks["attn"] = std::shared_ptr(new VisionAttention(llama_cpp_style, hidden_size, num_heads)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::VisionMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:628:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 628 | blocks["mlp"] = std::shared_ptr(new VisionMLP(arch_, hidden_size, intermediate_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:633:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 633 | blocks["norm1"] = std::shared_ptr(new RMSNorm(hidden_size, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::VisionPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:677:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 677 | blocks["patch_embed"] = std::shared_ptr(new VisionPatchEmbed(llama_cpp_style, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::VisionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:687:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 687 | blocks["blocks." + std::to_string(i)] = std::shared_ptr(new VisionBlock(llama_cpp_style, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::VisionPatchMerger' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:694:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 694 | blocks["merger"] = std::shared_ptr(new VisionPatchMerger(arch_, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LLM::LLMRMSNorm, std::allocator, int &, const float &, const bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, const float &, const bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/llm.hpp:802:41: note: in instantiation of function template specialization 'std::make_shared' requested here 802 | blocks["q_norm"] = std::make_shared(head_dim, params.rms_norm_eps, params.rms_norm_add); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LLM::Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LLM::Attention, std::allocator, const LLM::LLMParams &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const LLM::LLMParams &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/llm.hpp:1010:40: note: in instantiation of function template specialization 'std::make_shared' requested here 1010 | blocks["self_attn"] = std::make_shared(params); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LLM::GPTOSSMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LLM::GPTOSSMLP, std::allocator, const LLM::LLMParams &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const LLM::LLMParams &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/llm.hpp:1012:38: note: in instantiation of function template specialization 'std::make_shared' requested here 1012 | blocks["mlp"] = std::make_shared(params); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LLM::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LLM::MLP, std::allocator, const long &, const long &, bool, const LLM::MLPActivation &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const long &, const long &, bool, const LLM::MLPActivation &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/llm.hpp:1014:38: note: in instantiation of function template specialization 'std::make_shared' requested here 1014 | blocks["mlp"] = std::make_shared(params.hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:1090:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1090 | blocks["embed_tokens"] = std::shared_ptr(new Embedding(params.vocab_size, params.hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:1092:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1092 | blocks["layers." + std::to_string(i)] = std::shared_ptr(new TransformerBlock(params, i)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:1094:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1094 | blocks["norm"] = std::shared_ptr(new LLMRMSNorm(params.hidden_size, params.rms_norm_eps, params.rms_norm_add)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:1191:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1191 | blocks["model"] = std::shared_ptr(new TextModel(params)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/llm.hpp:1193:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1193 | blocks["visual"] = std::shared_ptr(new VisionModel(llama_cpp_style, params.vision)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'T5DenseGatedActDense' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/t5.hpp:87:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 87 | blocks["DenseReluDense"] = std::shared_ptr(new T5DenseGatedActDense(model_dim, ff_dim)); | ^ 4 warnings generated. In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'T5LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/t5.hpp:88:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 88 | blocks["layer_norm"] = std::shared_ptr(new T5LayerNorm(model_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'T5Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/t5.hpp:185:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 185 | blocks["SelfAttention"] = std::shared_ptr(new T5Attention(model_dim, inner_dim, num_heads, using_relative_attention_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'T5LayerSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/t5.hpp:211:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 211 | blocks["layer.0"] = std::shared_ptr(new T5LayerSelfAttention(model_dim, inner_dim, ff_dim, num_heads, using_relative_attention_bias)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'T5LayerFF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/t5.hpp:212:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 212 | blocks["layer.1"] = std::shared_ptr(new T5LayerFF(model_dim, ff_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'T5Block' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/t5.hpp:244:52: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 244 | blocks["block." + std::to_string(i)] = std::shared_ptr(new T5Block(model_dim, inner_dim, ff_dim, num_heads, (!relative_attention || i == 0))); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'T5Stack' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/t5.hpp:291:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 291 | blocks["encoder"] = std::shared_ptr(new T5Stack(params.num_layers, | ^ /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/model_io/pickle_io.cpp -o sd/model_io/pickle_io.o In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'SpatialTransformer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/control.hpp:127:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 127 | blocks[name] = std::shared_ptr(get_attention_layer(ch, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'DiscreteScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, DiscreteScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:580:34: note: in instantiation of function template specialization 'std::make_shared' requested here 580 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'KarrasScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, KarrasScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:584:34: note: in instantiation of function template specialization 'std::make_shared' requested here 584 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ExponentialScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ExponentialScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:588:34: note: in instantiation of function template specialization 'std::make_shared' requested here 588 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'AYSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, AYSScheduler, std::allocator, SDVersion &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, SDVersion &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:592:34: note: in instantiation of function template specialization 'std::make_shared' requested here 592 | scheduler = std::make_shared(version); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'GITSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, GITSScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:596:34: note: in instantiation of function template specialization 'std::make_shared' requested here 596 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'SGMUniformScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, SGMUniformScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:600:34: note: in instantiation of function template specialization 'std::make_shared' requested here 600 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'SimpleScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, SimpleScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:604:34: note: in instantiation of function template specialization 'std::make_shared' requested here 604 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'SmoothStepScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, SmoothStepScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:608:34: note: in instantiation of function template specialization 'std::make_shared' requested here 608 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'BongTangentScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, BongTangentScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:612:34: note: in instantiation of function template specialization 'std::make_shared' requested here 612 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'KLOptimalScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, KLOptimalScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:616:34: note: in instantiation of function template specialization 'std::make_shared' requested here 616 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LCMScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LCMScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:620:34: note: in instantiation of function template specialization 'std::make_shared' requested here 620 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTX2Scheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTX2Scheduler, std::allocator, int &, const char *&>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, const char *&, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:624:34: note: in instantiation of function template specialization 'std::make_shared' requested here 624 | scheduler = std::make_shared(image_seq_len, extra_sample_args); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/qwen_image.hpp:50:43: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 50 | blocks["timestep_embedder"] = std::shared_ptr(new TimestepEmbedding(256, embedding_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Qwen::QwenImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/qwen_image.hpp:219:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 219 | blocks["attn"] = std::shared_ptr(new QwenImageAttention(dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Qwen::QwenTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/qwen_image.hpp:376:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 376 | blocks["time_text_embed"] = std::shared_ptr(new QwenTimestepProjEmbeddings(inner_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Qwen::QwenImageTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/qwen_image.hpp:383:69: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 383 | auto block = std::shared_ptr(new QwenImageTransformerBlock(inner_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Qwen::AdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/qwen_image.hpp:391:34: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 391 | blocks["norm_out"] = std::shared_ptr(new AdaLayerNormContinuous(inner_dim, inner_dim, false, 1e-6f)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ErnieImage::ErnieImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ErnieImage::ErnieImageAttention, std::allocator, long &, long &, long, float &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long, float &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ernie_image.hpp:150:45: note: in instantiation of function template specialization 'std::make_shared' requested here 150 | blocks["self_attention"] = std::make_shared(hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ErnieImage::ErnieImageFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ErnieImage::ErnieImageFeedForward, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ernie_image.hpp:155:45: note: in instantiation of function template specialization 'std::make_shared' requested here 155 | blocks["mlp"] = std::make_shared(hidden_size, ffn_hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Qwen::TimestepEmbedding, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ernie_image.hpp:243:49: note: in instantiation of function template specialization 'std::make_shared' requested here 243 | blocks["time_embedding"] = std::make_shared(params.hidden_size, params.hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ErnieImage::ErnieImageSharedAdaLNBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ErnieImage::ErnieImageSharedAdaLNBlock, std::allocator, long &, long &, long &, float &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, float &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ernie_image.hpp:247:62: note: in instantiation of function template specialization 'std::make_shared' requested here 247 | blocks["layers." + std::to_string(i)] = std::make_shared(params.hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ErnieImage::ErnieImageAdaLNContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ErnieImage::ErnieImageAdaLNContinuous, std::allocator, long &, float &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, float &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ernie_image.hpp:253:43: note: in instantiation of function template specialization 'std::make_shared' requested here 253 | blocks["final_norm"] = std::make_shared(params.hidden_size, params.eps); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 62 | blocks["rdb1"] = std::shared_ptr(new ResidualDenseBlock(num_feat, num_grow_ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 99 | blocks[name] = std::shared_ptr(new RRDB(num_feat, num_grow_ch)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'RRDBNet' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ sd/esrgan.hpp:163:5: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 163 | ESRGAN(ggml_backend_t backend, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LLM::TextModel, std::allocator, LLM::LLMParams &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, LLM::LLMParams &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/hidream_o1.hpp:245:45: note: in instantiation of function template specialization 'std::make_shared' requested here 245 | blocks["language_model"] = std::make_shared(this->params.llm); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'HiDreamO1::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, HiDreamO1::TimestepEmbedder, std::allocator, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/hidream_o1.hpp:246:45: note: in instantiation of function template specialization 'std::make_shared' requested here 246 | blocks["t_embedder1"] = std::make_shared(this->params.llm.hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'HiDreamO1::BottleneckPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, HiDreamO1::BottleneckPatchEmbed, std::allocator, int, long, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int, long, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/hidream_o1.hpp:247:45: note: in instantiation of function template specialization 'std::make_shared' requested here 247 | blocks["x_embedder"] = std::make_shared(this->params.patch_size * this->params.patch_size * 3, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'HiDreamO1::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, HiDreamO1::FinalLayer, std::allocator, long &, int>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/hidream_o1.hpp:250:45: note: in instantiation of function template specialization 'std::make_shared' requested here 250 | blocks["final_layer2"] = std::make_shared(this->params.llm.hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LLM::VisionModel, std::allocator, bool, LLM::LLMVisionParams &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, bool, LLM::LLMVisionParams &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/hidream_o1.hpp:288:26: note: in instantiation of function template specialization 'std::make_shared' requested here 288 | model(std::make_shared(false, params.llm.vision)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Lens::LensGateMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Lens::LensGateMLP, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/lens.hpp:145:43: note: in instantiation of function template specialization 'std::make_shared' requested here 145 | blocks["img_mlp"] = std::make_shared(dim, mlp_hidden_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Lens::LensJointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Lens::LensJointAttention, std::allocator, long &, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/lens.hpp:147:43: note: in instantiation of function template specialization 'std::make_shared' requested here 147 | blocks["attn"] = std::make_shared(dim, attention_head_dim, num_attention_heads); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Lens::LensTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Lens::LensTimestepProjEmbeddings, std::allocator, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/lens.hpp:234:46: note: in instantiation of function template specialization 'std::make_shared' requested here 234 | blocks["time_text_embed"] = std::make_shared(inner_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Lens::LensTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Lens::LensTransformerBlock, std::allocator, long &, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/lens.hpp:241:74: note: in instantiation of function template specialization 'std::make_shared' requested here 241 | blocks["transformer_blocks." + std::to_string(i)] = std::make_shared(inner_dim, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Lens::LensAdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Lens::LensAdaLayerNormContinuous, std::allocator, long &, float>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, float, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/lens.hpp:245:39: note: in instantiation of function template specialization 'std::make_shared' requested here 245 | blocks["norm_out"] = std::make_shared(inner_dim, 1e-6f); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::HeightCausalConv2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::HeightCausalConv2D, std::allocator, long &, long &, std::pair>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, std::pair, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:461:35: note: in instantiation of function template specialization 'std::make_shared, 0>' requested here 461 | blocks["conv"] = std::make_shared(channels, channels, std::pair{3, 3}); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::PixelNorm2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::PixelNorm2D, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:478:36: note: in instantiation of function template specialization 'std::make_shared' requested here 478 | blocks["norm1"] = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::SnakeBeta1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::SnakeBeta1D, std::allocator, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:641:34: note: in instantiation of function template specialization 'std::make_shared' requested here 641 | blocks["act"] = std::make_shared(channels); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::Activation1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::Activation1D, std::allocator, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:682:62: note: in instantiation of function template specialization 'std::make_shared' requested here 682 | blocks["acts1." + std::to_string(i)] = std::make_shared(channels); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::Conv1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::Conv1D, std::allocator, long &, long &, int &, int, int, const int &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, int &, int, int, const int &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:684:62: note: in instantiation of function template specialization 'std::make_shared' requested here 684 | blocks["convs1." + std::to_string(i)] = std::make_shared(channels, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::ConvTranspose1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::ConvTranspose1D, std::allocator, int &, int &, const int &, const int &, int>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, int &, const int &, const int &, int, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:745:59: note: in instantiation of function template specialization 'std::make_shared' requested here 745 | blocks["ups." + std::to_string(i)] = std::make_shared(current_channels, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::AMPBlock1' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace &>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::AMPBlock1, std::allocator, int &, const int &, const std::vector &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, const int &, const std::vector &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:751:82: note: in instantiation of function template specialization 'std::make_shared &, 0>' requested here 751 | blocks["resblocks." + std::to_string(resblock_index)] = std::make_shared(next_channels, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::AudioResnetBlock2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::AudioResnetBlock2D, std::allocator, int &, int &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, int &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:816:42: note: in instantiation of function template specialization 'std::make_shared' requested here 816 | blocks["mid.block_1"] = std::make_shared(block_in, block_in); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::AudioUpsample2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::AudioUpsample2D, std::allocator, int &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:827:80: note: in instantiation of function template specialization 'std::make_shared' requested here 827 | blocks["up." + std::to_string(level) + ".upsample"] = std::make_shared(block_in); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::AudioDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::AudioDecoder, std::allocator, const LTXV::LTXAudioVAEConfig &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const LTXV::LTXAudioVAEConfig &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:908:48: note: in instantiation of function template specialization 'std::make_shared' requested here 908 | blocks["audio_vae.decoder"] = std::make_shared(config); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::Vocoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::Vocoder, std::allocator, const LTXV::LTXAudioVAEConfig &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const LTXV::LTXAudioVAEConfig &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_audio_vae.h:909:48: note: in instantiation of function template specialization 'std::make_shared' requested here 909 | blocks["vocoder.vocoder"] = std::make_shared(config); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LTXVUpsampler::VideoGroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ltx_latent_upscaler.hpp:172:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 172 | blocks["norm1"] = std::shared_ptr(new VideoGroupNorm(32, channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LTXVUpsampler::PixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ltx_latent_upscaler.hpp:310:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 310 | blocks["pixel_shuffle"] = std::shared_ptr(new PixelShuffleND(num)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LTXVUpsampler::BlurDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ltx_latent_upscaler.hpp:311:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 311 | blocks["blur_down"] = std::shared_ptr(new BlurDownsample(mid_channels, den)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LTXVUpsampler::ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ltx_latent_upscaler.hpp:349:61: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 349 | blocks["res_blocks." + std::to_string(i)] = std::shared_ptr(new ResBlock(this->config.mid_channels, this->config.dims)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LTXVUpsampler::SpatialRationalResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ltx_latent_upscaler.hpp:352:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 352 | blocks["upsampler"] = std::shared_ptr(new SpatialRationalResampler(this->config.mid_channels, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LTXVUpsampler::TemporalPixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ltx_latent_upscaler.hpp:361:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 361 | blocks["upsampler.1"] = std::shared_ptr(new TemporalPixelShuffleND(this->config.temporal_up_factor)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'LTXVUpsampler::LatentUpsampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ sd/ltx_latent_upscaler.hpp:442:9: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 442 | LatentUpsamplerRunner(ggml_backend_t backend, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::TimestepEmbedder, std::allocator, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:382:52: note: in instantiation of function template specialization 'std::make_shared' requested here 382 | blocks["emb.timestep_embedder"] = std::make_shared(embedding_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::CrossAttention, std::allocator, long &, long &, long &, long &, bool &, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, long &, bool &, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:553:36: note: in instantiation of function template specialization 'std::make_shared' requested here 553 | blocks["attn1"] = std::make_shared(dim, dim, n_heads, d_head, self_attention_gated, rope_interleaved); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, FeedForward, std::allocator, long &, long &, int, FeedForward::Activation>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, int, FeedForward::Activation, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:555:36: note: in instantiation of function template specialization 'std::make_shared' requested here 555 | blocks["ff"] = std::make_shared(dim, dim, 4, FeedForward::Activation::GELU); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::BasicTransformerBlock1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::BasicTransformerBlock1D, std::allocator, long &, long &, long &, bool &, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, bool &, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:703:26: note: in instantiation of function template specialization 'std::make_shared' requested here 703 | std::make_shared(hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::AdaLayerNormSingle' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::AdaLayerNormSingle, std::allocator, long &, int>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:1191:50: note: in instantiation of function template specialization 'std::make_shared' requested here 1191 | blocks["adaln_single"] = std::make_shared(cfg.hidden_size, cfg.cross_attention_adaln ? 9 : 6); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::NormSingleLinearTextProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::NormSingleLinearTextProjection, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:1205:61: note: in instantiation of function template specialization 'std::make_shared' requested here 1205 | blocks["caption_projection"] = std::make_shared(cfg.caption_channels, cfg.hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::PixArtAlphaTextProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::PixArtAlphaTextProjection, std::allocator, long &, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:1208:57: note: in instantiation of function template specialization 'std::make_shared' requested here 1208 | blocks["caption_projection"] = std::make_shared(cfg.caption_channels, cfg.hidden_size, cfg.hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::Embeddings1DConnector' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::Embeddings1DConnector, std::allocator, long &, long &, long &, long &, long &, bool &, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, long &, long &, bool &, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:1222:61: note: in instantiation of function template specialization 'std::make_shared' requested here 1222 | blocks["video_embeddings_connector"] = std::make_shared(cfg.connector_hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXV::BasicAVTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXV::BasicAVTransformerBlock, std::allocator, long &, long &, long &, long &, long &, long &, long &, long &, bool, bool &, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, long &, long &, long &, long &, long &, bool, bool &, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltxv.hpp:1241:74: note: in instantiation of function template specialization 'std::make_shared' requested here 1241 | blocks["transformer_blocks." + std::to_string(i)] = std::make_shared(cfg.hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:139:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 139 | blocks["time_conv"] = std::shared_ptr(new CausalConv3d(dim, dim * 2, {3, 1, 1}, {1, 1, 1}, {1, 0, 0})); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::RMS_norm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:348:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 348 | blocks["residual.0"] = std::shared_ptr(new RMS_norm(in_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:420:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 420 | blocks["avg_shortcut"] = std::shared_ptr(new AvgDown3D(in_dim, out_dim, temperal_downsample ? 2 : 1, down_flag ? 2 : 1)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:424:62: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 424 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr(new ResidualBlock(in_dim, out_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::Resample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:429:62: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 429 | blocks["downsamples." + std::to_string(i)] = std::shared_ptr(new Resample(out_dim, mode, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::DupUp3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:481:42: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 481 | blocks["avg_shortcut"] = std::shared_ptr(new DupUp3D(in_dim, out_dim, temperal_upsample ? 2 : 1, up_flag ? 2 : 1)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::Down_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:632:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 632 | auto block = std::shared_ptr(new Down_ResidualBlock(in_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::AttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:655:34: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 655 | blocks["middle.1"] = std::shared_ptr(new AttentionBlock(out_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::Up_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:801:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 801 | auto block = std::shared_ptr(new Up_ResidualBlock(in_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::Encoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:969:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 969 | blocks["encoder"] = std::shared_ptr(new Encoder3d(dim, z_dim * 2, dim_mult, num_res_blocks, temperal_downsample, wan2_2)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::Decoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:972:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 972 | blocks["decoder"] = std::shared_ptr(new Decoder3d(dec_dim, z_dim, dim_mult, num_res_blocks, temperal_upsample, wan2_2)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Identity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:1384:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1384 | blocks["norm_q"] = std::shared_ptr(new Identity()); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::WanSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:1586:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1586 | blocks["self_attn"] = std::shared_ptr(new WanSelfAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::WanT2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:1593:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1593 | blocks["cross_attn"] = std::shared_ptr(new WanT2VCrossAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::WanI2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:1595:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1595 | blocks["cross_attn"] = std::shared_ptr(new WanI2VCrossAttention(dim, num_heads, qk_norm, eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::WanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:1853:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1853 | auto block = std::shared_ptr(new WanAttentionBlock(params.model_type == "t2v", | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::Head' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:1864:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1864 | blocks["head"] = std::shared_ptr(new Head(params.dim, params.out_dim, params.patch_size, params.eps)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::MLPProj' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:1868:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1868 | blocks["img_emb"] = std::shared_ptr(new MLPProj(1280, params.dim, params.flf_pos_embed_token_number)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WAN::VaceWanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/wan.hpp:1874:66: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 1874 | auto block = std::shared_ptr(new VaceWanAttentionBlock(params.model_type == "t2v", | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::PixelNorm3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::PixelNorm3D, std::allocator, float &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, float &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:243:36: note: in instantiation of function template specialization 'std::make_shared' requested here 243 | blocks["norm1"] = std::make_shared(eps); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::CausalConv3d, std::allocator, long &, long &, int>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, int, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:244:36: note: in instantiation of function template specialization 'std::make_shared' requested here 244 | blocks["conv1"] = std::make_shared(channels, channels, 3); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, std::allocator, long>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:350:48: note: in instantiation of function template specialization 'std::make_shared' requested here 350 | blocks["time_embedder"] = std::make_shared(channels * 4); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::ResnetBlock3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::ResnetBlock3D, std::allocator, long &, float, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, float, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:353:66: note: in instantiation of function template specialization 'std::make_shared' requested here 353 | blocks["res_blocks." + std::to_string(i)] = std::make_shared(channels, 1e-6f, timestep_conditioning); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, WAN::AvgDown3D, std::allocator, long &, long &, int &, int &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, int &, int &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:503:46: note: in instantiation of function template specialization 'std::make_shared' requested here 503 | blocks["skip_downsample"] = std::make_shared(in_channels, out_channels, factor_t, factor_s); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::UNetMidBlock3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::UNetMidBlock3D, std::allocator, long &, const int &, bool>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, const int &, bool, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:800:79: note: in instantiation of function template specialization 'std::make_shared' requested here 800 | blocks["down_blocks." + std::to_string(block_idx)] = std::make_shared(channels, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::SpaceToDepthDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::SpaceToDepthDownsample, std::allocator, long &, long &, int, int>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, int, int, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:805:79: note: in instantiation of function template specialization 'std::make_shared' requested here 805 | blocks["down_blocks." + std::to_string(block_idx)] = std::make_shared(channels, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::DepthToSpaceUpsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::DepthToSpaceUpsample, std::allocator, long &, int, int, const int &, bool>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int, int, const int &, bool, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:917:77: note: in instantiation of function template specialization 'std::make_shared' requested here 917 | blocks["up_blocks." + std::to_string(block_idx)] = std::make_shared(channels, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace &, const std::string &, int &>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::Encoder, std::allocator, int &, const OrderedMap &, const std::string &, int &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, const OrderedMap &, const std::string &, int &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:1071:42: note: in instantiation of function template specialization 'std::make_shared &, const std::string &, int &, 0>' requested here 1071 | blocks["encoder"] = std::make_shared(version, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace &, const std::string &, int &, bool, bool &>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::Decoder, std::allocator, int &, const OrderedMap &, const std::string &, int &, bool, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, const OrderedMap &, const std::string &, int &, bool, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:1076:53: note: in instantiation of function template specialization 'std::make_shared &, const std::string &, int &, bool, bool &, 0>' requested here 1076 | blocks["decoder"] = std::make_shared(version, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTXVAE::PerChannelStatistics' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTXVAE::PerChannelStatistics, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/ltx_vae.hpp:1082:53: note: in instantiation of function template specialization 'std::make_shared' requested here 1082 | blocks["per_channel_statistics"] = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/mmdit.hpp:255:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 255 | blocks["attn"] = std::shared_ptr(new SelfAttention(hidden_size, num_heads, qk_norm, qkv_bias, pre_only)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/mmdit.hpp:264:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 264 | blocks["mlp"] = std::shared_ptr(new Mlp(hidden_size, mlp_hidden_dim)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'DismantledBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/mmdit.hpp:563:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 563 | blocks["context_block"] = std::shared_ptr(new DismantledBlock(hidden_size, num_heads, mlp_ratio, qk_norm, qkv_bias, pre_only, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'PatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/mmdit.hpp:687:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 687 | blocks["x_embedder"] = std::shared_ptr(new PatchEmbed(input_size, patch_size, in_channels, hidden_size, true)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/mmdit.hpp:688:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 688 | blocks["t_embedder"] = std::shared_ptr(new TimestepEmbedder(hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'VectorEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/mmdit.hpp:691:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 691 | blocks["y_embedder"] = std::shared_ptr(new VectorEmbedder(adm_in_channels, hidden_size)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'JointBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/mmdit.hpp:697:59: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 697 | blocks["joint_blocks." + std::to_string(i)] = std::shared_ptr(new JointBlock(hidden_size, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/mmdit.hpp:706:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 706 | blocks["final_layer"] = std::shared_ptr(new FinalLayer(hidden_size, patch_size, out_channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::MMDiTJointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::MMDiTJointAttention, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:277:53: note: in instantiation of function template specialization 'std::make_shared' requested here 277 | blocks["attn"] = std::make_shared(hidden_size, groups); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::FeedForward, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:280:53: note: in instantiation of function template specialization 'std::make_shared' requested here 280 | blocks["mlp_x"] = std::make_shared(hidden_size, mlp_hidden_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::RotaryAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::RotaryAttention, std::allocator, long &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:373:49: note: in instantiation of function template specialization 'std::make_shared' requested here 373 | blocks["attn"] = std::make_shared(attn_dim, num_heads); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Mlp, std::allocator, long &, long>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:375:49: note: in instantiation of function template specialization 'std::make_shared' requested here 375 | blocks["mlp"] = std::make_shared(pixel_dim, pixel_dim * 4); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, GroupNorm, std::allocator, int, long &, float>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int, long &, float, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:449:38: note: in instantiation of function template specialization 'std::make_shared' requested here 449 | blocks["block.0"] = std::make_shared(4, channels, 1e-5f); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::PiDResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::PiDResBlock, std::allocator, const long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:476:71: note: in instantiation of function template specialization 'std::make_shared' requested here 476 | blocks["latent_proj." + std::to_string(3 + i)] = std::make_shared(params_cfg.lq_hidden_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::SigmaAwareGate' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::SigmaAwareGate, std::allocator, const long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:482:68: note: in instantiation of function template specialization 'std::make_shared' requested here 482 | blocks["gate_modules." + std::to_string(i)] = std::make_shared(params_cfg.hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::PixelTokenEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::PixelTokenEmbedder, std::allocator, const long &, const long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const long &, const long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:554:45: note: in instantiation of function template specialization 'std::make_shared' requested here 554 | blocks["pixel_embedder"] = std::make_shared(params_cfg.in_channels, params_cfg.pixel_hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::PatchTokenEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::PatchTokenEmbedder, std::allocator, long, const long &, bool, bool>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long, const long &, bool, bool, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:555:45: note: in instantiation of function template specialization 'std::make_shared' requested here 555 | blocks["s_embedder"] = std::make_shared(params_cfg.in_channels * params_cfg.patch_size * params_cfg.patch_size, params_cfg.hidden_size, false, true); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::PixelDiTTimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::PixelDiTTimestepEmbedder, std::allocator, const long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:556:45: note: in instantiation of function template specialization 'std::make_shared' requested here 556 | blocks["t_embedder"] = std::make_shared(params_cfg.hidden_size); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::MMDiTBlockT2I' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::MMDiTBlockT2I, std::allocator, const long &, const long &, const long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const long &, const long &, const long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:559:68: note: in instantiation of function template specialization 'std::make_shared' requested here 559 | blocks["patch_blocks." + std::to_string(i)] = std::make_shared(params_cfg.hidden_size, params_cfg.num_groups, params_cfg.patch_mlp_hidden_dim); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::PiTBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::PiTBlock, std::allocator, const long &, const long &, const long &, const long &, const long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const long &, const long &, const long &, const long &, const long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:562:68: note: in instantiation of function template specialization 'std::make_shared' requested here 562 | blocks["pixel_blocks." + std::to_string(i)] = std::make_shared(params_cfg.pixel_hidden_size, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::FinalLayer, std::allocator, const long &, const long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const long &, const long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:568:42: note: in instantiation of function template specialization 'std::make_shared' requested here 568 | blocks["final_layer"] = std::make_shared(params_cfg.pixel_hidden_size, params_cfg.in_channels); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Pid::LQProjection2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Pid::LQProjection2D, std::allocator, const Pid::PixelDiTParams &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, const Pid::PixelDiTParams &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/pid.hpp:569:42: note: in instantiation of function template specialization 'std::make_shared' requested here 569 | blocks["lq_proj"] = std::make_shared(params_cfg); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'PerceiverAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/pmid.hpp:173:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 173 | blocks[name] = std::shared_ptr(new PerceiverAttention(dim, dim_head, heads)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'PMFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/pmid.hpp:175:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 175 | blocks[name] = std::shared_ptr(new PMFeedForward(dim, ff_mult)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'FacePerceiverResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/pmid.hpp:218:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 218 | blocks["perceiver_resampler"] = std::shared_ptr(new FacePerceiverResampler( | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'FuseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/pmid.hpp:254:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 254 | blocks["mlp1"] = std::shared_ptr(new FuseBlock(imb_d * 2, imb_d, imb_d, false)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'FuseModule' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/pmid.hpp:317:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 317 | blocks["fuse_module"] = std::shared_ptr(new FuseModule(2048)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'QFormerPerceiver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/pmid.hpp:363:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 363 | blocks["qformer_perceiver"] = std::shared_ptr(new QFormerPerceiver(id_embeddings_dim, | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:33:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 33 | blocks["pool.1"] = std::shared_ptr(new GroupNorm(4, n_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'TAEBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:89:43: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 89 | blocks[std::to_string(index++)] = std::shared_ptr(new TAEBlock(channels, channels)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Conv2d_grouped' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:270:28: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 270 | blocks["conv.2"] = std::shared_ptr(new Conv2d_grouped(out_channels, out_channels, groups, {3, 3}, {1, 1}, {1, 1})); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'TPool' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:383:47: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 383 | blocks[std::to_string(index++)] = std::shared_ptr(new TPool(hidden, stride)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'MemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:386:51: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 386 | blocks[std::to_string(index++)] = std::shared_ptr(new MemBlock(hidden, hidden)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'WideMemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:454:55: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 454 | blocks[std::to_string(index++)] = std::shared_ptr(new WideMemBlock(channels[i], channels[i])); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'TGrow' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:460:47: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 460 | blocks[std::to_string(index++)] = std::shared_ptr(new TGrow(channels[i], stride)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'TinyVideoDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:537:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 537 | blocks["decoder"] = std::shared_ptr(new TinyVideoDecoder(z_channels, patch, time_upscale, is_wide)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'TinyVideoEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:539:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 539 | blocks["encoder"] = std::shared_ptr(new TinyVideoEncoder(z_channels, patch, time_downscale)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'TinyDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:596:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 596 | blocks["decoder.layers"] = std::shared_ptr(new TinyDecoder(z_channels, use_midblock_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'TinyEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/tae.hpp:599:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 599 | blocks["encoder.layers"] = std::shared_ptr(new TinyEncoder(z_channels, use_midblock_gn)); | ^ In file included from sd/stable-diffusion.cpp:1: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/unique_temporary_buffer.h:17: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ZImage::JointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ZImage::JointAttention, std::allocator, long &, long &, long &, long &, bool &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, long &, bool &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/z_image.hpp:170:46: note: in instantiation of function template specialization 'std::make_shared' requested here 170 | blocks["attention"] = std::make_shared(hidden_size, head_dim, num_heads, num_kv_heads, qk_norm); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ZImage::FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ZImage::FeedForward, std::allocator, long &, long &, long &, float &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, long &, long &, float &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/z_image.hpp:171:46: note: in instantiation of function template specialization 'std::make_shared' requested here 171 | blocks["feed_forward"] = std::make_shared(hidden_size, hidden_size, multiple_of, ffn_dim_multiplier); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, TimestepEmbedder, std::allocator, long, int, int>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long, int, int, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/z_image.hpp:300:45: note: in instantiation of function template specialization 'std::make_shared' requested here 300 | blocks["t_embedder"] = std::make_shared(MIN(z_image_params.hidden_size, 1024), 256, 256); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ZImage::JointTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ZImage::JointTransformerBlock, std::allocator, int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, long &, long &, long &, long &, long &, float &, float &, bool &, bool, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/z_image.hpp:305:35: note: in instantiation of function template specialization 'std::make_shared' requested here 305 | auto block = std::make_shared(i, | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ZImage::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ZImage::FinalLayer, std::allocator, long &, int &, long &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, long &, int &, long &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/z_image.hpp:349:42: note: in instantiation of function template specialization 'std::make_shared' requested here 349 | blocks["final_layer"] = std::make_shared(z_image_params.hidden_size, z_image_params.patch_size, z_image_params.out_channels); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'STDDefaultRNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, STDDefaultRNG, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:251:25: note: in instantiation of function template specialization 'std::make_shared' requested here 251 | return std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'MT19937RNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, MT19937RNG, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:253:25: note: in instantiation of function template specialization 'std::make_shared' requested here 253 | return std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'PhiloxRNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, PhiloxRNG, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:255:25: note: in instantiation of function template specialization 'std::make_shared' requested here 255 | return std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'CompVisVDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, CompVisVDenoiser, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:1296:37: note: in instantiation of function template specialization 'std::make_shared' requested here 1296 | denoiser = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'EDMVDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, EDMVDenoiser, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:1300:37: note: in instantiation of function template specialization 'std::make_shared' requested here 1300 | denoiser = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'FluxFlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, FluxFlowDenoiser, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:1305:41: note: in instantiation of function template specialization 'std::make_shared' requested here 1305 | denoiser = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'DiscreteFlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, DiscreteFlowDenoiser, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:1308:41: note: in instantiation of function template specialization 'std::make_shared' requested here 1308 | denoiser = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'Flux2FlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, Flux2FlowDenoiser, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:1319:37: note: in instantiation of function template specialization 'std::make_shared' requested here 1319 | denoiser = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'MultiLoraAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace> &>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, MultiLoraAdapter, std::allocator, std::vector> &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, std::vector> &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:1499:48: note: in instantiation of function template specialization 'std::make_shared> &, 0>' requested here 1499 | auto multi_lora_adapter = std::make_shared(cond_stage_lora_models); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'CompVisDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, CompVisDenoiser, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/stable-diffusion.cpp:205:47: note: in instantiation of function template specialization 'std::make_shared' requested here 205 | std::shared_ptr denoiser = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_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) { | ^~~~~~~~~~~~~~~~~~~~ /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/model_io/safetensors_io.cpp -o sd/model_io/safetensors_io.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/model_io/torch_legacy_io.cpp -o sd/model_io/torch_legacy_io.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/model_io/torch_zip_io.cpp -o sd/model_io/torch_zip_io.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/name_conversion.cpp -o sd/name_conversion.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/bpe_tokenizer.cpp -o sd/tokenizers/bpe_tokenizer.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/clip_tokenizer.cpp -o sd/tokenizers/clip_tokenizer.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/gemma_tokenizer.cpp -o sd/tokenizers/gemma_tokenizer.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/gpt_oss_tokenizer.cpp -o sd/tokenizers/gpt_oss_tokenizer.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/mistral_tokenizer.cpp -o sd/tokenizers/mistral_tokenizer.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/qwen2_tokenizer.cpp -o sd/tokenizers/qwen2_tokenizer.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/t5_unigram_tokenizer.cpp -o sd/tokenizers/t5_unigram_tokenizer.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/tokenizer.cpp -o sd/tokenizers/tokenizer.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/tokenize_util.cpp -o sd/tokenizers/tokenize_util.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__) | ^ 480 warnings generated. /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/tokenizers/vocab/vocab.cpp -o sd/tokenizers/vocab/vocab.o 1 warning generated. /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/upscaler.cpp -o sd/upscaler.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/util.cpp -o sd/util.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:7: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 3987 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/upscaler.h:4: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:7: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/esrgan.hpp:23:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 23 | blocks["conv1"] = std::shared_ptr(new Conv2d(num_feat, num_grow_ch, {3, 3}, {1, 1}, {1, 1})); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/upscaler.h:4: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:7: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 62 | blocks["rdb1"] = std::shared_ptr(new ResidualDenseBlock(num_feat, num_grow_ch)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/upscaler.h:4: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:7: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 99 | blocks[name] = std::shared_ptr(new RRDB(num_feat, num_grow_ch)); | ^ In file included from sd/upscaler.cpp:1: In file included from sd/upscaler.h:4: In file included from sd/esrgan.hpp:4: In file included from sd/ggml_extend.hpp:7: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'RRDBNet' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ sd/esrgan.hpp:163:5: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 163 | ESRGAN(ggml_backend_t backend, | ^ 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/local/clang23/bin/../include/c++/v1/memory:955: In file included from /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:37: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 3987 | blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); | ^ 16 warnings generated. 8 warnings generated. /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/version.cpp -o sd/version.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -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. /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/ggml_graph_cut.cpp -o sd/ggml_graph_cut.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/layer_registry.cpp -o sd/layer_registry.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(); | ^~~~~~~~~~~~~~~ 4 warnings generated. /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/guidance.cpp -o sd/guidance.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -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__) | ^ /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 -c sd/convert.cpp -o sd/convert.o In file included from sd/sample-cache.cpp:1: In file included from sd/sample-cache.h:4: In file included from /usr/local/clang23/bin/../include/c++/v1/vector:352: In file included from /usr/local/clang23/bin/../include/c++/v1/array:598: In file included from /usr/local/clang23/bin/../include/c++/v1/algorithm:1918: In file included from /usr/local/clang23/bin/../include/c++/v1/__algorithm/inplace_merge.h:27: /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:74:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 74 | delete __ptr; | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:264:7: note: in instantiation of member function 'std::default_delete::operator()' requested here 264 | __deleter_(__tmp); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/unique_ptr.h:229:71: note: in instantiation of member function 'std::unique_ptr::reset' requested here 229 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:300:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 300 | unique_ptr<_Yp> __hold(__p); | ^ sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 3987 | blocks[in_proj_name] = std::shared_ptr(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/local/clang23/bin/../include/c++/v1/vector:314: In file included from /usr/local/clang23/bin/../include/c++/v1/__vector/vector.h:36: /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'DiscreteScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, DiscreteScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:580:34: note: in instantiation of function template specialization 'std::make_shared' requested here 580 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'KarrasScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, KarrasScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:584:34: note: in instantiation of function template specialization 'std::make_shared' requested here 584 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'ExponentialScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, ExponentialScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:588:34: note: in instantiation of function template specialization 'std::make_shared' requested here 588 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'AYSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, AYSScheduler, std::allocator, SDVersion &>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, SDVersion &, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:592:34: note: in instantiation of function template specialization 'std::make_shared' requested here 592 | scheduler = std::make_shared(version); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'GITSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, GITSScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:596:34: note: in instantiation of function template specialization 'std::make_shared' requested here 596 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'SGMUniformScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, SGMUniformScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:600:34: note: in instantiation of function template specialization 'std::make_shared' requested here 600 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'SimpleScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, SimpleScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:604:34: note: in instantiation of function template specialization 'std::make_shared' requested here 604 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'SmoothStepScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, SmoothStepScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:608:34: note: in instantiation of function template specialization 'std::make_shared' requested here 608 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'BongTangentScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, BongTangentScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:612:34: note: in instantiation of function template specialization 'std::make_shared' requested here 612 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'KLOptimalScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, KLOptimalScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:616:34: note: in instantiation of function template specialization 'std::make_shared' requested here 616 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LCMScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace<>' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LCMScheduler, std::allocator>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:620:34: note: in instantiation of function template specialization 'std::make_shared' requested here 620 | scheduler = std::make_shared(); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:81: warning: destructor called on non-final 'LTX2Scheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator_traits.h:368:9: note: in instantiation of member function 'std::allocator::destroy' requested here 368 | __a.destroy(__p); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:143:31: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 143 | allocator_traits<_Alloc>::destroy(__alloc_, __get_elem()); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:135:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 135 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __alloc_(std::move(__a)) { | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:653:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here 653 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__alloc, std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:663:15: note: in instantiation of function template specialization 'std::__allocate_shared_impl>, LTX2Scheduler, std::allocator, int &, const char *&>' requested here 663 | return std::__allocate_shared_impl<_ControlBlock, _Tp>(_CanonicalAlloc(__a), std::forward<_Args>(__args)...); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/shared_ptr.h:668:15: note: in instantiation of function template specialization 'std::allocate_shared, int &, const char *&, 0>' requested here 668 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); | ^ sd/denoiser.hpp:624:34: note: in instantiation of function template specialization 'std::make_shared' requested here 624 | scheduler = std::make_shared(image_seq_len, extra_sample_args); | ^ /usr/local/clang23/bin/../include/c++/v1/__memory/allocator.h:144:87: note: qualify call to silence this warning 144 | _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); } | ^ 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__) | ^ 51 warnings generated. 3 warnings generated. /usr/local/clang23/bin/clang-23 -std=gnu23 -I"/data/localhost/ripley/R/R-clang/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'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/ggmlR/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c sd/thirdparty/zip.c -o sd/thirdparty/zip.o /usr/local/clang23/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang23/lib -L/usr/local/clang23/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -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/data/localhost/ripley/R/test-clang/ggmlR/lib -lggml -fopenmp -lpthread -lm make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/sd2R/src' make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/sd2R/src' make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/sd2R/src' installing to /data/localhost/ripley/R/packages/tests-clang/sd2R.Rcheck/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)