* 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:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 2561k 100 2561k 0 0 1346k 0 0:00:01 0:00:01 --:--:-- 1346k * 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 65 7105k 65 4639k 0 0 3055k 0 0:00:02 0:00:01 0:00:01 3055k 100 7105k 100 7105k 0 0 4578k 0 0:00:01 0:00:01 --:--:-- 72.9M * 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 22 43.6M 22 9951k 0 0 8480k 0 0:00:05 0:00:01 0:00:04 8480k 92 43.6M 92 40.4M 0 0 18.0M 0 0:00:02 0:00:02 --:--:-- 28.8M 100 43.6M 100 43.6M 0 0 19.2M 0 0:00:02 0:00:02 --:--:-- 30.9M * 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 100 8163k 100 8163k 0 0 7062k 0 0:00:01 0:00:01 --:--:-- 21.0M * qwen_merges.hpp: downloaded successfully * ggmlR lib: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/lib * ggmlR include: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include * OpenMP: not available * 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: auto_encoder_kl.hpp patched: cache_dit.hpp patched: ordered_map.hpp patched: tensor.hpp patched: ltxv.hpp patched: ggml_extend_backend.h patched: rng_philox.hpp patched: lens.hpp patched: guidance.h patched: denoiser.hpp patched: convert.cpp patched: z_image.hpp patched: version.cpp patched: diffusion_model.hpp patched: common_dit.hpp patched: vae.hpp patched: sample-cache.h patched: tae.hpp patched: hidream_o1.hpp patched: control.hpp patched: common_block.hpp patched: ggml_extend_backend.cpp patched: layer_registry.h patched: lora.hpp patched: ltx_latent_upscaler.hpp patched: esrgan.hpp patched: sd2r_meta_backend.hpp patched: ggml_graph_cut.h patched: clip.hpp patched: condition_cache_utils.hpp patched: unet.hpp patched: rng.hpp patched: spectrum.hpp patched: stable-diffusion.h patched: preprocessing.hpp patched: upscaler.cpp patched: name_conversion.cpp patched: qwen_image.hpp patched: util.h patched: sample-cache.cpp patched: mmdit.hpp patched: ggml_graph_cut.cpp patched: model.h patched: easycache.hpp patched: conditioner.hpp patched: name_conversion.h patched: rope.hpp patched: wan.hpp patched: ernie_image.hpp patched: anima.hpp patched: layer_registry.cpp patched: tensor_ggml.hpp patched: rng_mt19937.hpp patched: upscaler.h patched: ltx_vae.hpp patched: pid.hpp patched: ltx_audio_vae.h patched: latent-preview.h patched: guidance.cpp patched: ucache.hpp patched: flux.hpp patched: stable-diffusion.cpp patched: pmid.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: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using C++17 using SDK: ‘MacOSX11.3.1.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd2R_interface.cpp -o sd2R_interface.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/stable-diffusion.cpp -o sd/stable-diffusion.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/model.cpp -o sd/model.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/model_io/gguf_io.cpp -o sd/model_io/gguf_io.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/model_io/pickle_io.cpp -o sd/model_io/pickle_io.o 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] int32_t nelements = 1; ^ sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable] 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] int64_t n_context = context->ne[1]; ^ sd/common_block.hpp:319:17: warning: unused variable 'inner_dim' [-Wunused-variable] int64_t inner_dim = d_head * n_head; ^ sd/common_block.hpp:569:18: warning: 'VideoResBlock::forward' hides overloaded virtual function [-Woverloaded-virtual] 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) virtual ggml_tensor* forward(GGMLRunnerContext* ctx, ggml_tensor* x, ggml_tensor* emb = nullptr) { ^ 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] size_t N = input_ids->ne[1]; ^ sd/clip.hpp:509:16: warning: unused variable 'n_token' [-Wunused-variable] size_t n_token = input_ids->ne[0]; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/model_io/safetensors_io.cpp -o sd/model_io/safetensors_io.o 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] int64_t n_token = x->ne[1]; ^ sd/llm.hpp:575:21: warning: unused variable 'N' [-Wunused-variable] int64_t N = x->ne[2]; ^ sd/llm.hpp:1748:21: warning: unused variable 'llm_grid_h' [-Wunused-variable] 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] int64_t llm_grid_w = grid_w / params.vision.spatial_merge_size; ^ sd/llm.hpp:1936:37: warning: unused variable 'weights' [-Wunused-variable] std::vector& weights = std::get<1>(tokens_and_weights); ^ sd/llm.hpp:1980:37: warning: unused variable 'weights' [-Wunused-variable] std::vector& weights = std::get<1>(tokens_and_weights); ^ sd/llm.hpp:2005:37: warning: unused variable 'weights' [-Wunused-variable] std::vector& weights = std::get<1>(tokens_and_weights); ^ sd/llm.hpp:2030:37: warning: unused variable 'weights' [-Wunused-variable] 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] size_t N = input_ids->ne[1]; ^ sd/t5.hpp:350:16: warning: unused variable 'n_token' [-Wunused-variable] size_t n_token = input_ids->ne[0]; ^ sd/t5.hpp:538:33: warning: unused variable 'weights' [-Wunused-variable] std::vector& weights = std::get<1>(tokens_and_weights); ^ In file included from sd/stable-diffusion.cpp:17: sd/conditioner.hpp:1519:14: warning: unused variable 'on_new_token_cb' [-Wunused-variable] auto on_new_token_cb = [&](std::string& str, std::vector& bpe_tokens) -> bool { ^ In file included from sd/stable-diffusion.cpp:18: sd/control.hpp:268:17: warning: unused variable 'mult' [-Wunused-variable] int mult = channel_mult[i]; ^ In file included from sd/stable-diffusion.cpp:19: sd/denoiser.hpp:1726:15: warning: unused variable 'alpha_prod_t' [-Wunused-variable] 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] int64_t C = x->ne[2]; ^ sd/qwen_image.hpp:457:21: warning: unused variable 'N' [-Wunused-variable] int64_t N = x->ne[3]; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/model_io/torch_legacy_io.cpp -o sd/model_io/torch_legacy_io.o 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] ggml_type model_data_type = GGML_TYPE_F16; ^ sd/wan.hpp:1430:30: warning: 'WAN::WanCrossAttention::forward' hides overloaded virtual function [-Woverloaded-virtual] 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 long')) virtual ggml_tensor* forward(GGMLRunnerContext* ctx, ^ sd/wan.hpp:1451:21: warning: unused variable 'N' [-Wunused-variable] int64_t N = x->ne[2]; ^ sd/wan.hpp:1452:21: warning: unused variable 'n_token' [-Wunused-variable] int64_t n_token = x->ne[1]; ^ sd/wan.hpp:1512:21: warning: unused variable 'n_token' [-Wunused-variable] int64_t n_token = x->ne[1]; ^ sd/wan.hpp:1680:47: warning: 'WAN::VaceWanAttentionBlock::forward' hides overloaded virtual function [-Woverloaded-virtual] 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) virtual ggml_tensor* forward(GGMLRunnerContext* ctx, ^ sd/wan.hpp:2064:21: warning: unused variable 'C' [-Wunused-variable] int64_t C = x->ne[3]; ^ In file included from sd/stable-diffusion.cpp:32: sd/mmdit.hpp:682:17: warning: unused variable 'default_out_channels' [-Wunused-variable] int64_t default_out_channels = in_channels; ^ sd/mmdit.hpp:951:19: warning: unused variable 'model_data_type' [-Wunused-variable] 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] int64_t B = x->ne[3]; ^ 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] int order = n_derivatives + 1; ^ In file included from sd/stable-diffusion.cpp:38: sd/unet.hpp:64:18: warning: 'SpatialVideoTransformer::forward' hides overloaded virtual function [-Woverloaded-virtual] 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) 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] 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] 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] int64_t n_token = x->ne[1]; ^ sd/z_image.hpp:48:21: warning: unused variable 'N' [-Wunused-variable] int64_t N = x->ne[2]; ^ sd/z_image.hpp:442:21: warning: unused variable 'C' [-Wunused-variable] int64_t C = x->ne[2]; ^ sd/z_image.hpp:443:21: warning: unused variable 'N' [-Wunused-variable] int64_t N = x->ne[3]; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/model_io/torch_zip_io.cpp -o sd/model_io/torch_zip_io.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/name_conversion.cpp -o sd/name_conversion.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Conv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'GroupNorm32' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["in_layers.0"] = std::shared_ptr(new GroupNorm32(channels)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'GELU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["net.0"] = std::shared_ptr(new GELU(dim, inner_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'GEGLU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["net.0"] = std::shared_ptr(new GEGLU(dim, inner_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["ff"] = std::shared_ptr(new FeedForward(dim, dim)); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/bpe_tokenizer.cpp -o sd/tokenizers/bpe_tokenizer.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["norm1"] = std::shared_ptr(new LayerNorm(dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/common_block.hpp:426:43: note: in instantiation of function template specialization 'std::make_shared>' requested here blocks["proj_in"] = std::make_shared(in_channels, inner_dim, std::pair{1, 1}); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/common_block.hpp:430:43: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["proj_in"] = std::make_shared(in_channels, inner_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'BasicTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'AlphaBlender' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["time_mixer"] = std::shared_ptr(new AlphaBlender()); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/flux.hpp:63:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["query_norm"] = std::shared_ptr(new RMSNorm(dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Flux::QKNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/flux.hpp:98:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["norm"] = std::shared_ptr(new QKNorm(head_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/flux.hpp:272:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["img_mod"] = std::shared_ptr(new Modulation(hidden_size, true)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Flux::SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/flux.hpp:275:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Flux::YakMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/flux.hpp:279:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Flux::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/flux.hpp:281:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/flux.hpp:586:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:638:46: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["norm"] = std::make_shared(hidden_size_x); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::ChromaApproximator' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:783:59: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["distilled_guidance_layer"] = std::make_shared(params.in_dim, params.hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:785:42: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["time_in"] = std::make_shared(256, params.hidden_size, !params.disable_bias); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::DoubleStreamBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:799:69: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["double_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::SingleStreamBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:812:69: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["single_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::NerfEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:825:54: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["nerf_image_embedder"] = std::make_shared(params.in_channels, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::NerfGLUBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:830:71: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["nerf_blocks." + std::to_string(i)] = std::make_shared(params.hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::NerfFinalLayerConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:835:56: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["nerf_final_layer_conv"] = std::make_shared(params.chroma_radiance_params.nerf_hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::LastLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:839:46: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["final_layer"] = std::make_shared(params.hidden_size, 1, params.out_channels, params.is_chroma, !params.disable_bias); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/flux.hpp:843:63: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["double_stream_modulation_img"] = std::make_shared(params.hidden_size, true, !params.disable_bias); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/clip_tokenizer.cpp -o sd/tokenizers/clip_tokenizer.o /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:61:35: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["norm"] = std::make_shared(in_features, 1e-6f, false, false); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:151:48: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["q_norm"] = std::make_shared(head_dim, 1e-6f); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::AnimaAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:264:46: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["self_attn"] = std::make_shared(model_dim, model_dim, num_heads, head_dim, "o_proj"); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::AdapterMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:268:46: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["mlp"] = std::make_shared(model_dim, model_dim * 4); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:312:36: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["embed"] = std::make_shared(32128, target_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::LLMAdapterBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:315:26: note: in instantiation of function template specialization 'std::make_shared' requested here std::make_shared(model_dim, source_dim, num_heads, head_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::AdaLayerNormZero' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:356:58: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["adaln_modulation_self_attn"] = std::make_shared(hidden_size, adaln_lora_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::AnimaMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:361:58: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["mlp"] = std::make_shared(hidden_size, hidden_size * mlp_ratio); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::AdaLayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:402:47: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["adaln_modulation"] = std::make_shared(hidden_size, 256); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::XEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:436:47: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["x_embedder"] = std::make_shared((in_channels + 1) * patch_size * patch_size, hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:437:47: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["t_embedder"] = std::make_shared(hidden_size, hidden_size * 3); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:440:62: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["blocks." + std::to_string(i)] = std::make_shared(hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:445:42: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["final_layer"] = std::make_shared(hidden_size, patch_size, out_channels); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Anima::LLMAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/anima.hpp:446:42: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["llm_adapter"] = std::make_shared(1024, 1024, 1024, 6, 16); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'ResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks[name] = std::shared_ptr(new ResnetBlock(block_in, block_out)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'DownSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'AttnBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'AE3DConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'VideoResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'UpSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks[name] = std::shared_ptr(new UpSampleBlock(block_in, block_in)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["decoder"] = std::shared_ptr(new Decoder(decoder_ch, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["encoder"] = std::shared_ptr(new Encoder(dd_config.ch, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'MultiheadAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/clip.hpp:58:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CLIPMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/clip.hpp:63:25: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["mlp"] = std::shared_ptr(new CLIPMLP(d_model, intermediate_size)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CLIPLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/clip.hpp:92:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CLIPEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/clip.hpp:288:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CLIPEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/clip.hpp:289:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CLIPVisionEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/clip.hpp:358:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CLIPVisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/clip.hpp:443:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["vision_model"] = std::shared_ptr(new CLIPVisionModel(version, proj_in)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'CLIPProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/clip.hpp:444:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::VisionAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:627:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::VisionMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:628:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:633:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["norm1"] = std::shared_ptr(new RMSNorm(hidden_size, eps)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::VisionPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:677:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["patch_embed"] = std::shared_ptr(new VisionPatchEmbed(llama_cpp_style, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::VisionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:687:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::VisionPatchMerger' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:694:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["merger"] = std::shared_ptr(new VisionPatchMerger(arch_, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/llm.hpp:802:41: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["q_norm"] = std::make_shared(head_dim, params.rms_norm_eps, params.rms_norm_add); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LLM::Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/llm.hpp:1010:40: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["self_attn"] = std::make_shared(params); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LLM::GPTOSSMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/llm.hpp:1012:38: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["mlp"] = std::make_shared(params); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LLM::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/llm.hpp:1014:38: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["mlp"] = std::make_shared(params.hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:1090:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:1092:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:1094:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:1191:31: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["model"] = std::shared_ptr(new TextModel(params)); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/gemma_tokenizer.cpp -o sd/tokenizers/gemma_tokenizer.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/llm.hpp:1193:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'T5DenseGatedActDense' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/t5.hpp:87:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["DenseReluDense"] = std::shared_ptr(new T5DenseGatedActDense(model_dim, ff_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'T5LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/t5.hpp:88:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["layer_norm"] = std::shared_ptr(new T5LayerNorm(model_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'T5Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/t5.hpp:185:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'T5LayerSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/t5.hpp:211:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'T5LayerFF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/t5.hpp:212:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'T5Block' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/t5.hpp:244:52: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'T5Stack' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/t5.hpp:291:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["encoder"] = std::shared_ptr(new T5Stack(params.num_layers, ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/gpt_oss_tokenizer.cpp -o sd/tokenizers/gpt_oss_tokenizer.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/mistral_tokenizer.cpp -o sd/tokenizers/mistral_tokenizer.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/qwen2_tokenizer.cpp -o sd/tokenizers/qwen2_tokenizer.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'SpatialTransformer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/control.hpp:127:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks[name] = std::shared_ptr(get_attention_layer(ch, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'DiscreteScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:580:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'KarrasScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:584:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ExponentialScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:588:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'AYSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:592:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(version); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'GITSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:596:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'SGMUniformScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:600:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'SimpleScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:604:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'SmoothStepScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:608:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'BongTangentScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:612:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'KLOptimalScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:616:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LCMScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:620:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTX2Scheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:624:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(image_seq_len, extra_sample_args); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["timestep_embedder"] = std::shared_ptr(new TimestepEmbedding(256, embedding_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Qwen::QwenImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["attn"] = std::shared_ptr(new QwenImageAttention(dim, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Qwen::QwenTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["time_text_embed"] = std::shared_ptr(new QwenTimestepProjEmbeddings(inner_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Qwen::QwenImageTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 auto block = std::shared_ptr(new QwenImageTransformerBlock(inner_dim, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Qwen::AdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ErnieImage::ErnieImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ernie_image.hpp:150:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["self_attention"] = std::make_shared(hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ErnieImage::ErnieImageFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ernie_image.hpp:155:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["mlp"] = std::make_shared(hidden_size, ffn_hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ernie_image.hpp:243:49: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["time_embedding"] = std::make_shared(params.hidden_size, params.hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ErnieImage::ErnieImageSharedAdaLNBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ernie_image.hpp:247:62: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["layers." + std::to_string(i)] = std::make_shared(params.hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ErnieImage::ErnieImageAdaLNContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ernie_image.hpp:253:43: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["final_norm"] = std::make_shared(params.hidden_size, params.eps); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'RRDBNet' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ sd/esrgan.hpp:163:5: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here ESRGAN(ggml_backend_t backend, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/hidream_o1.hpp:245:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["language_model"] = std::make_shared(this->params.llm); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'HiDreamO1::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/hidream_o1.hpp:246:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["t_embedder1"] = std::make_shared(this->params.llm.hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'HiDreamO1::BottleneckPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/hidream_o1.hpp:247:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["x_embedder"] = std::make_shared(this->params.patch_size * this->params.patch_size * 3, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'HiDreamO1::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/hidream_o1.hpp:250:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["final_layer2"] = std::make_shared(this->params.llm.hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/hidream_o1.hpp:288:26: note: in instantiation of function template specialization 'std::make_shared' requested here model(std::make_shared(false, params.llm.vision)) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Lens::LensGateMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/lens.hpp:145:43: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["img_mlp"] = std::make_shared(dim, mlp_hidden_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Lens::LensJointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/lens.hpp:147:43: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["attn"] = std::make_shared(dim, attention_head_dim, num_attention_heads); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Lens::LensTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/lens.hpp:234:46: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["time_text_embed"] = std::make_shared(inner_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Lens::LensTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/lens.hpp:241:74: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["transformer_blocks." + std::to_string(i)] = std::make_shared(inner_dim, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Lens::LensAdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/lens.hpp:245:39: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["norm_out"] = std::make_shared(inner_dim, 1e-6f); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::HeightCausalConv2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:461:35: note: in instantiation of function template specialization 'std::make_shared>' requested here blocks["conv"] = std::make_shared(channels, channels, std::pair{3, 3}); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::PixelNorm2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:478:36: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["norm1"] = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::SnakeBeta1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:641:34: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["act"] = std::make_shared(channels); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::Activation1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:682:62: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["acts1." + std::to_string(i)] = std::make_shared(channels); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::Conv1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:684:62: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["convs1." + std::to_string(i)] = std::make_shared(channels, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::ConvTranspose1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:745:59: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["ups." + std::to_string(i)] = std::make_shared(current_channels, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::AMPBlock1' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace &>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:751:82: note: in instantiation of function template specialization 'std::make_shared &>' requested here blocks["resblocks." + std::to_string(resblock_index)] = std::make_shared(next_channels, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::AudioResnetBlock2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:816:42: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["mid.block_1"] = std::make_shared(block_in, block_in); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/t5_unigram_tokenizer.cpp -o sd/tokenizers/t5_unigram_tokenizer.o /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::AudioUpsample2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:827:80: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["up." + std::to_string(level) + ".upsample"] = std::make_shared(block_in); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::AudioDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:908:48: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["audio_vae.decoder"] = std::make_shared(config); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::Vocoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_audio_vae.h:909:48: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["vocoder.vocoder"] = std::make_shared(config); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LTXVUpsampler::VideoGroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["norm1"] = std::shared_ptr(new VideoGroupNorm(32, channels)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LTXVUpsampler::PixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["pixel_shuffle"] = std::shared_ptr(new PixelShuffleND(num)); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/tokenizer.cpp -o sd/tokenizers/tokenizer.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LTXVUpsampler::BlurDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["blur_down"] = std::shared_ptr(new BlurDownsample(mid_channels, den)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LTXVUpsampler::ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LTXVUpsampler::SpatialRationalResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks["upsampler"] = std::shared_ptr(new SpatialRationalResampler(this->config.mid_channels, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LTXVUpsampler::TemporalPixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'LTXVUpsampler::LatentUpsampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ sd/ltx_latent_upscaler.hpp:442:9: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here LatentUpsamplerRunner(ggml_backend_t backend, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:382:52: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["emb.timestep_embedder"] = std::make_shared(embedding_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:553:36: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["attn1"] = std::make_shared(dim, dim, n_heads, d_head, self_attention_gated, rope_interleaved); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:555:36: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["ff"] = std::make_shared(dim, dim, 4, FeedForward::Activation::GELU); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::BasicTransformerBlock1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:703:26: note: in instantiation of function template specialization 'std::make_shared' requested here std::make_shared(hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::AdaLayerNormSingle' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:1191:50: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["adaln_single"] = std::make_shared(cfg.hidden_size, cfg.cross_attention_adaln ? 9 : 6); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::NormSingleLinearTextProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:1205:61: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["caption_projection"] = std::make_shared(cfg.caption_channels, cfg.hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::PixArtAlphaTextProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:1208:57: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["caption_projection"] = std::make_shared(cfg.caption_channels, cfg.hidden_size, cfg.hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::Embeddings1DConnector' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:1222:61: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["video_embeddings_connector"] = std::make_shared(cfg.connector_hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXV::BasicAVTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltxv.hpp:1241:74: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["transformer_blocks." + std::to_string(i)] = std::make_shared(cfg.hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:139:39: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::RMS_norm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:348:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["residual.0"] = std::shared_ptr(new RMS_norm(in_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:420:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:424:62: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::Resample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:429:62: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::DupUp3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:481:42: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::Down_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:632:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here auto block = std::shared_ptr(new Down_ResidualBlock(in_dim, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::AttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:655:34: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["middle.1"] = std::shared_ptr(new AttentionBlock(out_dim)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::Up_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:801:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here auto block = std::shared_ptr(new Up_ResidualBlock(in_dim, ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::Encoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:969:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::Decoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:972:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Identity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:1384:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["norm_q"] = std::shared_ptr(new Identity()); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::WanSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:1586:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::WanT2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:1593:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::WanI2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:1595:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::WanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:1853:57: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here auto block = std::shared_ptr(new WanAttentionBlock(params.model_type == "t2v", ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::Head' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:1864:30: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::MLPProj' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:1868:37: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WAN::VaceWanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/wan.hpp:1874:66: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here auto block = std::shared_ptr(new VaceWanAttentionBlock(params.model_type == "t2v", ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::PixelNorm3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:243:36: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["norm1"] = std::make_shared(eps); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:244:36: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["conv1"] = std::make_shared(channels, channels, 3); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:350:48: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["time_embedder"] = std::make_shared(channels * 4); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::ResnetBlock3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:353:66: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["res_blocks." + std::to_string(i)] = std::make_shared(channels, 1e-6f, timestep_conditioning); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:503:46: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["skip_downsample"] = std::make_shared(in_channels, out_channels, factor_t, factor_s); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::UNetMidBlock3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:800:79: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["down_blocks." + std::to_string(block_idx)] = std::make_shared(channels, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::SpaceToDepthDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:805:79: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["down_blocks." + std::to_string(block_idx)] = std::make_shared(channels, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::DepthToSpaceUpsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:917:77: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["up_blocks." + std::to_string(block_idx)] = std::make_shared(channels, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace, TensorStorage> &, const std::basic_string &, int &>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:1071:42: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, const std::basic_string &, int &>' requested here blocks["encoder"] = std::make_shared(version, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace, TensorStorage> &, const std::basic_string &, int &, bool, bool &>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:1076:53: note: in instantiation of function template specialization 'std::make_shared, TensorStorage> &, const std::basic_string &, int &, bool, bool &>' requested here blocks["decoder"] = std::make_shared(version, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTXVAE::PerChannelStatistics' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/ltx_vae.hpp:1082:53: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["per_channel_statistics"] = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/tokenize_util.cpp -o sd/tokenizers/tokenize_util.o /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/mmdit.hpp:255:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/mmdit.hpp:264:38: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'DismantledBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/mmdit.hpp:563:35: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'PatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/mmdit.hpp:687:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/mmdit.hpp:688:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["t_embedder"] = std::shared_ptr(new TimestepEmbedder(hidden_size)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'VectorEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/mmdit.hpp:691:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'JointBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/mmdit.hpp:697:59: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/mmdit.hpp:706:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::MMDiTJointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:277:53: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["attn"] = std::make_shared(hidden_size, groups); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:280:53: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["mlp_x"] = std::make_shared(hidden_size, mlp_hidden_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::RotaryAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:373:49: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["attn"] = std::make_shared(attn_dim, num_heads); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:375:49: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["mlp"] = std::make_shared(pixel_dim, pixel_dim * 4); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:449:38: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["block.0"] = std::make_shared(4, channels, 1e-5f); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::PiDResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:476:71: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["latent_proj." + std::to_string(3 + i)] = std::make_shared(params_cfg.lq_hidden_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::SigmaAwareGate' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:482:68: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["gate_modules." + std::to_string(i)] = std::make_shared(params_cfg.hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::PixelTokenEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:554:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["pixel_embedder"] = std::make_shared(params_cfg.in_channels, params_cfg.pixel_hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::PatchTokenEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:555:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["s_embedder"] = std::make_shared(params_cfg.in_channels * params_cfg.patch_size * params_cfg.patch_size, params_cfg.hidden_size, false, true); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::PixelDiTTimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:556:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["t_embedder"] = std::make_shared(params_cfg.hidden_size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::MMDiTBlockT2I' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:559:68: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["patch_blocks." + std::to_string(i)] = std::make_shared(params_cfg.hidden_size, params_cfg.num_groups, params_cfg.patch_mlp_hidden_dim); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::PiTBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:562:68: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["pixel_blocks." + std::to_string(i)] = std::make_shared(params_cfg.pixel_hidden_size, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:568:42: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["final_layer"] = std::make_shared(params_cfg.pixel_hidden_size, params_cfg.in_channels); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Pid::LQProjection2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/pid.hpp:569:42: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["lq_proj"] = std::make_shared(params_cfg); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'PerceiverAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/pmid.hpp:173:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks[name] = std::shared_ptr(new PerceiverAttention(dim, dim_head, heads)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'PMFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/pmid.hpp:175:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks[name] = std::shared_ptr(new PMFeedForward(dim, ff_mult)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'FacePerceiverResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/pmid.hpp:218:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["perceiver_resampler"] = std::shared_ptr(new FacePerceiverResampler( ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'FuseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/pmid.hpp:254:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'FuseModule' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/pmid.hpp:317:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["fuse_module"] = std::shared_ptr(new FuseModule(2048)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'QFormerPerceiver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/pmid.hpp:363:41: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["qformer_perceiver"] = std::shared_ptr(new QFormerPerceiver(id_embeddings_dim, ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/tokenizers/vocab/vocab.cpp -o sd/tokenizers/vocab/vocab.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/upscaler.cpp -o sd/upscaler.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:33:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["pool.1"] = std::shared_ptr(new GroupNorm(4, n_gn)); ^ In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'TAEBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:89:43: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Conv2d_grouped' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:270:28: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'TPool' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:383:47: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'MemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:386:51: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'WideMemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:454:55: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks[std::to_string(index++)] = std::shared_ptr(new WideMemBlock(channels[i], channels[i])); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/util.cpp -o sd/util.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'TGrow' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:460:47: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'TinyVideoDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:537:29: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'TinyVideoEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:539:33: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'TinyDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:596:36: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'TinyEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/tae.hpp:599:40: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here blocks["encoder.layers"] = std::shared_ptr(new TinyEncoder(z_channels, use_midblock_gn)); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -DSDCPP_BUILD_VERSION=master_2026_06_03 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/version.cpp -o sd/version.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/ggml_extend_backend.cpp -o sd/ggml_extend_backend.o In file included from sd/stable-diffusion.cpp:1: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ZImage::JointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/z_image.hpp:170:46: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["attention"] = std::make_shared(hidden_size, head_dim, num_heads, num_kv_heads, qk_norm); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ZImage::FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/z_image.hpp:171:46: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["feed_forward"] = std::make_shared(hidden_size, hidden_size, multiple_of, ffn_dim_multiplier); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/z_image.hpp:300:45: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["t_embedder"] = std::make_shared(MIN(z_image_params.hidden_size, 1024), 256, 256); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ZImage::JointTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/z_image.hpp:305:35: note: in instantiation of function template specialization 'std::make_shared' requested here auto block = std::make_shared(i, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ZImage::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/z_image.hpp:349:42: note: in instantiation of function template specialization 'std::make_shared' requested here blocks["final_layer"] = std::make_shared(z_image_params.hidden_size, z_image_params.patch_size, z_image_params.out_channels); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'PhiloxRNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:167:45: note: in instantiation of function template specialization 'std::make_shared' requested here std::shared_ptr rng = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'CompVisDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:205:47: note: in instantiation of function template specialization 'std::make_shared' requested here std::shared_ptr denoiser = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'STDDefaultRNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:251:25: note: in instantiation of function template specialization 'std::make_shared' requested here return std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'MT19937RNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:253:25: note: in instantiation of function template specialization 'std::make_shared' requested here return std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ 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] int32_t nelements = 1; ^ 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] int32_t nelements = 1; ^ sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable] int64_t t_segment_begin = ggml_time_ms(); ^ sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable] int64_t t_segment_begin = ggml_time_ms(); ^ sd/util.cpp:246:10: warning: unused variable 'cfg_flags' [-Wunused-variable] auto cfg_flags = get_mmap_flags(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'CompVisVDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:1296:37: note: in instantiation of function template specialization 'std::make_shared' requested here denoiser = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'EDMVDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:1300:37: note: in instantiation of function template specialization 'std::make_shared' requested here denoiser = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'FluxFlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:1305:41: note: in instantiation of function template specialization 'std::make_shared' requested here denoiser = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'DiscreteFlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:1308:41: note: in instantiation of function template specialization 'std::make_shared' requested here denoiser = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'Flux2FlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:1319:37: note: in instantiation of function template specialization 'std::make_shared' requested here denoiser = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'MultiLoraAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace> &>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/stable-diffusion.cpp:1499:48: note: in instantiation of function template specialization 'std::make_shared> &>' requested here auto multi_lora_adapter = std::make_shared(cond_stage_lora_models); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ sd/stable-diffusion.cpp:5405:18: warning: unused function 'ggml_to_sd_tensor' [-Wunused-function] 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] 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] static struct ggml_context* sd_lowlevel_work_ctx(size_t mem_size) { ^ 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/esrgan.hpp:23:27: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here unique_ptr<_Yp> __hold(__p); ^ sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'RRDBNet' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ sd/esrgan.hpp:163:5: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here ESRGAN(ggml_backend_t backend, ^ In file included from sd/util.cpp:1: In file included from sd/util.h:5: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 blocks[in_proj_name] = std::shared_ptr(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias)); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/ggml_graph_cut.cpp -o sd/ggml_graph_cut.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/layer_registry.cpp -o sd/layer_registry.o sd/ggml_graph_cut.cpp:721:17: warning: unused variable 't_prepare_begin' [-Wunused-variable] int64_t t_prepare_begin = ggml_time_ms(); ^ In file included from sd/ggml_graph_cut.cpp:16: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:90:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] static bool ggml_op_is_empty(enum ggml_op op) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:147:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:153:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:158:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:163:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:168:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:205:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] static size_t ggml_bitset_size(size_t n) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:274:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:279:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include/ggml-impl.h:300:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/guidance.cpp -o sd/guidance.o 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -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:375:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable] int32_t nelements = 1; ^ sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable] int64_t t_segment_begin = ggml_time_ms(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -include r_ggml_compat.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -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:6: sd/cache_dit.hpp:78:13: warning: unused variable 'order' [-Wunused-variable] int order = n_derivatives + 1; ^ 11 warnings generated. clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Isd -Isd/thirdparty -Isd/tokenizers -Isd/tokenizers/vocab -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -DSD2R_HAVE_META_BACKEND=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sd/thirdparty/zip.c -o sd/thirdparty/zip.o 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] float alpha_prod_t = 1.0f / (sigma * sigma + 1.0f); ^ 7 warnings generated. In file included from sd/sample-cache.cpp:1: In file included from sd/sample-cache.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete::operator()' requested here __ptr_.second()(__tmp); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr::reset' requested here ~unique_ptr() { reset(); } ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3645:21: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here 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 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'DiscreteScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:580:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'KarrasScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:584:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'ExponentialScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:588:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'AYSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:592:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(version); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'GITSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:596:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'SGMUniformScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:600:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'SimpleScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:604:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'SmoothStepScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:608:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'BongTangentScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:612:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'KLOptimalScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:616:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LCMScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3290:5: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of member function 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:620:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'LTX2Scheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ sd/denoiser.hpp:624:34: note: in instantiation of function template specialization 'std::make_shared' requested here scheduler = std::make_shared(image_seq_len, extra_sample_args); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ 17 warnings generated. 274 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -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/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/ggmlR/lib -lggml -lpthread -lm -F/Library/Frameworks/R.framework/.. -framework R installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.6/sd2R.Rcheck/00LOCK-sd2R/00new/sd2R/libs ** generating debug symbols (dSYM) warning: (x86_64) could not find object file symbol for symbol _quantize_row_q8_0 warning: (x86_64) could not find object file symbol for symbol _quantize_row_q8_1 warning: (x86_64) could not find object file symbol for symbol _quantize_row_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q4_0_q8_0 warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q4_1_q8_1 warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_mxfp4_q8_0 warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q5_0_q8_0 warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q5_1_q8_1 warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q8_0_q8_0 warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_tq1_0_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_tq2_0_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q2_K_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q3_K_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q4_K_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q5_K_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q6_K_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq2_xxs_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq2_xs_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq2_s_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq3_xxs_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq3_s_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq1_s_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq1_m_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq4_nl_q8_0 warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_iq4_xs_q8_K warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_q1_0_q8_0 warning: (x86_64) could not find object file symbol for symbol _ggml_vec_dot_nvfp4_q8_0 ** 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)