* 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

100 2561k  100 2561k    0     0  5853k      0 --:--:-- --:--:-- --:--:-- 5853k
* 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

100 7105k  100 7105k    0     0  14.3M      0 --:--:-- --:--:-- --:--:-- 14.3M
* 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

100 43.6M  100 43.6M    0     0  48.4M      0 --:--:-- --:--:-- --:--:-- 48.4M
* 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  10.9M      0 --:--:-- --:--:-- --:--:-- 10.9M
* qwen_merges.hpp: downloaded successfully
* ggmlR lib: /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/lib
* ggmlR include: /Volumes/Builds/packages/sonoma-arm64/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 17.0.0 (clang-1700.3.19.1)’
using C++17
using SDK: ‘MacOSX14.5.sdk’
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd2R_interface.cpp -o sd2R_interface.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/stable-diffusion.cpp -o sd/stable-diffusion.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/model.cpp -o sd/model.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/model_io/gguf_io.cpp -o sd/model_io/gguf_io.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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]
  375 |     int32_t nelements = 1;
      |             ^
sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable]
 2814 |             int64_t t_segment_begin = ggml_time_ms();
      |                     ^~~~~~~~~~~~~~~
In file included from sd/stable-diffusion.cpp:15:
In file included from sd/anima.hpp:9:
sd/common_block.hpp:318:17: warning: unused variable 'n_context' [-Wunused-variable]
  318 |         int64_t n_context = context->ne[1];
      |                 ^~~~~~~~~
sd/common_block.hpp:319:17: warning: unused variable 'inner_dim' [-Wunused-variable]
  319 |         int64_t inner_dim = d_head * n_head;
      |                 ^~~~~~~~~
sd/common_block.hpp:569:18: warning: 'VideoResBlock::forward' hides overloaded virtual function [-Woverloaded-virtual]
  569 |     ggml_tensor* forward(GGMLRunnerContext* ctx,
      |                  ^
sd/common_block.hpp:126:26: note: hidden overloaded virtual function 'ResBlock::forward' declared here: different number of parameters (3 vs 4)
  126 |     virtual ggml_tensor* forward(GGMLRunnerContext* ctx, ggml_tensor* x, ggml_tensor* emb = nullptr) {
      |                          ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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:8:
sd/clip.hpp:508:16: warning: unused variable 'N' [-Wunused-variable]
  508 |         size_t N       = input_ids->ne[1];
      |                ^
sd/clip.hpp:509:16: warning: unused variable 'n_token' [-Wunused-variable]
  509 |         size_t n_token = input_ids->ne[0];
      |                ^~~~~~~
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:9:
sd/llm.hpp:574:21: warning: unused variable 'n_token' [-Wunused-variable]
  574 |             int64_t n_token = x->ne[1];
      |                     ^~~~~~~
sd/llm.hpp:575:21: warning: unused variable 'N' [-Wunused-variable]
  575 |             int64_t N       = x->ne[2];
      |                     ^
sd/llm.hpp:1748:21: warning: unused variable 'llm_grid_h' [-Wunused-variable]
 1748 |             int64_t llm_grid_h = grid_h / params.vision.spatial_merge_size;
      |                     ^~~~~~~~~~
sd/llm.hpp:1749:21: warning: unused variable 'llm_grid_w' [-Wunused-variable]
 1749 |             int64_t llm_grid_w = grid_w / params.vision.spatial_merge_size;
      |                     ^~~~~~~~~~
sd/llm.hpp:1936:37: warning: unused variable 'weights' [-Wunused-variable]
 1936 |                 std::vector<float>& weights = std::get<1>(tokens_and_weights);
      |                                     ^~~~~~~
sd/llm.hpp:1980:37: warning: unused variable 'weights' [-Wunused-variable]
 1980 |                 std::vector<float>& weights = std::get<1>(tokens_and_weights);
      |                                     ^~~~~~~
sd/llm.hpp:2005:37: warning: unused variable 'weights' [-Wunused-variable]
 2005 |                 std::vector<float>& weights = std::get<1>(tokens_and_weights);
      |                                     ^~~~~~~
sd/llm.hpp:2030:37: warning: unused variable 'weights' [-Wunused-variable]
 2030 |                 std::vector<float>& weights = std::get<1>(tokens_and_weights);
      |                                     ^~~~~~~
In file included from sd/stable-diffusion.cpp:17:
In file included from sd/conditioner.hpp:10:
sd/t5.hpp:349:16: warning: unused variable 'N' [-Wunused-variable]
  349 |         size_t N       = input_ids->ne[1];
      |                ^
sd/t5.hpp:350:16: warning: unused variable 'n_token' [-Wunused-variable]
  350 |         size_t n_token = input_ids->ne[0];
      |                ^~~~~~~
sd/t5.hpp:538:33: warning: unused variable 'weights' [-Wunused-variable]
  538 |             std::vector<float>& weights = std::get<1>(tokens_and_weights);
      |                                 ^~~~~~~
In file included from sd/stable-diffusion.cpp:17:
sd/conditioner.hpp:1519:14: warning: unused variable 'on_new_token_cb' [-Wunused-variable]
 1519 |         auto on_new_token_cb = [&](std::string& str, std::vector<int32_t>& bpe_tokens) -> bool {
      |              ^~~~~~~~~~~~~~~
In file included from sd/stable-diffusion.cpp:18:
sd/control.hpp:268:17: warning: unused variable 'mult' [-Wunused-variable]
  268 |             int mult = channel_mult[i];
      |                 ^~~~
In file included from sd/stable-diffusion.cpp:19:
sd/denoiser.hpp:1726:15: warning: unused variable 'alpha_prod_t' [-Wunused-variable]
 1726 |         float alpha_prod_t      = 1.0f / (sigma * sigma + 1.0f);
      |               ^~~~~~~~~~~~
In file included from sd/stable-diffusion.cpp:21:
In file included from sd/ernie_image.hpp:10:
sd/qwen_image.hpp:456:21: warning: unused variable 'C' [-Wunused-variable]
  456 |             int64_t C = x->ne[2];
      |                     ^
sd/qwen_image.hpp:457:21: warning: unused variable 'N' [-Wunused-variable]
  457 |             int64_t N = x->ne[3];
      |                     ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/model_io/torch_legacy_io.cpp -o sd/model_io/torch_legacy_io.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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:30:
In file included from sd/ltx_vae.hpp:14:
sd/wan.hpp:1332:23: warning: unused variable 'model_data_type' [-Wunused-variable]
 1332 |             ggml_type model_data_type         = GGML_TYPE_F16;
      |                       ^~~~~~~~~~~~~~~
sd/wan.hpp:1430:30: warning: 'WAN::WanCrossAttention::forward' hides overloaded virtual function [-Woverloaded-virtual]
 1430 |         virtual ggml_tensor* forward(GGMLRunnerContext* ctx,
      |                              ^
sd/wan.hpp:1389:30: note: hidden overloaded virtual function 'WAN::WanSelfAttention::forward' declared here: type mismatch at 4th parameter ('ggml_tensor *' vs 'int64_t' (aka 'long long'))
 1389 |         virtual ggml_tensor* forward(GGMLRunnerContext* ctx,
      |                              ^
sd/wan.hpp:1451:21: warning: unused variable 'N' [-Wunused-variable]
 1451 |             int64_t N       = x->ne[2];
      |                     ^
sd/wan.hpp:1452:21: warning: unused variable 'n_token' [-Wunused-variable]
 1452 |             int64_t n_token = x->ne[1];
      |                     ^~~~~~~
sd/wan.hpp:1512:21: warning: unused variable 'n_token' [-Wunused-variable]
 1512 |             int64_t n_token         = x->ne[1];
      |                     ^~~~~~~
sd/wan.hpp:1680:47: warning: 'WAN::VaceWanAttentionBlock::forward' hides overloaded virtual function [-Woverloaded-virtual]
 1680 |         std::pair<ggml_tensor*, ggml_tensor*> forward(GGMLRunnerContext* ctx,
      |                                               ^
sd/wan.hpp:1605:30: note: hidden overloaded virtual function 'WAN::WanAttentionBlock::forward' declared here: different number of parameters (6 vs 7)
 1605 |         virtual ggml_tensor* forward(GGMLRunnerContext* ctx,
      |                              ^
sd/wan.hpp:2064:21: warning: unused variable 'C' [-Wunused-variable]
 2064 |             int64_t C = x->ne[3];
      |                     ^
In file included from sd/stable-diffusion.cpp:32:
sd/mmdit.hpp:682:17: warning: unused variable 'default_out_channels' [-Wunused-variable]
  682 |         int64_t default_out_channels = in_channels;
      |                 ^~~~~~~~~~~~~~~~~~~~
sd/mmdit.hpp:951:19: warning: unused variable 'model_data_type' [-Wunused-variable]
  951 |         ggml_type model_data_type          = GGML_TYPE_F16;
      |                   ^~~~~~~~~~~~~~~
In file included from sd/stable-diffusion.cpp:33:
sd/pid.hpp:739:21: warning: unused variable 'B' [-Wunused-variable]
  739 |             int64_t B  = x->ne[3];
      |                     ^
In file included from sd/stable-diffusion.cpp:36:
In file included from sd/sample-cache.h:6:
sd/cache_dit.hpp:78:13: warning: unused variable 'order' [-Wunused-variable]
   78 |         int order = n_derivatives + 1;
      |             ^~~~~
In file included from sd/stable-diffusion.cpp:38:
sd/unet.hpp:64:18: warning: 'SpatialVideoTransformer::forward' hides overloaded virtual function [-Woverloaded-virtual]
   64 |     ggml_tensor* forward(GGMLRunnerContext* ctx,
      |                  ^
sd/common_block.hpp:470:26: note: hidden overloaded virtual function 'SpatialTransformer::forward' declared here: different number of parameters (3 vs 4)
  470 |     virtual ggml_tensor* forward(GGMLRunnerContext* ctx,
      |                          ^
In file included from sd/stable-diffusion.cpp:38:
sd/unet.hpp:44:17: warning: unused variable 'time_mix_inner_dim' [-Wunused-variable]
   44 |         int64_t time_mix_inner_dim = time_mix_d_head * n_time_mix_heads;  // equal to inner_dim
      |                 ^~~~~~~~~~~~~~~~~~
sd/unet.hpp:502:17: warning: unused variable 'mult' [-Wunused-variable]
  502 |             int mult = channel_mult[i];
      |                 ^~~~
In file included from sd/stable-diffusion.cpp:42:
sd/z_image.hpp:47:21: warning: unused variable 'n_token' [-Wunused-variable]
   47 |             int64_t n_token = x->ne[1];
      |                     ^~~~~~~
sd/z_image.hpp:48:21: warning: unused variable 'N' [-Wunused-variable]
   48 |             int64_t N       = x->ne[2];
      |                     ^
sd/z_image.hpp:442:21: warning: unused variable 'C' [-Wunused-variable]
  442 |             int64_t C = x->ne[2];
      |                     ^
sd/z_image.hpp:443:21: warning: unused variable 'N' [-Wunused-variable]
  443 |             int64_t N = x->ne[3];
      |                     ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/name_conversion.cpp -o sd/name_conversion.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Linear>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Linear>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Linear>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
 3987 |             blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
      |                                    ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/tokenizers/clip_tokenizer.cpp -o sd/tokenizers/clip_tokenizer.o
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Conv2d>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Conv2d>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Conv2d>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:22:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv2d, void>' requested here
   22 |             blocks["conv"] = std::shared_ptr<GGMLBlock>(new Conv2d(channels, out_channels, {3, 3}, {2, 2}, {0, 0}));
      |                              ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Conv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Conv3d>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Conv3d>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Conv3d>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:85:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv3d, void>' requested here
   85 |             return std::shared_ptr<GGMLBlock>(new Conv3d(in_channels, out_channels, {kernel_size.first, 1, 1}, {1, 1, 1}, {padding.first, 0, 0}));
      |                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'GroupNorm32' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<GroupNorm32>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<GroupNorm32>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<GroupNorm32>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:107:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GroupNorm32, void>' requested here
  107 |         blocks["in_layers.0"]       = std::shared_ptr<GGMLBlock>(new GroupNorm32(channels));
      |                                       ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'GELU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<GELU>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<GELU>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<GELU>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:243:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GELU, void>' requested here
  243 |             blocks["net.0"] = std::shared_ptr<GGMLBlock>(new GELU(dim, inner_dim));
      |                               ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'GEGLU' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<GEGLU>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<GEGLU>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<GEGLU>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:245:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GEGLU, void>' requested here
  245 |             blocks["net.0"] = std::shared_ptr<GGMLBlock>(new GEGLU(dim, inner_dim));
      |                               ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<CrossAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<CrossAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<CrossAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:356:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CrossAttention, void>' requested here
  356 |         blocks["attn1"] = std::shared_ptr<GGMLBlock>(new CrossAttention(dim, dim, n_head, d_head));
      |                           ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<FeedForward>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<FeedForward>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<FeedForward>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:358:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FeedForward, void>' requested here
  358 |         blocks["ff"]    = std::shared_ptr<GGMLBlock>(new FeedForward(dim, dim));
      |                           ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LayerNorm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LayerNorm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LayerNorm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:359:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LayerNorm, void>' requested here
  359 |         blocks["norm1"] = std::shared_ptr<GGMLBlock>(new LayerNorm(dim));
      |                           ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Conv2d, std::allocator<Conv2d>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Conv2d, std::allocator<Conv2d>>::__shared_ptr_emplace<long long &, long long &, std::pair<int, int>>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Conv2d, std::allocator<Conv2d>, long long &, long long &, std::pair<int, int>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/common_block.hpp:426:43: note: in instantiation of function template specialization 'std::make_shared<Conv2d, long long &, long long &, std::pair<int, int>, void>' requested here
  426 |                 blocks["proj_in"]  = std::make_shared<Conv2d>(in_channels, inner_dim, std::pair{1, 1});
      |                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Linear, std::allocator<Linear>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Linear, std::allocator<Linear>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Linear, std::allocator<Linear>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/common_block.hpp:430:43: note: in instantiation of function template specialization 'std::make_shared<Linear, long long &, long long &, void>' requested here
  430 |                 blocks["proj_in"]  = std::make_shared<Linear>(in_channels, inner_dim);
      |                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'BasicTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<BasicTransformerBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<BasicTransformerBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<BasicTransformerBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:460:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<BasicTransformerBlock, void>' requested here
  460 |             blocks[name]     = std::shared_ptr<GGMLBlock>(new BasicTransformerBlock(inner_dim, n_head, d_head, context_dim, false));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<ResBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<ResBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<ResBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:565:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<ResBlock, void>' requested here
  565 |         blocks["time_stack"] = std::shared_ptr<GGMLBlock>(new ResBlock(out_channels, emb_channels, out_channels, kernel_size, 3, true));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'AlphaBlender' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<AlphaBlender>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<AlphaBlender>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<AlphaBlender>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/common_block.hpp:566:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AlphaBlender, void>' requested here
  566 |         blocks["time_mixer"] = std::shared_ptr<GGMLBlock>(new AlphaBlender());
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Flux::RMSNorm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Flux::RMSNorm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Flux::RMSNorm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/flux.hpp:63:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::RMSNorm, void>' requested here
   63 |             blocks["query_norm"] = std::shared_ptr<GGMLBlock>(new RMSNorm(dim));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Flux::QKNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Flux::QKNorm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Flux::QKNorm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Flux::QKNorm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/flux.hpp:98:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::QKNorm, void>' requested here
   98 |             blocks["norm"]   = std::shared_ptr<GGMLBlock>(new QKNorm(head_dim));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Flux::Modulation>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Flux::Modulation>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Flux::Modulation>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/flux.hpp:272:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::Modulation, void>' requested here
  272 |                 blocks["img_mod"] = std::shared_ptr<GGMLBlock>(new Modulation(hidden_size, true));
      |                                     ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Flux::SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Flux::SelfAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Flux::SelfAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Flux::SelfAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/flux.hpp:275:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::SelfAttention, void>' requested here
  275 |             blocks["img_attn"]  = std::shared_ptr<GGMLBlock>(new SelfAttention(hidden_size, num_heads, qkv_bias, mlp_proj_bias));
      |                                   ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Flux::YakMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Flux::YakMLP>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Flux::YakMLP>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Flux::YakMLP>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/flux.hpp:279:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::YakMLP, void>' requested here
  279 |                 blocks["img_mlp"] = std::shared_ptr<GGMLBlock>(new YakMLP(hidden_size, mlp_hidden_dim, mlp_proj_bias));
      |                                     ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Flux::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Flux::MLP>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Flux::MLP>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Flux::MLP>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/flux.hpp:281:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::MLP, void>' requested here
  281 |                 blocks["img_mlp"] = std::shared_ptr<GGMLBlock>(new MLP(hidden_size, mlp_hidden_dim, use_mlp_silu_act, mlp_proj_bias));
      |                                     ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Flux::MLPEmbedder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Flux::MLPEmbedder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Flux::MLPEmbedder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/flux.hpp:586:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Flux::MLPEmbedder, void>' requested here
  586 |                 blocks["layers." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new MLPEmbedder(inner_size, inner_size));
      |                                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::RMSNorm, std::allocator<Flux::RMSNorm>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::RMSNorm, std::allocator<Flux::RMSNorm>>::__shared_ptr_emplace<long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::RMSNorm, std::allocator<Flux::RMSNorm>, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:638:46: note: in instantiation of function template specialization 'std::make_shared<Flux::RMSNorm, long long &, void>' requested here
  638 |             blocks["norm"]            = std::make_shared<RMSNorm>(hidden_size_x);
      |                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::ChromaApproximator' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::ChromaApproximator, std::allocator<Flux::ChromaApproximator>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::ChromaApproximator, std::allocator<Flux::ChromaApproximator>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::ChromaApproximator, std::allocator<Flux::ChromaApproximator>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:783:59: note: in instantiation of function template specialization 'std::make_shared<Flux::ChromaApproximator, long long &, long long &, void>' requested here
  783 |                 blocks["distilled_guidance_layer"] = std::make_shared<ChromaApproximator>(params.in_dim, params.hidden_size);
      |                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::MLPEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::MLPEmbedder, std::allocator<Flux::MLPEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::MLPEmbedder, std::allocator<Flux::MLPEmbedder>>::__shared_ptr_emplace<int, long long &, bool>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::MLPEmbedder, std::allocator<Flux::MLPEmbedder>, int, long long &, bool, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:785:42: note: in instantiation of function template specialization 'std::make_shared<Flux::MLPEmbedder, int, long long &, bool, void>' requested here
  785 |                 blocks["time_in"] = std::make_shared<MLPEmbedder>(256, params.hidden_size, !params.disable_bias);
      |                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::DoubleStreamBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::DoubleStreamBlock, std::allocator<Flux::DoubleStreamBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::DoubleStreamBlock, std::allocator<Flux::DoubleStreamBlock>>::__shared_ptr_emplace<long long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::DoubleStreamBlock, std::allocator<Flux::DoubleStreamBlock>, long long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:799:69: note: in instantiation of function template specialization 'std::make_shared<Flux::DoubleStreamBlock, long long &, int &, float &, int &, bool &, bool &, bool &, bool, bool &, bool &, void>' requested here
  799 |                 blocks["double_blocks." + std::to_string(i)] = std::make_shared<DoubleStreamBlock>(params.hidden_size,
      |                                                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::SingleStreamBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::SingleStreamBlock, std::allocator<Flux::SingleStreamBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::SingleStreamBlock, std::allocator<Flux::SingleStreamBlock>>::__shared_ptr_emplace<long long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::SingleStreamBlock, std::allocator<Flux::SingleStreamBlock>, long long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:812:69: note: in instantiation of function template specialization 'std::make_shared<Flux::SingleStreamBlock, long long &, int &, float &, int &, float, bool &, bool &, bool, bool &, bool &, void>' requested here
  812 |                 blocks["single_blocks." + std::to_string(i)] = std::make_shared<SingleStreamBlock>(params.hidden_size,
      |                                                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::NerfEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::NerfEmbedder, std::allocator<Flux::NerfEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::NerfEmbedder, std::allocator<Flux::NerfEmbedder>>::__shared_ptr_emplace<long long &, long long &, int &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::NerfEmbedder, std::allocator<Flux::NerfEmbedder>, long long &, long long &, int &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:825:54: note: in instantiation of function template specialization 'std::make_shared<Flux::NerfEmbedder, long long &, long long &, int &, void>' requested here
  825 |                 blocks["nerf_image_embedder"] = std::make_shared<NerfEmbedder>(params.in_channels,
      |                                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::NerfGLUBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::NerfGLUBlock, std::allocator<Flux::NerfGLUBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::NerfGLUBlock, std::allocator<Flux::NerfGLUBlock>>::__shared_ptr_emplace<long long &, long long &, int &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::NerfGLUBlock, std::allocator<Flux::NerfGLUBlock>, long long &, long long &, int &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:830:71: note: in instantiation of function template specialization 'std::make_shared<Flux::NerfGLUBlock, long long &, long long &, int &, void>' requested here
  830 |                     blocks["nerf_blocks." + std::to_string(i)] = std::make_shared<NerfGLUBlock>(params.hidden_size,
      |                                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::NerfFinalLayerConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::NerfFinalLayerConv, std::allocator<Flux::NerfFinalLayerConv>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::NerfFinalLayerConv, std::allocator<Flux::NerfFinalLayerConv>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::NerfFinalLayerConv, std::allocator<Flux::NerfFinalLayerConv>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:835:56: note: in instantiation of function template specialization 'std::make_shared<Flux::NerfFinalLayerConv, long long &, long long &, void>' requested here
  835 |                 blocks["nerf_final_layer_conv"] = std::make_shared<NerfFinalLayerConv>(params.chroma_radiance_params.nerf_hidden_size,
      |                                                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::LastLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::LastLayer, std::allocator<Flux::LastLayer>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::LastLayer, std::allocator<Flux::LastLayer>>::__shared_ptr_emplace<long long &, int, long long &, bool &, bool>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::LastLayer, std::allocator<Flux::LastLayer>, long long &, int, long long &, bool &, bool, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:839:46: note: in instantiation of function template specialization 'std::make_shared<Flux::LastLayer, long long &, int, long long &, bool &, bool, void>' requested here
  839 |                 blocks["final_layer"] = std::make_shared<LastLayer>(params.hidden_size, 1, params.out_channels, params.is_chroma, !params.disable_bias);
      |                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux::Modulation' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux::Modulation, std::allocator<Flux::Modulation>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux::Modulation, std::allocator<Flux::Modulation>>::__shared_ptr_emplace<long long &, bool, bool>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux::Modulation, std::allocator<Flux::Modulation>, long long &, bool, bool, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/flux.hpp:843:63: note: in instantiation of function template specialization 'std::make_shared<Flux::Modulation, long long &, bool, bool, void>' requested here
  843 |                 blocks["double_stream_modulation_img"] = std::make_shared<Modulation>(params.hidden_size, true, !params.disable_bias);
      |                                                               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LayerNorm, std::allocator<LayerNorm>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LayerNorm, std::allocator<LayerNorm>>::__shared_ptr_emplace<long long &, float, bool, bool>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LayerNorm, std::allocator<LayerNorm>, long long &, float, bool, bool, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:61:35: note: in instantiation of function template specialization 'std::make_shared<LayerNorm, long long &, float, bool, bool, void>' requested here
   61 |             blocks["norm"] = std::make_shared<LayerNorm>(in_features, 1e-6f, false, false);
      |                                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<RMSNorm, std::allocator<RMSNorm>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<RMSNorm, std::allocator<RMSNorm>>::__shared_ptr_emplace<long long &, float>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<RMSNorm, std::allocator<RMSNorm>, long long &, float, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:151:48: note: in instantiation of function template specialization 'std::make_shared<RMSNorm, long long &, float, void>' requested here
  151 |             blocks["q_norm"]            = std::make_shared<RMSNorm>(head_dim, 1e-6f);
      |                                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::AnimaAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::AnimaAttention, std::allocator<Anima::AnimaAttention>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::AnimaAttention, std::allocator<Anima::AnimaAttention>>::__shared_ptr_emplace<long long &, long long &, long long &, long long &, const char (&)[7]>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::AnimaAttention, std::allocator<Anima::AnimaAttention>, long long &, long long &, long long &, long long &, const char (&)[7], void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:264:46: note: in instantiation of function template specialization 'std::make_shared<Anima::AnimaAttention, long long &, long long &, long long &, long long &, const char (&)[7], void>' requested here
  264 |             blocks["self_attn"]       = std::make_shared<AnimaAttention>(model_dim, model_dim, num_heads, head_dim, "o_proj");
      |                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::AdapterMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::AdapterMLP, std::allocator<Anima::AdapterMLP>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::AdapterMLP, std::allocator<Anima::AdapterMLP>>::__shared_ptr_emplace<long long &, long long>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::AdapterMLP, std::allocator<Anima::AdapterMLP>, long long &, long long, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:268:46: note: in instantiation of function template specialization 'std::make_shared<Anima::AdapterMLP, long long &, long long, void>' requested here
  268 |             blocks["mlp"]             = std::make_shared<AdapterMLP>(model_dim, model_dim * 4);
      |                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Embedding, std::allocator<Embedding>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Embedding, std::allocator<Embedding>>::__shared_ptr_emplace<int, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Embedding, std::allocator<Embedding>, int, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:312:36: note: in instantiation of function template specialization 'std::make_shared<Embedding, int, long long &, void>' requested here
  312 |             blocks["embed"] = std::make_shared<Embedding>(32128, target_dim);
      |                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::LLMAdapterBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::LLMAdapterBlock, std::allocator<Anima::LLMAdapterBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::LLMAdapterBlock, std::allocator<Anima::LLMAdapterBlock>>::__shared_ptr_emplace<long long &, long long &, int &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::LLMAdapterBlock, std::allocator<Anima::LLMAdapterBlock>, long long &, long long &, int &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:315:26: note: in instantiation of function template specialization 'std::make_shared<Anima::LLMAdapterBlock, long long &, long long &, int &, long long &, void>' requested here
  315 |                     std::make_shared<LLMAdapterBlock>(model_dim, source_dim, num_heads, head_dim);
      |                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::AdaLayerNormZero' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::AdaLayerNormZero, std::allocator<Anima::AdaLayerNormZero>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::AdaLayerNormZero, std::allocator<Anima::AdaLayerNormZero>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::AdaLayerNormZero, std::allocator<Anima::AdaLayerNormZero>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:356:58: note: in instantiation of function template specialization 'std::make_shared<Anima::AdaLayerNormZero, long long &, long long &, void>' requested here
  356 |             blocks["adaln_modulation_self_attn"]  = std::make_shared<AdaLayerNormZero>(hidden_size, adaln_lora_dim);
      |                                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::AnimaMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::AnimaMLP, std::allocator<Anima::AnimaMLP>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::AnimaMLP, std::allocator<Anima::AnimaMLP>>::__shared_ptr_emplace<long long &, long long>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::AnimaMLP, std::allocator<Anima::AnimaMLP>, long long &, long long, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:361:58: note: in instantiation of function template specialization 'std::make_shared<Anima::AnimaMLP, long long &, long long, void>' requested here
  361 |             blocks["mlp"]                         = std::make_shared<AnimaMLP>(hidden_size, hidden_size * mlp_ratio);
      |                                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::AdaLayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::AdaLayerNorm, std::allocator<Anima::AdaLayerNorm>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::AdaLayerNorm, std::allocator<Anima::AdaLayerNorm>>::__shared_ptr_emplace<long long &, int>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::AdaLayerNorm, std::allocator<Anima::AdaLayerNorm>, long long &, int, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:402:47: note: in instantiation of function template specialization 'std::make_shared<Anima::AdaLayerNorm, long long &, int, void>' requested here
  402 |             blocks["adaln_modulation"] = std::make_shared<AdaLayerNorm>(hidden_size, 256);
      |                                               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::XEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::XEmbedder, std::allocator<Anima::XEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::XEmbedder, std::allocator<Anima::XEmbedder>>::__shared_ptr_emplace<long long, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::XEmbedder, std::allocator<Anima::XEmbedder>, long long, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:436:47: note: in instantiation of function template specialization 'std::make_shared<Anima::XEmbedder, long long, long long &, void>' requested here
  436 |             blocks["x_embedder"]       = std::make_shared<XEmbedder>((in_channels + 1) * patch_size * patch_size, hidden_size);
      |                                               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::TimestepEmbedder, std::allocator<Anima::TimestepEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::TimestepEmbedder, std::allocator<Anima::TimestepEmbedder>>::__shared_ptr_emplace<long long &, long long>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::TimestepEmbedder, std::allocator<Anima::TimestepEmbedder>, long long &, long long, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:437:47: note: in instantiation of function template specialization 'std::make_shared<Anima::TimestepEmbedder, long long &, long long, void>' requested here
  437 |             blocks["t_embedder"]       = std::make_shared<TimestepEmbedder>(hidden_size, hidden_size * 3);
      |                                               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::TransformerBlock, std::allocator<Anima::TransformerBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::TransformerBlock, std::allocator<Anima::TransformerBlock>>::__shared_ptr_emplace<long long &, long long &, long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::TransformerBlock, std::allocator<Anima::TransformerBlock>, long long &, long long &, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:440:62: note: in instantiation of function template specialization 'std::make_shared<Anima::TransformerBlock, long long &, long long &, long long &, long long &, void>' requested here
  440 |                 blocks["blocks." + std::to_string(i)] = std::make_shared<TransformerBlock>(hidden_size,
      |                                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::FinalLayer, std::allocator<Anima::FinalLayer>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::FinalLayer, std::allocator<Anima::FinalLayer>>::__shared_ptr_emplace<long long &, int &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::FinalLayer, std::allocator<Anima::FinalLayer>, long long &, int &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:445:42: note: in instantiation of function template specialization 'std::make_shared<Anima::FinalLayer, long long &, int &, long long &, void>' requested here
  445 |             blocks["final_layer"] = std::make_shared<FinalLayer>(hidden_size, patch_size, out_channels);
      |                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Anima::LLMAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Anima::LLMAdapter, std::allocator<Anima::LLMAdapter>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Anima::LLMAdapter, std::allocator<Anima::LLMAdapter>>::__shared_ptr_emplace<int, int, int, int, int>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Anima::LLMAdapter, std::allocator<Anima::LLMAdapter>, int, int, int, int, int, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/anima.hpp:446:42: note: in instantiation of function template specialization 'std::make_shared<Anima::LLMAdapter, int, int, int, int, int, void>' requested here
  446 |             blocks["llm_adapter"] = std::make_shared<LLMAdapter>(1024, 1024, 1024, 6, 16);
      |                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'ResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<ResnetBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<ResnetBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<ResnetBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/auto_encoder_kl.hpp:303:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<ResnetBlock, void>' requested here
  303 |                 blocks[name]     = std::shared_ptr<GGMLBlock>(new ResnetBlock(block_in, block_out));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'DownSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<DownSampleBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<DownSampleBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<DownSampleBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/auto_encoder_kl.hpp:308:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<DownSampleBlock, void>' requested here
  308 |                 blocks[name]     = std::shared_ptr<GGMLBlock>(new DownSampleBlock(block_in, block_in, true));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'AttnBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<AttnBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<AttnBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<AttnBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/auto_encoder_kl.hpp:313:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AttnBlock, void>' requested here
  313 |         blocks["mid.attn_1"]  = std::shared_ptr<GGMLBlock>(new AttnBlock(block_in, use_linear_projection));
      |                                 ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'AE3DConv' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<AE3DConv>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<AE3DConv>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<AE3DConv>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/auto_encoder_kl.hpp:383:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<AE3DConv, void>' requested here
  383 |             return std::shared_ptr<GGMLBlock>(new AE3DConv(in_channels, out_channels, kernel_size, video_kernel_size, stride, padding));
      |                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'VideoResnetBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<VideoResnetBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<VideoResnetBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<VideoResnetBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/auto_encoder_kl.hpp:392:20: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<VideoResnetBlock, void>' requested here
  392 |             return std::shared_ptr<GGMLBlock>(new VideoResnetBlock(in_channels, out_channels, video_kernel_size));
      |                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'UpSampleBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<UpSampleBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<UpSampleBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<UpSampleBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/auto_encoder_kl.hpp:434:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<UpSampleBlock, void>' requested here
  434 |                 blocks[name]     = std::shared_ptr<GGMLBlock>(new UpSampleBlock(block_in, block_in));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Decoder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Decoder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Decoder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/auto_encoder_kl.hpp:557:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Decoder, void>' requested here
  557 |         blocks["decoder"] = std::shared_ptr<GGMLBlock>(new Decoder(decoder_ch,
      |                             ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Encoder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Encoder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Encoder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/auto_encoder_kl.hpp:570:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Encoder, void>' requested here
  570 |             blocks["encoder"] = std::shared_ptr<GGMLBlock>(new Encoder(dd_config.ch,
      |                                 ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'MultiheadAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<MultiheadAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<MultiheadAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<MultiheadAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/clip.hpp:58:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<MultiheadAttention, void>' requested here
   58 |         blocks["self_attn"] = std::shared_ptr<GGMLBlock>(new MultiheadAttention(d_model, n_head, true, true, proj_in));
      |                               ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'CLIPMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<CLIPMLP>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<CLIPMLP>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<CLIPMLP>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/clip.hpp:63:25: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPMLP, void>' requested here
   63 |         blocks["mlp"] = std::shared_ptr<GGMLBlock>(new CLIPMLP(d_model, intermediate_size));
      |                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'CLIPLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<CLIPLayer>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<CLIPLayer>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<CLIPLayer>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/clip.hpp:92:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPLayer, void>' requested here
   92 |             blocks[name]     = std::shared_ptr<GGMLBlock>(new CLIPLayer(d_model, n_head, intermediate_size, proj_in));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'CLIPEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<CLIPEmbeddings>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<CLIPEmbeddings>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<CLIPEmbeddings>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/clip.hpp:288:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPEmbeddings, void>' requested here
  288 |         blocks["embeddings"]       = std::shared_ptr<GGMLBlock>(new CLIPEmbeddings(hidden_size, vocab_size, n_token, force_clip_f32));
      |                                      ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'CLIPEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<CLIPEncoder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<CLIPEncoder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<CLIPEncoder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/clip.hpp:289:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPEncoder, void>' requested here
  289 |         blocks["encoder"]          = std::shared_ptr<GGMLBlock>(new CLIPEncoder(n_layer, hidden_size, n_head, intermediate_size, proj_in));
      |                                      ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'CLIPVisionEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<CLIPVisionEmbeddings>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<CLIPVisionEmbeddings>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<CLIPVisionEmbeddings>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/clip.hpp:358:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPVisionEmbeddings, void>' requested here
  358 |         blocks["embeddings"]     = std::shared_ptr<GGMLBlock>(new CLIPVisionEmbeddings(hidden_size, num_channels, patch_size, image_size));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'CLIPVisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<CLIPVisionModel>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<CLIPVisionModel>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<CLIPVisionModel>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/clip.hpp:443:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPVisionModel, void>' requested here
  443 |         blocks["vision_model"]      = std::shared_ptr<GGMLBlock>(new CLIPVisionModel(version, proj_in));
      |                                       ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'CLIPProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<CLIPProjection>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<CLIPProjection>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<CLIPProjection>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/clip.hpp:444:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<CLIPProjection, void>' requested here
  444 |         blocks["visual_projection"] = std::shared_ptr<GGMLBlock>(new CLIPProjection(hidden_size, projection_dim, transpose_proj_w));
      |                                       ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::VisionAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::VisionAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::VisionAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::VisionAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:627:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionAttention, void>' requested here
  627 |             blocks["attn"] = std::shared_ptr<GGMLBlock>(new VisionAttention(llama_cpp_style, hidden_size, num_heads));
      |                              ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::VisionMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::VisionMLP>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::VisionMLP>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::VisionMLP>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:628:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionMLP, void>' requested here
  628 |             blocks["mlp"]  = std::shared_ptr<GGMLBlock>(new VisionMLP(arch_, hidden_size, intermediate_size));
      |                              ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'RMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<RMSNorm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<RMSNorm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<RMSNorm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:633:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<RMSNorm, void>' requested here
  633 |                 blocks["norm1"] = std::shared_ptr<GGMLBlock>(new RMSNorm(hidden_size, eps));
      |                                   ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::VisionPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::VisionPatchEmbed>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::VisionPatchEmbed>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::VisionPatchEmbed>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:677:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionPatchEmbed, void>' requested here
  677 |             blocks["patch_embed"] = std::shared_ptr<GGMLBlock>(new VisionPatchEmbed(llama_cpp_style,
      |                                     ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::VisionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::VisionBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::VisionBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::VisionBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:687:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionBlock, void>' requested here
  687 |                 blocks["blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new VisionBlock(llama_cpp_style,
      |                                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::VisionPatchMerger' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::VisionPatchMerger>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::VisionPatchMerger>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::VisionPatchMerger>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:694:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionPatchMerger, void>' requested here
  694 |             blocks["merger"] = std::shared_ptr<GGMLBlock>(new VisionPatchMerger(arch_,
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LLM::LLMRMSNorm, std::allocator<LLM::LLMRMSNorm>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LLM::LLMRMSNorm, std::allocator<LLM::LLMRMSNorm>>::__shared_ptr_emplace<int &, const float &, const bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LLM::LLMRMSNorm, std::allocator<LLM::LLMRMSNorm>, int &, const float &, const bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/llm.hpp:802:41: note: in instantiation of function template specialization 'std::make_shared<LLM::LLMRMSNorm, int &, const float &, const bool &, void>' requested here
  802 |                 blocks["q_norm"] = std::make_shared<LLMRMSNorm>(head_dim, params.rms_norm_eps, params.rms_norm_add);
      |                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LLM::Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LLM::Attention, std::allocator<LLM::Attention>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LLM::Attention, std::allocator<LLM::Attention>>::__shared_ptr_emplace<const LLM::LLMParams &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LLM::Attention, std::allocator<LLM::Attention>, const LLM::LLMParams &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/llm.hpp:1010:40: note: in instantiation of function template specialization 'std::make_shared<LLM::Attention, const LLM::LLMParams &, void>' requested here
 1010 |             blocks["self_attn"] = std::make_shared<Attention>(params);
      |                                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LLM::GPTOSSMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LLM::GPTOSSMLP, std::allocator<LLM::GPTOSSMLP>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LLM::GPTOSSMLP, std::allocator<LLM::GPTOSSMLP>>::__shared_ptr_emplace<const LLM::LLMParams &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LLM::GPTOSSMLP, std::allocator<LLM::GPTOSSMLP>, const LLM::LLMParams &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/llm.hpp:1012:38: note: in instantiation of function template specialization 'std::make_shared<LLM::GPTOSSMLP, const LLM::LLMParams &, void>' requested here
 1012 |                 blocks["mlp"] = std::make_shared<GPTOSSMLP>(params);
      |                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LLM::MLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LLM::MLP, std::allocator<LLM::MLP>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LLM::MLP, std::allocator<LLM::MLP>>::__shared_ptr_emplace<const long long &, const long long &, bool, const LLM::MLPActivation &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LLM::MLP, std::allocator<LLM::MLP>, const long long &, const long long &, bool, const LLM::MLPActivation &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/llm.hpp:1014:38: note: in instantiation of function template specialization 'std::make_shared<LLM::MLP, const long long &, const long long &, bool, const LLM::MLPActivation &, void>' requested here
 1014 |                 blocks["mlp"] = std::make_shared<MLP>(params.hidden_size,
      |                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Embedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Embedding>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Embedding>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Embedding>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:1090:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Embedding, void>' requested here
 1090 |             blocks["embed_tokens"] = std::shared_ptr<GGMLBlock>(new Embedding(params.vocab_size, params.hidden_size));
      |                                      ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::TransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::TransformerBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::TransformerBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::TransformerBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:1092:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::TransformerBlock, void>' requested here
 1092 |                 blocks["layers." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new TransformerBlock(params, i));
      |                                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::LLMRMSNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::LLMRMSNorm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::LLMRMSNorm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::LLMRMSNorm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:1094:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::LLMRMSNorm, void>' requested here
 1094 |             blocks["norm"] = std::shared_ptr<GGMLBlock>(new LLMRMSNorm(params.hidden_size, params.rms_norm_eps, params.rms_norm_add));
      |                              ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::TextModel>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::TextModel>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::TextModel>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:1191:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::TextModel, void>' requested here
 1191 |             blocks["model"] = std::shared_ptr<GGMLBlock>(new TextModel(params));
      |                               ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LLM::VisionModel>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LLM::VisionModel>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LLM::VisionModel>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/llm.hpp:1193:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LLM::VisionModel, void>' requested here
 1193 |                 blocks["visual"] = std::shared_ptr<GGMLBlock>(new VisionModel(llama_cpp_style, params.vision));
      |                                    ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/tokenizers/gpt_oss_tokenizer.cpp -o sd/tokenizers/gpt_oss_tokenizer.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/tokenizers/mistral_tokenizer.cpp -o sd/tokenizers/mistral_tokenizer.o
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'T5DenseGatedActDense' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<T5DenseGatedActDense>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<T5DenseGatedActDense>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<T5DenseGatedActDense>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/t5.hpp:87:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5DenseGatedActDense, void>' requested here
   87 |         blocks["DenseReluDense"] = std::shared_ptr<GGMLBlock>(new T5DenseGatedActDense(model_dim, ff_dim));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'T5LayerNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<T5LayerNorm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<T5LayerNorm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<T5LayerNorm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/t5.hpp:88:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerNorm, void>' requested here
   88 |         blocks["layer_norm"]     = std::shared_ptr<GGMLBlock>(new T5LayerNorm(model_dim));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'T5Attention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<T5Attention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<T5Attention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<T5Attention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/t5.hpp:185:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Attention, void>' requested here
  185 |         blocks["SelfAttention"] = std::shared_ptr<GGMLBlock>(new T5Attention(model_dim, inner_dim, num_heads, using_relative_attention_bias));
      |                                   ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'T5LayerSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<T5LayerSelfAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<T5LayerSelfAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<T5LayerSelfAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/t5.hpp:211:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerSelfAttention, void>' requested here
  211 |         blocks["layer.0"] = std::shared_ptr<GGMLBlock>(new T5LayerSelfAttention(model_dim, inner_dim, ff_dim, num_heads, using_relative_attention_bias));
      |                             ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'T5LayerFF' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<T5LayerFF>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<T5LayerFF>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<T5LayerFF>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/t5.hpp:212:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5LayerFF, void>' requested here
  212 |         blocks["layer.1"] = std::shared_ptr<GGMLBlock>(new T5LayerFF(model_dim, ff_dim));
      |                             ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'T5Block' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<T5Block>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<T5Block>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<T5Block>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/t5.hpp:244:52: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Block, void>' requested here
  244 |             blocks["block." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new T5Block(model_dim, inner_dim, ff_dim, num_heads, (!relative_attention || i == 0)));
      |                                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'T5Stack' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<T5Stack>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<T5Stack>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<T5Stack>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/t5.hpp:291:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<T5Stack, void>' requested here
  291 |         blocks["encoder"] = std::shared_ptr<GGMLBlock>(new T5Stack(params.num_layers,
      |                             ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'SpatialTransformer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<SpatialTransformer>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<SpatialTransformer>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<SpatialTransformer>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/control.hpp:127:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<SpatialTransformer, void>' requested here
  127 |                     blocks[name]     = std::shared_ptr<GGMLBlock>(get_attention_layer(ch,
      |                                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'DiscreteScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<DiscreteScheduler, std::allocator<DiscreteScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<DiscreteScheduler, std::allocator<DiscreteScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<DiscreteScheduler, std::allocator<DiscreteScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:580:34: note: in instantiation of function template specialization 'std::make_shared<DiscreteScheduler, void>' requested here
  580 |                 scheduler = std::make_shared<DiscreteScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'KarrasScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<KarrasScheduler, std::allocator<KarrasScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<KarrasScheduler, std::allocator<KarrasScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<KarrasScheduler, std::allocator<KarrasScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:584:34: note: in instantiation of function template specialization 'std::make_shared<KarrasScheduler, void>' requested here
  584 |                 scheduler = std::make_shared<KarrasScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ExponentialScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ExponentialScheduler, std::allocator<ExponentialScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ExponentialScheduler, std::allocator<ExponentialScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ExponentialScheduler, std::allocator<ExponentialScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:588:34: note: in instantiation of function template specialization 'std::make_shared<ExponentialScheduler, void>' requested here
  588 |                 scheduler = std::make_shared<ExponentialScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'AYSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<AYSScheduler, std::allocator<AYSScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<AYSScheduler, std::allocator<AYSScheduler>>::__shared_ptr_emplace<SDVersion &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<AYSScheduler, std::allocator<AYSScheduler>, SDVersion &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:592:34: note: in instantiation of function template specialization 'std::make_shared<AYSScheduler, SDVersion &, void>' requested here
  592 |                 scheduler = std::make_shared<AYSScheduler>(version);
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'GITSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<GITSScheduler, std::allocator<GITSScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<GITSScheduler, std::allocator<GITSScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<GITSScheduler, std::allocator<GITSScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:596:34: note: in instantiation of function template specialization 'std::make_shared<GITSScheduler, void>' requested here
  596 |                 scheduler = std::make_shared<GITSScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'SGMUniformScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<SGMUniformScheduler, std::allocator<SGMUniformScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<SGMUniformScheduler, std::allocator<SGMUniformScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<SGMUniformScheduler, std::allocator<SGMUniformScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:600:34: note: in instantiation of function template specialization 'std::make_shared<SGMUniformScheduler, void>' requested here
  600 |                 scheduler = std::make_shared<SGMUniformScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'SimpleScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<SimpleScheduler, std::allocator<SimpleScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<SimpleScheduler, std::allocator<SimpleScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<SimpleScheduler, std::allocator<SimpleScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:604:34: note: in instantiation of function template specialization 'std::make_shared<SimpleScheduler, void>' requested here
  604 |                 scheduler = std::make_shared<SimpleScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'SmoothStepScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<SmoothStepScheduler, std::allocator<SmoothStepScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<SmoothStepScheduler, std::allocator<SmoothStepScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<SmoothStepScheduler, std::allocator<SmoothStepScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:608:34: note: in instantiation of function template specialization 'std::make_shared<SmoothStepScheduler, void>' requested here
  608 |                 scheduler = std::make_shared<SmoothStepScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'BongTangentScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<BongTangentScheduler, std::allocator<BongTangentScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<BongTangentScheduler, std::allocator<BongTangentScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<BongTangentScheduler, std::allocator<BongTangentScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:612:34: note: in instantiation of function template specialization 'std::make_shared<BongTangentScheduler, void>' requested here
  612 |                 scheduler = std::make_shared<BongTangentScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'KLOptimalScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<KLOptimalScheduler, std::allocator<KLOptimalScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<KLOptimalScheduler, std::allocator<KLOptimalScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<KLOptimalScheduler, std::allocator<KLOptimalScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:616:34: note: in instantiation of function template specialization 'std::make_shared<KLOptimalScheduler, void>' requested here
  616 |                 scheduler = std::make_shared<KLOptimalScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LCMScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LCMScheduler, std::allocator<LCMScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LCMScheduler, std::allocator<LCMScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LCMScheduler, std::allocator<LCMScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:620:34: note: in instantiation of function template specialization 'std::make_shared<LCMScheduler, void>' requested here
  620 |                 scheduler = std::make_shared<LCMScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTX2Scheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTX2Scheduler, std::allocator<LTX2Scheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTX2Scheduler, std::allocator<LTX2Scheduler>>::__shared_ptr_emplace<int &, const char *&>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTX2Scheduler, std::allocator<LTX2Scheduler>, int &, const char *&, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:624:34: note: in instantiation of function template specialization 'std::make_shared<LTX2Scheduler, int &, const char *&, void>' requested here
  624 |                 scheduler = std::make_shared<LTX2Scheduler>(image_seq_len, extra_sample_args);
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Qwen::TimestepEmbedding>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Qwen::TimestepEmbedding>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Qwen::TimestepEmbedding>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/qwen_image.hpp:50:43: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::TimestepEmbedding, void>' requested here
   50 |             blocks["timestep_embedder"] = std::shared_ptr<GGMLBlock>(new TimestepEmbedding(256, embedding_dim));
      |                                           ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Qwen::QwenImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Qwen::QwenImageAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Qwen::QwenImageAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Qwen::QwenImageAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/qwen_image.hpp:219:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenImageAttention, void>' requested here
  219 |             blocks["attn"] = std::shared_ptr<GGMLBlock>(new QwenImageAttention(dim,
      |                              ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Qwen::QwenTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Qwen::QwenTimestepProjEmbeddings>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Qwen::QwenTimestepProjEmbeddings>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Qwen::QwenTimestepProjEmbeddings>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/qwen_image.hpp:376:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenTimestepProjEmbeddings, void>' requested here
  376 |             blocks["time_text_embed"] = std::shared_ptr<GGMLBlock>(new QwenTimestepProjEmbeddings(inner_dim));
      |                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Qwen::QwenImageTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Qwen::QwenImageTransformerBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Qwen::QwenImageTransformerBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Qwen::QwenImageTransformerBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/qwen_image.hpp:383:69: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::QwenImageTransformerBlock, void>' requested here
  383 |                 auto block                                        = std::shared_ptr<GGMLBlock>(new QwenImageTransformerBlock(inner_dim,
      |                                                                     ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Qwen::AdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Qwen::AdaLayerNormContinuous>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Qwen::AdaLayerNormContinuous>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Qwen::AdaLayerNormContinuous>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/qwen_image.hpp:391:34: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Qwen::AdaLayerNormContinuous, void>' requested here
  391 |             blocks["norm_out"] = std::shared_ptr<GGMLBlock>(new AdaLayerNormContinuous(inner_dim, inner_dim, false, 1e-6f));
      |                                  ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ErnieImage::ErnieImageAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ErnieImage::ErnieImageAttention, std::allocator<ErnieImage::ErnieImageAttention>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ErnieImage::ErnieImageAttention, std::allocator<ErnieImage::ErnieImageAttention>>::__shared_ptr_emplace<long long &, long long &, long long, float &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ErnieImage::ErnieImageAttention, std::allocator<ErnieImage::ErnieImageAttention>, long long &, long long &, long long, float &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ernie_image.hpp:150:45: note: in instantiation of function template specialization 'std::make_shared<ErnieImage::ErnieImageAttention, long long &, long long &, long long, float &, void>' requested here
  150 |             blocks["self_attention"] = std::make_shared<ErnieImageAttention>(hidden_size,
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ErnieImage::ErnieImageFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ErnieImage::ErnieImageFeedForward, std::allocator<ErnieImage::ErnieImageFeedForward>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ErnieImage::ErnieImageFeedForward, std::allocator<ErnieImage::ErnieImageFeedForward>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ErnieImage::ErnieImageFeedForward, std::allocator<ErnieImage::ErnieImageFeedForward>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ernie_image.hpp:155:45: note: in instantiation of function template specialization 'std::make_shared<ErnieImage::ErnieImageFeedForward, long long &, long long &, void>' requested here
  155 |             blocks["mlp"]            = std::make_shared<ErnieImageFeedForward>(hidden_size, ffn_hidden_size);
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Qwen::TimestepEmbedding' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Qwen::TimestepEmbedding, std::allocator<Qwen::TimestepEmbedding>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Qwen::TimestepEmbedding, std::allocator<Qwen::TimestepEmbedding>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Qwen::TimestepEmbedding, std::allocator<Qwen::TimestepEmbedding>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ernie_image.hpp:243:49: note: in instantiation of function template specialization 'std::make_shared<Qwen::TimestepEmbedding, long long &, long long &, void>' requested here
  243 |             blocks["time_embedding"]     = std::make_shared<Qwen::TimestepEmbedding>(params.hidden_size, params.hidden_size);
      |                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ErnieImage::ErnieImageSharedAdaLNBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ErnieImage::ErnieImageSharedAdaLNBlock, std::allocator<ErnieImage::ErnieImageSharedAdaLNBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ErnieImage::ErnieImageSharedAdaLNBlock, std::allocator<ErnieImage::ErnieImageSharedAdaLNBlock>>::__shared_ptr_emplace<long long &, long long &, long long &, float &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ErnieImage::ErnieImageSharedAdaLNBlock, std::allocator<ErnieImage::ErnieImageSharedAdaLNBlock>, long long &, long long &, long long &, float &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ernie_image.hpp:247:62: note: in instantiation of function template specialization 'std::make_shared<ErnieImage::ErnieImageSharedAdaLNBlock, long long &, long long &, long long &, float &, void>' requested here
  247 |                 blocks["layers." + std::to_string(i)] = std::make_shared<ErnieImageSharedAdaLNBlock>(params.hidden_size,
      |                                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ErnieImage::ErnieImageAdaLNContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ErnieImage::ErnieImageAdaLNContinuous, std::allocator<ErnieImage::ErnieImageAdaLNContinuous>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ErnieImage::ErnieImageAdaLNContinuous, std::allocator<ErnieImage::ErnieImageAdaLNContinuous>>::__shared_ptr_emplace<long long &, float &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ErnieImage::ErnieImageAdaLNContinuous, std::allocator<ErnieImage::ErnieImageAdaLNContinuous>, long long &, float &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ernie_image.hpp:253:43: note: in instantiation of function template specialization 'std::make_shared<ErnieImage::ErnieImageAdaLNContinuous, long long &, float &, void>' requested here
  253 |             blocks["final_norm"]   = std::make_shared<ErnieImageAdaLNContinuous>(params.hidden_size, params.eps);
      |                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<ResidualDenseBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<ResidualDenseBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<ResidualDenseBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<ResidualDenseBlock, void>' requested here
   62 |         blocks["rdb1"] = std::shared_ptr<GGMLBlock>(new ResidualDenseBlock(num_feat, num_grow_ch));
      |                          ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<RRDB>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<RRDB>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<RRDB>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<RRDB, void>' requested here
   99 |             blocks[name]     = std::shared_ptr<GGMLBlock>(new RRDB(num_feat, num_grow_ch));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'RRDBNet' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<RRDBNet>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<RRDBNet>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
sd/esrgan.hpp:163:5: note: in instantiation of member function 'std::unique_ptr<RRDBNet>::~unique_ptr' requested here
  163 |     ESRGAN(ggml_backend_t backend,
      |     ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LLM::TextModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LLM::TextModel, std::allocator<LLM::TextModel>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LLM::TextModel, std::allocator<LLM::TextModel>>::__shared_ptr_emplace<LLM::LLMParams &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LLM::TextModel, std::allocator<LLM::TextModel>, LLM::LLMParams &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/hidream_o1.hpp:245:45: note: in instantiation of function template specialization 'std::make_shared<LLM::TextModel, LLM::LLMParams &, void>' requested here
  245 |             blocks["language_model"] = std::make_shared<LLM::TextModel>(this->params.llm);
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'HiDreamO1::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<HiDreamO1::TimestepEmbedder, std::allocator<HiDreamO1::TimestepEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<HiDreamO1::TimestepEmbedder, std::allocator<HiDreamO1::TimestepEmbedder>>::__shared_ptr_emplace<long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<HiDreamO1::TimestepEmbedder, std::allocator<HiDreamO1::TimestepEmbedder>, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/hidream_o1.hpp:246:45: note: in instantiation of function template specialization 'std::make_shared<HiDreamO1::TimestepEmbedder, long long &, void>' requested here
  246 |             blocks["t_embedder1"]    = std::make_shared<TimestepEmbedder>(this->params.llm.hidden_size);
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'HiDreamO1::BottleneckPatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<HiDreamO1::BottleneckPatchEmbed, std::allocator<HiDreamO1::BottleneckPatchEmbed>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<HiDreamO1::BottleneckPatchEmbed, std::allocator<HiDreamO1::BottleneckPatchEmbed>>::__shared_ptr_emplace<int, long long, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<HiDreamO1::BottleneckPatchEmbed, std::allocator<HiDreamO1::BottleneckPatchEmbed>, int, long long, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/hidream_o1.hpp:247:45: note: in instantiation of function template specialization 'std::make_shared<HiDreamO1::BottleneckPatchEmbed, int, long long, long long &, void>' requested here
  247 |             blocks["x_embedder"]     = std::make_shared<BottleneckPatchEmbed>(this->params.patch_size * this->params.patch_size * 3,
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'HiDreamO1::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<HiDreamO1::FinalLayer, std::allocator<HiDreamO1::FinalLayer>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<HiDreamO1::FinalLayer, std::allocator<HiDreamO1::FinalLayer>>::__shared_ptr_emplace<long long &, int>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<HiDreamO1::FinalLayer, std::allocator<HiDreamO1::FinalLayer>, long long &, int, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/hidream_o1.hpp:250:45: note: in instantiation of function template specialization 'std::make_shared<HiDreamO1::FinalLayer, long long &, int, void>' requested here
  250 |             blocks["final_layer2"]   = std::make_shared<FinalLayer>(this->params.llm.hidden_size,
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LLM::VisionModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LLM::VisionModel, std::allocator<LLM::VisionModel>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LLM::VisionModel, std::allocator<LLM::VisionModel>>::__shared_ptr_emplace<bool, LLM::LLMVisionParams &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LLM::VisionModel, std::allocator<LLM::VisionModel>, bool, LLM::LLMVisionParams &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/hidream_o1.hpp:288:26: note: in instantiation of function template specialization 'std::make_shared<LLM::VisionModel, bool, LLM::LLMVisionParams &, void>' requested here
  288 |               model(std::make_shared<LLM::VisionModel>(false, params.llm.vision)) {
      |                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Lens::LensGateMLP' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Lens::LensGateMLP, std::allocator<Lens::LensGateMLP>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Lens::LensGateMLP, std::allocator<Lens::LensGateMLP>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Lens::LensGateMLP, std::allocator<Lens::LensGateMLP>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/lens.hpp:145:43: note: in instantiation of function template specialization 'std::make_shared<Lens::LensGateMLP, long long &, long long &, void>' requested here
  145 |             blocks["img_mlp"]      = std::make_shared<LensGateMLP>(dim, mlp_hidden_dim);
      |                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Lens::LensJointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Lens::LensJointAttention, std::allocator<Lens::LensJointAttention>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Lens::LensJointAttention, std::allocator<Lens::LensJointAttention>>::__shared_ptr_emplace<long long &, long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Lens::LensJointAttention, std::allocator<Lens::LensJointAttention>, long long &, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/lens.hpp:147:43: note: in instantiation of function template specialization 'std::make_shared<Lens::LensJointAttention, long long &, long long &, long long &, void>' requested here
  147 |             blocks["attn"]         = std::make_shared<LensJointAttention>(dim, attention_head_dim, num_attention_heads);
      |                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Lens::LensTimestepProjEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Lens::LensTimestepProjEmbeddings, std::allocator<Lens::LensTimestepProjEmbeddings>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Lens::LensTimestepProjEmbeddings, std::allocator<Lens::LensTimestepProjEmbeddings>>::__shared_ptr_emplace<long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Lens::LensTimestepProjEmbeddings, std::allocator<Lens::LensTimestepProjEmbeddings>, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/lens.hpp:234:46: note: in instantiation of function template specialization 'std::make_shared<Lens::LensTimestepProjEmbeddings, long long &, void>' requested here
  234 |             blocks["time_text_embed"] = std::make_shared<LensTimestepProjEmbeddings>(inner_dim);
      |                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Lens::LensTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Lens::LensTransformerBlock, std::allocator<Lens::LensTransformerBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Lens::LensTransformerBlock, std::allocator<Lens::LensTransformerBlock>>::__shared_ptr_emplace<long long &, long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Lens::LensTransformerBlock, std::allocator<Lens::LensTransformerBlock>, long long &, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/lens.hpp:241:74: note: in instantiation of function template specialization 'std::make_shared<Lens::LensTransformerBlock, long long &, long long &, long long &, void>' requested here
  241 |                 blocks["transformer_blocks." + std::to_string(i)] = std::make_shared<LensTransformerBlock>(inner_dim,
      |                                                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Lens::LensAdaLayerNormContinuous' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Lens::LensAdaLayerNormContinuous, std::allocator<Lens::LensAdaLayerNormContinuous>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Lens::LensAdaLayerNormContinuous, std::allocator<Lens::LensAdaLayerNormContinuous>>::__shared_ptr_emplace<long long &, float>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Lens::LensAdaLayerNormContinuous, std::allocator<Lens::LensAdaLayerNormContinuous>, long long &, float, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/lens.hpp:245:39: note: in instantiation of function template specialization 'std::make_shared<Lens::LensAdaLayerNormContinuous, long long &, float, void>' requested here
  245 |             blocks["norm_out"] = std::make_shared<LensAdaLayerNormContinuous>(inner_dim, 1e-6f);
      |                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::HeightCausalConv2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::HeightCausalConv2D, std::allocator<LTXV::HeightCausalConv2D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::HeightCausalConv2D, std::allocator<LTXV::HeightCausalConv2D>>::__shared_ptr_emplace<long long &, long long &, std::pair<int, int>>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::HeightCausalConv2D, std::allocator<LTXV::HeightCausalConv2D>, long long &, long long &, std::pair<int, int>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:461:35: note: in instantiation of function template specialization 'std::make_shared<LTXV::HeightCausalConv2D, long long &, long long &, std::pair<int, int>, void>' requested here
  461 |             blocks["conv"] = std::make_shared<HeightCausalConv2D>(channels, channels, std::pair<int, int>{3, 3});
      |                                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::PixelNorm2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::PixelNorm2D, std::allocator<LTXV::PixelNorm2D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::PixelNorm2D, std::allocator<LTXV::PixelNorm2D>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::PixelNorm2D, std::allocator<LTXV::PixelNorm2D>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:478:36: note: in instantiation of function template specialization 'std::make_shared<LTXV::PixelNorm2D, void>' requested here
  478 |             blocks["norm1"] = std::make_shared<PixelNorm2D>();
      |                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::SnakeBeta1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::SnakeBeta1D, std::allocator<LTXV::SnakeBeta1D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::SnakeBeta1D, std::allocator<LTXV::SnakeBeta1D>>::__shared_ptr_emplace<long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::SnakeBeta1D, std::allocator<LTXV::SnakeBeta1D>, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:641:34: note: in instantiation of function template specialization 'std::make_shared<LTXV::SnakeBeta1D, long long &, void>' requested here
  641 |             blocks["act"] = std::make_shared<SnakeBeta1D>(channels);
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::Activation1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::Activation1D, std::allocator<LTXV::Activation1D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::Activation1D, std::allocator<LTXV::Activation1D>>::__shared_ptr_emplace<long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::Activation1D, std::allocator<LTXV::Activation1D>, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:682:62: note: in instantiation of function template specialization 'std::make_shared<LTXV::Activation1D, long long &, void>' requested here
  682 |                 blocks["acts1." + std::to_string(i)]  = std::make_shared<Activation1D>(channels);
      |                                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::Conv1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::Conv1D, std::allocator<LTXV::Conv1D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::Conv1D, std::allocator<LTXV::Conv1D>>::__shared_ptr_emplace<long long &, long long &, int &, int, int, const int &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::Conv1D, std::allocator<LTXV::Conv1D>, long long &, long long &, int &, int, int, const int &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:684:62: note: in instantiation of function template specialization 'std::make_shared<LTXV::Conv1D, long long &, long long &, int &, int, int, const int &, void>' requested here
  684 |                 blocks["convs1." + std::to_string(i)] = std::make_shared<Conv1D>(channels,
      |                                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::ConvTranspose1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::ConvTranspose1D, std::allocator<LTXV::ConvTranspose1D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::ConvTranspose1D, std::allocator<LTXV::ConvTranspose1D>>::__shared_ptr_emplace<int &, int &, const int &, const int &, int>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::ConvTranspose1D, std::allocator<LTXV::ConvTranspose1D>, int &, int &, const int &, const int &, int, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:745:59: note: in instantiation of function template specialization 'std::make_shared<LTXV::ConvTranspose1D, int &, int &, const int &, const int &, int, void>' requested here
  745 |                 blocks["ups." + std::to_string(i)] = std::make_shared<ConvTranspose1D>(current_channels,
      |                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::AMPBlock1' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::AMPBlock1, std::allocator<LTXV::AMPBlock1>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::AMPBlock1, std::allocator<LTXV::AMPBlock1>>::__shared_ptr_emplace<int &, const int &, const std::vector<int> &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::AMPBlock1, std::allocator<LTXV::AMPBlock1>, int &, const int &, const std::vector<int> &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:751:82: note: in instantiation of function template specialization 'std::make_shared<LTXV::AMPBlock1, int &, const int &, const std::vector<int> &, void>' requested here
  751 |                     blocks["resblocks." + std::to_string(resblock_index)] = std::make_shared<AMPBlock1>(next_channels,
      |                                                                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::AudioResnetBlock2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::AudioResnetBlock2D, std::allocator<LTXV::AudioResnetBlock2D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::AudioResnetBlock2D, std::allocator<LTXV::AudioResnetBlock2D>>::__shared_ptr_emplace<int &, int &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::AudioResnetBlock2D, std::allocator<LTXV::AudioResnetBlock2D>, int &, int &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:816:42: note: in instantiation of function template specialization 'std::make_shared<LTXV::AudioResnetBlock2D, int &, int &, void>' requested here
  816 |             blocks["mid.block_1"] = std::make_shared<AudioResnetBlock2D>(block_in, block_in);
      |                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::AudioUpsample2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::AudioUpsample2D, std::allocator<LTXV::AudioUpsample2D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::AudioUpsample2D, std::allocator<LTXV::AudioUpsample2D>>::__shared_ptr_emplace<int &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::AudioUpsample2D, std::allocator<LTXV::AudioUpsample2D>, int &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:827:80: note: in instantiation of function template specialization 'std::make_shared<LTXV::AudioUpsample2D, int &, void>' requested here
  827 |                     blocks["up." + std::to_string(level) + ".upsample"] = std::make_shared<AudioUpsample2D>(block_in);
      |                                                                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::AudioDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::AudioDecoder, std::allocator<LTXV::AudioDecoder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::AudioDecoder, std::allocator<LTXV::AudioDecoder>>::__shared_ptr_emplace<const LTXV::LTXAudioVAEConfig &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::AudioDecoder, std::allocator<LTXV::AudioDecoder>, const LTXV::LTXAudioVAEConfig &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:908:48: note: in instantiation of function template specialization 'std::make_shared<LTXV::AudioDecoder, const LTXV::LTXAudioVAEConfig &, void>' requested here
  908 |             blocks["audio_vae.decoder"] = std::make_shared<AudioDecoder>(config);
      |                                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::Vocoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::Vocoder, std::allocator<LTXV::Vocoder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::Vocoder, std::allocator<LTXV::Vocoder>>::__shared_ptr_emplace<const LTXV::LTXAudioVAEConfig &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::Vocoder, std::allocator<LTXV::Vocoder>, const LTXV::LTXAudioVAEConfig &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_audio_vae.h:909:48: note: in instantiation of function template specialization 'std::make_shared<LTXV::Vocoder, const LTXV::LTXAudioVAEConfig &, void>' requested here
  909 |             blocks["vocoder.vocoder"]   = std::make_shared<Vocoder>(config);
      |                                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LTXVUpsampler::VideoGroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LTXVUpsampler::VideoGroupNorm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::VideoGroupNorm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::VideoGroupNorm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ltx_latent_upscaler.hpp:172:31: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::VideoGroupNorm, void>' requested here
  172 |             blocks["norm1"] = std::shared_ptr<GGMLBlock>(new VideoGroupNorm(32, channels));
      |                               ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LTXVUpsampler::PixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LTXVUpsampler::PixelShuffleND>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::PixelShuffleND>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::PixelShuffleND>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ltx_latent_upscaler.hpp:310:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::PixelShuffleND, void>' requested here
  310 |             blocks["pixel_shuffle"] = std::shared_ptr<GGMLBlock>(new PixelShuffleND(num));
      |                                       ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LTXVUpsampler::BlurDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LTXVUpsampler::BlurDownsample>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::BlurDownsample>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::BlurDownsample>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ltx_latent_upscaler.hpp:311:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::BlurDownsample, void>' requested here
  311 |             blocks["blur_down"]     = std::shared_ptr<GGMLBlock>(new BlurDownsample(mid_channels, den));
      |                                       ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LTXVUpsampler::ResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LTXVUpsampler::ResBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::ResBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::ResBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ltx_latent_upscaler.hpp:349:61: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::ResBlock, void>' requested here
  349 |                 blocks["res_blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new ResBlock(this->config.mid_channels, this->config.dims));
      |                                                             ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LTXVUpsampler::SpatialRationalResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LTXVUpsampler::SpatialRationalResampler>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::SpatialRationalResampler>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::SpatialRationalResampler>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ltx_latent_upscaler.hpp:352:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::SpatialRationalResampler, void>' requested here
  352 |                 blocks["upsampler"] = std::shared_ptr<GGMLBlock>(new SpatialRationalResampler(this->config.mid_channels,
      |                                       ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LTXVUpsampler::TemporalPixelShuffleND' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LTXVUpsampler::TemporalPixelShuffleND>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::TemporalPixelShuffleND>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::TemporalPixelShuffleND>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ltx_latent_upscaler.hpp:361:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<LTXVUpsampler::TemporalPixelShuffleND, void>' requested here
  361 |                 blocks["upsampler.1"] = std::shared_ptr<GGMLBlock>(new TemporalPixelShuffleND(this->config.temporal_up_factor));
      |                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'LTXVUpsampler::LatentUpsampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<LTXVUpsampler::LatentUpsampler>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::LatentUpsampler>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
sd/ltx_latent_upscaler.hpp:442:9: note: in instantiation of member function 'std::unique_ptr<LTXVUpsampler::LatentUpsampler>::~unique_ptr' requested here
  442 |         LatentUpsamplerRunner(ggml_backend_t backend,
      |         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::TimestepEmbedder, std::allocator<LTXV::TimestepEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::TimestepEmbedder, std::allocator<LTXV::TimestepEmbedder>>::__shared_ptr_emplace<long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::TimestepEmbedder, std::allocator<LTXV::TimestepEmbedder>, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:382:52: note: in instantiation of function template specialization 'std::make_shared<LTXV::TimestepEmbedder, long long &, void>' requested here
  382 |             blocks["emb.timestep_embedder"] = std::make_shared<TimestepEmbedder>(embedding_dim);
      |                                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::CrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::CrossAttention, std::allocator<LTXV::CrossAttention>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::CrossAttention, std::allocator<LTXV::CrossAttention>>::__shared_ptr_emplace<long long &, long long &, long long &, long long &, bool &, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::CrossAttention, std::allocator<LTXV::CrossAttention>, long long &, long long &, long long &, long long &, bool &, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:553:36: note: in instantiation of function template specialization 'std::make_shared<LTXV::CrossAttention, long long &, long long &, long long &, long long &, bool &, bool &, void>' requested here
  553 |             blocks["attn1"] = std::make_shared<CrossAttention>(dim, dim, n_heads, d_head, self_attention_gated, rope_interleaved);
      |                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<FeedForward, std::allocator<FeedForward>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<FeedForward, std::allocator<FeedForward>>::__shared_ptr_emplace<long long &, long long &, int, FeedForward::Activation>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<FeedForward, std::allocator<FeedForward>, long long &, long long &, int, FeedForward::Activation, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:555:36: note: in instantiation of function template specialization 'std::make_shared<FeedForward, long long &, long long &, int, FeedForward::Activation, void>' requested here
  555 |             blocks["ff"]    = std::make_shared<FeedForward>(dim, dim, 4, FeedForward::Activation::GELU);
      |                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::BasicTransformerBlock1D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::BasicTransformerBlock1D, std::allocator<LTXV::BasicTransformerBlock1D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::BasicTransformerBlock1D, std::allocator<LTXV::BasicTransformerBlock1D>>::__shared_ptr_emplace<long long &, long long &, long long &, bool &, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::BasicTransformerBlock1D, std::allocator<LTXV::BasicTransformerBlock1D>, long long &, long long &, long long &, bool &, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:703:26: note: in instantiation of function template specialization 'std::make_shared<LTXV::BasicTransformerBlock1D, long long &, long long &, long long &, bool &, bool &, void>' requested here
  703 |                     std::make_shared<BasicTransformerBlock1D>(hidden_size,
      |                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::AdaLayerNormSingle' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::AdaLayerNormSingle, std::allocator<LTXV::AdaLayerNormSingle>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::AdaLayerNormSingle, std::allocator<LTXV::AdaLayerNormSingle>>::__shared_ptr_emplace<long long &, int>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::AdaLayerNormSingle, std::allocator<LTXV::AdaLayerNormSingle>, long long &, int, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:1191:50: note: in instantiation of function template specialization 'std::make_shared<LTXV::AdaLayerNormSingle, long long &, int, void>' requested here
 1191 |             blocks["adaln_single"]        = std::make_shared<AdaLayerNormSingle>(cfg.hidden_size, cfg.cross_attention_adaln ? 9 : 6);
      |                                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::NormSingleLinearTextProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::NormSingleLinearTextProjection, std::allocator<LTXV::NormSingleLinearTextProjection>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::NormSingleLinearTextProjection, std::allocator<LTXV::NormSingleLinearTextProjection>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::NormSingleLinearTextProjection, std::allocator<LTXV::NormSingleLinearTextProjection>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:1205:61: note: in instantiation of function template specialization 'std::make_shared<LTXV::NormSingleLinearTextProjection, long long &, long long &, void>' requested here
 1205 |                         blocks["caption_projection"] = std::make_shared<NormSingleLinearTextProjection>(cfg.caption_channels, cfg.hidden_size);
      |                                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::PixArtAlphaTextProjection' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::PixArtAlphaTextProjection, std::allocator<LTXV::PixArtAlphaTextProjection>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::PixArtAlphaTextProjection, std::allocator<LTXV::PixArtAlphaTextProjection>>::__shared_ptr_emplace<long long &, long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::PixArtAlphaTextProjection, std::allocator<LTXV::PixArtAlphaTextProjection>, long long &, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:1208:57: note: in instantiation of function template specialization 'std::make_shared<LTXV::PixArtAlphaTextProjection, long long &, long long &, long long &, void>' requested here
 1208 |                     blocks["caption_projection"] = std::make_shared<PixArtAlphaTextProjection>(cfg.caption_channels, cfg.hidden_size, cfg.hidden_size);
      |                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::Embeddings1DConnector' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::Embeddings1DConnector, std::allocator<LTXV::Embeddings1DConnector>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::Embeddings1DConnector, std::allocator<LTXV::Embeddings1DConnector>>::__shared_ptr_emplace<long long &, long long &, long long &, long long &, long long &, bool &, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::Embeddings1DConnector, std::allocator<LTXV::Embeddings1DConnector>, long long &, long long &, long long &, long long &, long long &, bool &, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:1222:61: note: in instantiation of function template specialization 'std::make_shared<LTXV::Embeddings1DConnector, long long &, long long &, long long &, long long &, long long &, bool &, bool &, void>' requested here
 1222 |                 blocks["video_embeddings_connector"] = std::make_shared<Embeddings1DConnector>(cfg.connector_hidden_size,
      |                                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXV::BasicAVTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXV::BasicAVTransformerBlock, std::allocator<LTXV::BasicAVTransformerBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXV::BasicAVTransformerBlock, std::allocator<LTXV::BasicAVTransformerBlock>>::__shared_ptr_emplace<long long &, long long &, long long &, long long &, long long &, long long &, long long &, long long &, bool, bool &, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXV::BasicAVTransformerBlock, std::allocator<LTXV::BasicAVTransformerBlock>, long long &, long long &, long long &, long long &, long long &, long long &, long long &, long long &, bool, bool &, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltxv.hpp:1241:74: note: in instantiation of function template specialization 'std::make_shared<LTXV::BasicAVTransformerBlock, long long &, long long &, long long &, long long &, long long &, long long &, long long &, long long &, bool, bool &, bool &, void>' requested here
 1241 |                 blocks["transformer_blocks." + std::to_string(i)] = std::make_shared<BasicAVTransformerBlock>(cfg.hidden_size,
      |                                                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::CausalConv3d>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::CausalConv3d>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::CausalConv3d>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:139:39: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::CausalConv3d, void>' requested here
  139 |                 blocks["time_conv"] = std::shared_ptr<GGMLBlock>(new CausalConv3d(dim, dim * 2, {3, 1, 1}, {1, 1, 1}, {1, 0, 0}));
      |                                       ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::RMS_norm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::RMS_norm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::RMS_norm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::RMS_norm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:348:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::RMS_norm, void>' requested here
  348 |             blocks["residual.0"] = std::shared_ptr<GGMLBlock>(new RMS_norm(in_dim));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::AvgDown3D>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::AvgDown3D>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::AvgDown3D>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:420:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::AvgDown3D, void>' requested here
  420 |             blocks["avg_shortcut"] = std::shared_ptr<GGMLBlock>(new AvgDown3D(in_dim, out_dim, temperal_downsample ? 2 : 1, down_flag ? 2 : 1));
      |                                      ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::ResidualBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::ResidualBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::ResidualBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:424:62: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::ResidualBlock, void>' requested here
  424 |                 blocks["downsamples." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new ResidualBlock(in_dim, out_dim));
      |                                                              ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::Resample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::Resample>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::Resample>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::Resample>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:429:62: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Resample, void>' requested here
  429 |                 blocks["downsamples." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new Resample(out_dim, mode, true));
      |                                                              ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::DupUp3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::DupUp3D>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::DupUp3D>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::DupUp3D>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:481:42: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::DupUp3D, void>' requested here
  481 |                 blocks["avg_shortcut"] = std::shared_ptr<GGMLBlock>(new DupUp3D(in_dim, out_dim, temperal_upsample ? 2 : 1, up_flag ? 2 : 1));
      |                                          ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::Down_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::Down_ResidualBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::Down_ResidualBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::Down_ResidualBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:632:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Down_ResidualBlock, void>' requested here
  632 |                     auto block       = std::shared_ptr<GGMLBlock>(new Down_ResidualBlock(in_dim,
      |                                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::AttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::AttentionBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::AttentionBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::AttentionBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:655:34: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::AttentionBlock, void>' requested here
  655 |             blocks["middle.1"] = std::shared_ptr<GGMLBlock>(new AttentionBlock(out_dim));
      |                                  ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::Up_ResidualBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::Up_ResidualBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::Up_ResidualBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::Up_ResidualBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:801:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Up_ResidualBlock, void>' requested here
  801 |                     auto block     = std::shared_ptr<GGMLBlock>(new Up_ResidualBlock(in_dim,
      |                                      ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::Encoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::Encoder3d>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::Encoder3d>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::Encoder3d>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:969:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Encoder3d, void>' requested here
  969 |                 blocks["encoder"] = std::shared_ptr<GGMLBlock>(new Encoder3d(dim, z_dim * 2, dim_mult, num_res_blocks, temperal_downsample, wan2_2));
      |                                     ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::Decoder3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::Decoder3d>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::Decoder3d>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::Decoder3d>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:972:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Decoder3d, void>' requested here
  972 |             blocks["decoder"] = std::shared_ptr<GGMLBlock>(new Decoder3d(dec_dim, z_dim, dim_mult, num_res_blocks, temperal_upsample, wan2_2));
      |                                 ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Identity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Identity>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Identity>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Identity>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:1384:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Identity, void>' requested here
 1384 |                 blocks["norm_q"] = std::shared_ptr<GGMLBlock>(new Identity());
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::WanSelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::WanSelfAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::WanSelfAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::WanSelfAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:1586:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanSelfAttention, void>' requested here
 1586 |             blocks["self_attn"] = std::shared_ptr<GGMLBlock>(new WanSelfAttention(dim, num_heads, qk_norm, eps));
      |                                   ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::WanT2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::WanT2VCrossAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::WanT2VCrossAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::WanT2VCrossAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:1593:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanT2VCrossAttention, void>' requested here
 1593 |                 blocks["cross_attn"] = std::shared_ptr<GGMLBlock>(new WanT2VCrossAttention(dim, num_heads, qk_norm, eps));
      |                                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::WanI2VCrossAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::WanI2VCrossAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::WanI2VCrossAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::WanI2VCrossAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:1595:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanI2VCrossAttention, void>' requested here
 1595 |                 blocks["cross_attn"] = std::shared_ptr<GGMLBlock>(new WanI2VCrossAttention(dim, num_heads, qk_norm, eps));
      |                                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::WanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::WanAttentionBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::WanAttentionBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::WanAttentionBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:1853:57: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::WanAttentionBlock, void>' requested here
 1853 |                 auto block                            = std::shared_ptr<GGMLBlock>(new WanAttentionBlock(params.model_type == "t2v",
      |                                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::Head' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::Head>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::Head>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::Head>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:1864:30: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::Head, void>' requested here
 1864 |             blocks["head"] = std::shared_ptr<GGMLBlock>(new Head(params.dim, params.out_dim, params.patch_size, params.eps));
      |                              ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::MLPProj' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::MLPProj>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::MLPProj>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::MLPProj>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:1868:37: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::MLPProj, void>' requested here
 1868 |                 blocks["img_emb"] = std::shared_ptr<GGMLBlock>(new MLPProj(1280, params.dim, params.flf_pos_embed_token_number));
      |                                     ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WAN::VaceWanAttentionBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WAN::VaceWanAttentionBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WAN::VaceWanAttentionBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WAN::VaceWanAttentionBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/wan.hpp:1874:66: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WAN::VaceWanAttentionBlock, void>' requested here
 1874 |                     auto block                                 = std::shared_ptr<GGMLBlock>(new VaceWanAttentionBlock(params.model_type == "t2v",
      |                                                                  ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::PixelNorm3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::PixelNorm3D, std::allocator<LTXVAE::PixelNorm3D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::PixelNorm3D, std::allocator<LTXVAE::PixelNorm3D>>::__shared_ptr_emplace<float &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::PixelNorm3D, std::allocator<LTXVAE::PixelNorm3D>, float &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:243:36: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::PixelNorm3D, float &, void>' requested here
  243 |             blocks["norm1"] = std::make_shared<PixelNorm3D>(eps);
      |                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::CausalConv3d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::CausalConv3d, std::allocator<LTXVAE::CausalConv3d>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::CausalConv3d, std::allocator<LTXVAE::CausalConv3d>>::__shared_ptr_emplace<long long &, long long &, int>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::CausalConv3d, std::allocator<LTXVAE::CausalConv3d>, long long &, long long &, int, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:244:36: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::CausalConv3d, long long &, long long &, int, void>' requested here
  244 |             blocks["conv1"] = std::make_shared<CausalConv3d>(channels, channels, 3);
      |                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, std::allocator<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, std::allocator<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings>>::__shared_ptr_emplace<long long>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, std::allocator<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings>, long long, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:350:48: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::PixArtAlphaCombinedTimestepSizeEmbeddings, long long, void>' requested here
  350 |                 blocks["time_embedder"] = std::make_shared<PixArtAlphaCombinedTimestepSizeEmbeddings>(channels * 4);
      |                                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::ResnetBlock3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::ResnetBlock3D, std::allocator<LTXVAE::ResnetBlock3D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::ResnetBlock3D, std::allocator<LTXVAE::ResnetBlock3D>>::__shared_ptr_emplace<long long &, float, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::ResnetBlock3D, std::allocator<LTXVAE::ResnetBlock3D>, long long &, float, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:353:66: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::ResnetBlock3D, long long &, float, bool &, void>' requested here
  353 |                 blocks["res_blocks." + std::to_string(i)] = std::make_shared<ResnetBlock3D>(channels, 1e-6f, timestep_conditioning);
      |                                                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'WAN::AvgDown3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<WAN::AvgDown3D, std::allocator<WAN::AvgDown3D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<WAN::AvgDown3D, std::allocator<WAN::AvgDown3D>>::__shared_ptr_emplace<long long &, long long &, int &, int &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<WAN::AvgDown3D, std::allocator<WAN::AvgDown3D>, long long &, long long &, int &, int &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:503:46: note: in instantiation of function template specialization 'std::make_shared<WAN::AvgDown3D, long long &, long long &, int &, int &, void>' requested here
  503 |             blocks["skip_downsample"] = std::make_shared<WAN::AvgDown3D>(in_channels, out_channels, factor_t, factor_s);
      |                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::UNetMidBlock3D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::UNetMidBlock3D, std::allocator<LTXVAE::UNetMidBlock3D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::UNetMidBlock3D, std::allocator<LTXVAE::UNetMidBlock3D>>::__shared_ptr_emplace<long long &, const int &, bool>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::UNetMidBlock3D, std::allocator<LTXVAE::UNetMidBlock3D>, long long &, const int &, bool, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:800:79: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::UNetMidBlock3D, long long &, const int &, bool, void>' requested here
  800 |                     blocks["down_blocks." + std::to_string(block_idx)] = std::make_shared<UNetMidBlock3D>(channels,
      |                                                                               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::SpaceToDepthDownsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::SpaceToDepthDownsample, std::allocator<LTXVAE::SpaceToDepthDownsample>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::SpaceToDepthDownsample, std::allocator<LTXVAE::SpaceToDepthDownsample>>::__shared_ptr_emplace<long long &, long long &, int, int>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::SpaceToDepthDownsample, std::allocator<LTXVAE::SpaceToDepthDownsample>, long long &, long long &, int, int, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:805:79: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::SpaceToDepthDownsample, long long &, long long &, int, int, void>' requested here
  805 |                     blocks["down_blocks." + std::to_string(block_idx)] = std::make_shared<SpaceToDepthDownsample>(channels,
      |                                                                               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::DepthToSpaceUpsample' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::DepthToSpaceUpsample, std::allocator<LTXVAE::DepthToSpaceUpsample>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::DepthToSpaceUpsample, std::allocator<LTXVAE::DepthToSpaceUpsample>>::__shared_ptr_emplace<long long &, int, int, const int &, bool>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::DepthToSpaceUpsample, std::allocator<LTXVAE::DepthToSpaceUpsample>, long long &, int, int, const int &, bool, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:917:77: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::DepthToSpaceUpsample, long long &, int, int, const int &, bool, void>' requested here
  917 |                     blocks["up_blocks." + std::to_string(block_idx)] = std::make_shared<DepthToSpaceUpsample>(channels,
      |                                                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::Encoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::Encoder, std::allocator<LTXVAE::Encoder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::Encoder, std::allocator<LTXVAE::Encoder>>::__shared_ptr_emplace<int &, const OrderedMap<std::string, TensorStorage> &, const std::string &, int &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::Encoder, std::allocator<LTXVAE::Encoder>, int &, const OrderedMap<std::string, TensorStorage> &, const std::string &, int &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:1071:42: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::Encoder, int &, const OrderedMap<std::string, TensorStorage> &, const std::string &, int &, void>' requested here
 1071 |                 blocks["encoder"] = std::make_shared<Encoder>(version,
      |                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::Decoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::Decoder, std::allocator<LTXVAE::Decoder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::Decoder, std::allocator<LTXVAE::Decoder>>::__shared_ptr_emplace<int &, const OrderedMap<std::string, TensorStorage> &, const std::string &, int &, bool, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::Decoder, std::allocator<LTXVAE::Decoder>, int &, const OrderedMap<std::string, TensorStorage> &, const std::string &, int &, bool, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:1076:53: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::Decoder, int &, const OrderedMap<std::string, TensorStorage> &, const std::string &, int &, bool, bool &, void>' requested here
 1076 |             blocks["decoder"]                = std::make_shared<Decoder>(version,
      |                                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTXVAE::PerChannelStatistics' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTXVAE::PerChannelStatistics, std::allocator<LTXVAE::PerChannelStatistics>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTXVAE::PerChannelStatistics, std::allocator<LTXVAE::PerChannelStatistics>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTXVAE::PerChannelStatistics, std::allocator<LTXVAE::PerChannelStatistics>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/ltx_vae.hpp:1082:53: note: in instantiation of function template specialization 'std::make_shared<LTXVAE::PerChannelStatistics, void>' requested here
 1082 |             blocks["per_channel_statistics"] = std::make_shared<PerChannelStatistics>();
      |                                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'SelfAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<SelfAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<SelfAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<SelfAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/mmdit.hpp:255:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<SelfAttention, void>' requested here
  255 |         blocks["attn"]  = std::shared_ptr<GGMLBlock>(new SelfAttention(hidden_size, num_heads, qk_norm, qkv_bias, pre_only));
      |                           ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Mlp>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Mlp>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Mlp>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/mmdit.hpp:264:38: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Mlp, void>' requested here
  264 |             blocks["mlp"]          = std::shared_ptr<GGMLBlock>(new Mlp(hidden_size, mlp_hidden_dim));
      |                                      ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'DismantledBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<DismantledBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<DismantledBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<DismantledBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/mmdit.hpp:563:35: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<DismantledBlock, void>' requested here
  563 |         blocks["context_block"] = std::shared_ptr<GGMLBlock>(new DismantledBlock(hidden_size, num_heads, mlp_ratio, qk_norm, qkv_bias, pre_only, false));
      |                                   ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'PatchEmbed' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<PatchEmbed>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<PatchEmbed>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<PatchEmbed>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/mmdit.hpp:687:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<PatchEmbed, void>' requested here
  687 |         blocks["x_embedder"] = std::shared_ptr<GGMLBlock>(new PatchEmbed(input_size, patch_size, in_channels, hidden_size, true));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<TimestepEmbedder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<TimestepEmbedder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<TimestepEmbedder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/mmdit.hpp:688:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TimestepEmbedder, void>' requested here
  688 |         blocks["t_embedder"] = std::shared_ptr<GGMLBlock>(new TimestepEmbedder(hidden_size));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'VectorEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<VectorEmbedder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<VectorEmbedder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<VectorEmbedder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/mmdit.hpp:691:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<VectorEmbedder, void>' requested here
  691 |             blocks["y_embedder"] = std::shared_ptr<GGMLBlock>(new VectorEmbedder(adm_in_channels, hidden_size));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'JointBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<JointBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<JointBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<JointBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/mmdit.hpp:697:59: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<JointBlock, void>' requested here
  697 |             blocks["joint_blocks." + std::to_string(i)] = std::shared_ptr<GGMLBlock>(new JointBlock(hidden_size,
      |                                                           ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<FinalLayer>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<FinalLayer>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<FinalLayer>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/mmdit.hpp:706:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FinalLayer, void>' requested here
  706 |         blocks["final_layer"] = std::shared_ptr<GGMLBlock>(new FinalLayer(hidden_size, patch_size, out_channels));
      |                                 ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::MMDiTJointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::MMDiTJointAttention, std::allocator<Pid::MMDiTJointAttention>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::MMDiTJointAttention, std::allocator<Pid::MMDiTJointAttention>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::MMDiTJointAttention, std::allocator<Pid::MMDiTJointAttention>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:277:53: note: in instantiation of function template specialization 'std::make_shared<Pid::MMDiTJointAttention, long long &, long long &, void>' requested here
  277 |             blocks["attn"]                   = std::make_shared<MMDiTJointAttention>(hidden_size, groups);
      |                                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::FeedForward, std::allocator<Pid::FeedForward>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::FeedForward, std::allocator<Pid::FeedForward>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::FeedForward, std::allocator<Pid::FeedForward>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:280:53: note: in instantiation of function template specialization 'std::make_shared<Pid::FeedForward, long long &, long long &, void>' requested here
  280 |             blocks["mlp_x"]                  = std::make_shared<FeedForward>(hidden_size, mlp_hidden_dim);
      |                                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::RotaryAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::RotaryAttention, std::allocator<Pid::RotaryAttention>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::RotaryAttention, std::allocator<Pid::RotaryAttention>>::__shared_ptr_emplace<long long &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::RotaryAttention, std::allocator<Pid::RotaryAttention>, long long &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:373:49: note: in instantiation of function template specialization 'std::make_shared<Pid::RotaryAttention, long long &, long long &, void>' requested here
  373 |             blocks["attn"]               = std::make_shared<RotaryAttention>(attn_dim, num_heads);
      |                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Mlp' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Mlp, std::allocator<Mlp>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Mlp, std::allocator<Mlp>>::__shared_ptr_emplace<long long &, long long>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Mlp, std::allocator<Mlp>, long long &, long long, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:375:49: note: in instantiation of function template specialization 'std::make_shared<Mlp, long long &, long long, void>' requested here
  375 |             blocks["mlp"]                = std::make_shared<Mlp>(pixel_dim, pixel_dim * 4);
      |                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<GroupNorm, std::allocator<GroupNorm>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<GroupNorm, std::allocator<GroupNorm>>::__shared_ptr_emplace<int, long long &, float>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<GroupNorm, std::allocator<GroupNorm>, int, long long &, float, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:449:38: note: in instantiation of function template specialization 'std::make_shared<GroupNorm, int, long long &, float, void>' requested here
  449 |             blocks["block.0"] = std::make_shared<GroupNorm>(4, channels, 1e-5f);
      |                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::PiDResBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::PiDResBlock, std::allocator<Pid::PiDResBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::PiDResBlock, std::allocator<Pid::PiDResBlock>>::__shared_ptr_emplace<const long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::PiDResBlock, std::allocator<Pid::PiDResBlock>, const long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:476:71: note: in instantiation of function template specialization 'std::make_shared<Pid::PiDResBlock, const long long &, void>' requested here
  476 |                 blocks["latent_proj." + std::to_string(3 + i)] = std::make_shared<PiDResBlock>(params_cfg.lq_hidden_dim);
      |                                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::SigmaAwareGate' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::SigmaAwareGate, std::allocator<Pid::SigmaAwareGate>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::SigmaAwareGate, std::allocator<Pid::SigmaAwareGate>>::__shared_ptr_emplace<const long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::SigmaAwareGate, std::allocator<Pid::SigmaAwareGate>, const long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:482:68: note: in instantiation of function template specialization 'std::make_shared<Pid::SigmaAwareGate, const long long &, void>' requested here
  482 |                 blocks["gate_modules." + std::to_string(i)] = std::make_shared<SigmaAwareGate>(params_cfg.hidden_size);
      |                                                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::PixelTokenEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::PixelTokenEmbedder, std::allocator<Pid::PixelTokenEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::PixelTokenEmbedder, std::allocator<Pid::PixelTokenEmbedder>>::__shared_ptr_emplace<const long long &, const long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::PixelTokenEmbedder, std::allocator<Pid::PixelTokenEmbedder>, const long long &, const long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:554:45: note: in instantiation of function template specialization 'std::make_shared<Pid::PixelTokenEmbedder, const long long &, const long long &, void>' requested here
  554 |             blocks["pixel_embedder"] = std::make_shared<PixelTokenEmbedder>(params_cfg.in_channels, params_cfg.pixel_hidden_size);
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::PatchTokenEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::PatchTokenEmbedder, std::allocator<Pid::PatchTokenEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::PatchTokenEmbedder, std::allocator<Pid::PatchTokenEmbedder>>::__shared_ptr_emplace<long long, const long long &, bool, bool>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::PatchTokenEmbedder, std::allocator<Pid::PatchTokenEmbedder>, long long, const long long &, bool, bool, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:555:45: note: in instantiation of function template specialization 'std::make_shared<Pid::PatchTokenEmbedder, long long, const long long &, bool, bool, void>' requested here
  555 |             blocks["s_embedder"]     = std::make_shared<PatchTokenEmbedder>(params_cfg.in_channels * params_cfg.patch_size * params_cfg.patch_size, params_cfg.hidden_size, false, true);
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::PixelDiTTimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::PixelDiTTimestepEmbedder, std::allocator<Pid::PixelDiTTimestepEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::PixelDiTTimestepEmbedder, std::allocator<Pid::PixelDiTTimestepEmbedder>>::__shared_ptr_emplace<const long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::PixelDiTTimestepEmbedder, std::allocator<Pid::PixelDiTTimestepEmbedder>, const long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:556:45: note: in instantiation of function template specialization 'std::make_shared<Pid::PixelDiTTimestepEmbedder, const long long &, void>' requested here
  556 |             blocks["t_embedder"]     = std::make_shared<PixelDiTTimestepEmbedder>(params_cfg.hidden_size);
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::MMDiTBlockT2I' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::MMDiTBlockT2I, std::allocator<Pid::MMDiTBlockT2I>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::MMDiTBlockT2I, std::allocator<Pid::MMDiTBlockT2I>>::__shared_ptr_emplace<const long long &, const long long &, const long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::MMDiTBlockT2I, std::allocator<Pid::MMDiTBlockT2I>, const long long &, const long long &, const long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:559:68: note: in instantiation of function template specialization 'std::make_shared<Pid::MMDiTBlockT2I, const long long &, const long long &, const long long &, void>' requested here
  559 |                 blocks["patch_blocks." + std::to_string(i)] = std::make_shared<MMDiTBlockT2I>(params_cfg.hidden_size, params_cfg.num_groups, params_cfg.patch_mlp_hidden_dim);
      |                                                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::PiTBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::PiTBlock, std::allocator<Pid::PiTBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::PiTBlock, std::allocator<Pid::PiTBlock>>::__shared_ptr_emplace<const long long &, const long long &, const long long &, const long long &, const long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::PiTBlock, std::allocator<Pid::PiTBlock>, const long long &, const long long &, const long long &, const long long &, const long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:562:68: note: in instantiation of function template specialization 'std::make_shared<Pid::PiTBlock, const long long &, const long long &, const long long &, const long long &, const long long &, void>' requested here
  562 |                 blocks["pixel_blocks." + std::to_string(i)] = std::make_shared<PiTBlock>(params_cfg.pixel_hidden_size,
      |                                                                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::FinalLayer, std::allocator<Pid::FinalLayer>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::FinalLayer, std::allocator<Pid::FinalLayer>>::__shared_ptr_emplace<const long long &, const long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::FinalLayer, std::allocator<Pid::FinalLayer>, const long long &, const long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:568:42: note: in instantiation of function template specialization 'std::make_shared<Pid::FinalLayer, const long long &, const long long &, void>' requested here
  568 |             blocks["final_layer"] = std::make_shared<FinalLayer>(params_cfg.pixel_hidden_size, params_cfg.in_channels);
      |                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Pid::LQProjection2D' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Pid::LQProjection2D, std::allocator<Pid::LQProjection2D>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Pid::LQProjection2D, std::allocator<Pid::LQProjection2D>>::__shared_ptr_emplace<const Pid::PixelDiTParams &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Pid::LQProjection2D, std::allocator<Pid::LQProjection2D>, const Pid::PixelDiTParams &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/pid.hpp:569:42: note: in instantiation of function template specialization 'std::make_shared<Pid::LQProjection2D, const Pid::PixelDiTParams &, void>' requested here
  569 |             blocks["lq_proj"]     = std::make_shared<LQProjection2D>(params_cfg);
      |                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'PerceiverAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<PerceiverAttention>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<PerceiverAttention>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<PerceiverAttention>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/pmid.hpp:173:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<PerceiverAttention, void>' requested here
  173 |             blocks[name]     = std::shared_ptr<GGMLBlock>(new PerceiverAttention(dim, dim_head, heads));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'PMFeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<PMFeedForward>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<PMFeedForward>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<PMFeedForward>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/pmid.hpp:175:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<PMFeedForward, void>' requested here
  175 |             blocks[name]     = std::shared_ptr<GGMLBlock>(new PMFeedForward(dim, ff_mult));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'FacePerceiverResampler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<FacePerceiverResampler>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<FacePerceiverResampler>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<FacePerceiverResampler>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/pmid.hpp:218:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FacePerceiverResampler, void>' requested here
  218 |         blocks["perceiver_resampler"] = std::shared_ptr<GGMLBlock>(new FacePerceiverResampler(
      |                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'FuseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<FuseBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<FuseBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<FuseBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/pmid.hpp:254:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FuseBlock, void>' requested here
  254 |         blocks["mlp1"]       = std::shared_ptr<GGMLBlock>(new FuseBlock(imb_d * 2, imb_d, imb_d, false));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'FuseModule' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<FuseModule>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<FuseModule>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<FuseModule>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/pmid.hpp:317:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<FuseModule, void>' requested here
  317 |         blocks["fuse_module"]         = std::shared_ptr<GGMLBlock>(new FuseModule(2048));
      |                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'QFormerPerceiver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<QFormerPerceiver>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<QFormerPerceiver>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<QFormerPerceiver>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/pmid.hpp:363:41: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<QFormerPerceiver, void>' requested here
  363 |         blocks["qformer_perceiver"]   = std::shared_ptr<GGMLBlock>(new QFormerPerceiver(id_embeddings_dim,
      |                                         ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'GroupNorm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<GroupNorm>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<GroupNorm>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<GroupNorm>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:33:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<GroupNorm, void>' requested here
   33 |             blocks["pool.1"] = std::shared_ptr<GGMLBlock>(new GroupNorm(4, n_gn));
      |                                ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'TAEBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<TAEBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<TAEBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<TAEBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:89:43: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TAEBlock, void>' requested here
   89 |         blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TAEBlock(channels, channels));
      |                                           ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Conv2d_grouped' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Conv2d_grouped>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Conv2d_grouped>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Conv2d_grouped>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:270:28: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv2d_grouped, void>' requested here
  270 |         blocks["conv.2"] = std::shared_ptr<GGMLBlock>(new Conv2d_grouped(out_channels, out_channels, groups, {3, 3}, {1, 1}, {1, 1}));
      |                            ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/tokenizers/tokenize_util.cpp -o sd/tokenizers/tokenize_util.o
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'TPool' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<TPool>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<TPool>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<TPool>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:383:47: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TPool, void>' requested here
  383 |             blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TPool(hidden, stride));
      |                                               ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'MemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<MemBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<MemBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<MemBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:386:51: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<MemBlock, void>' requested here
  386 |                 blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new MemBlock(hidden, hidden));
      |                                                   ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'WideMemBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<WideMemBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<WideMemBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<WideMemBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:454:55: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<WideMemBlock, void>' requested here
  454 |                     blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new WideMemBlock(channels[i], channels[i]));
      |                                                       ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'TGrow' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<TGrow>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<TGrow>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<TGrow>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:460:47: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TGrow, void>' requested here
  460 |             blocks[std::to_string(index++)] = std::shared_ptr<GGMLBlock>(new TGrow(channels[i], stride));
      |                                               ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'TinyVideoDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<TinyVideoDecoder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<TinyVideoDecoder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<TinyVideoDecoder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:537:29: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyVideoDecoder, void>' requested here
  537 |         blocks["decoder"] = std::shared_ptr<GGMLBlock>(new TinyVideoDecoder(z_channels, patch, time_upscale, is_wide));
      |                             ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'TinyVideoEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<TinyVideoEncoder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<TinyVideoEncoder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<TinyVideoEncoder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:539:33: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyVideoEncoder, void>' requested here
  539 |             blocks["encoder"] = std::shared_ptr<GGMLBlock>(new TinyVideoEncoder(z_channels, patch, time_downscale));
      |                                 ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'TinyDecoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<TinyDecoder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<TinyDecoder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<TinyDecoder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:596:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyDecoder, void>' requested here
  596 |         blocks["decoder.layers"] = std::shared_ptr<GGMLBlock>(new TinyDecoder(z_channels, use_midblock_gn));
      |                                    ^
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'TinyEncoder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<TinyEncoder>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<TinyEncoder>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<TinyEncoder>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/tae.hpp:599:40: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<TinyEncoder, void>' requested here
  599 |             blocks["encoder.layers"] = std::shared_ptr<GGMLBlock>(new TinyEncoder(z_channels, use_midblock_gn));
      |                                        ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/tokenizers/vocab/vocab.cpp -o sd/tokenizers/vocab/vocab.o
In file included from sd/stable-diffusion.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ZImage::JointAttention' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ZImage::JointAttention, std::allocator<ZImage::JointAttention>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ZImage::JointAttention, std::allocator<ZImage::JointAttention>>::__shared_ptr_emplace<long long &, long long &, long long &, long long &, bool &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ZImage::JointAttention, std::allocator<ZImage::JointAttention>, long long &, long long &, long long &, long long &, bool &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/z_image.hpp:170:46: note: in instantiation of function template specialization 'std::make_shared<ZImage::JointAttention, long long &, long long &, long long &, long long &, bool &, void>' requested here
  170 |             blocks["attention"]       = std::make_shared<JointAttention>(hidden_size, head_dim, num_heads, num_kv_heads, qk_norm);
      |                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ZImage::FeedForward' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ZImage::FeedForward, std::allocator<ZImage::FeedForward>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ZImage::FeedForward, std::allocator<ZImage::FeedForward>>::__shared_ptr_emplace<long long &, long long &, long long &, float &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ZImage::FeedForward, std::allocator<ZImage::FeedForward>, long long &, long long &, long long &, float &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/z_image.hpp:171:46: note: in instantiation of function template specialization 'std::make_shared<ZImage::FeedForward, long long &, long long &, long long &, float &, void>' requested here
  171 |             blocks["feed_forward"]    = std::make_shared<FeedForward>(hidden_size, hidden_size, multiple_of, ffn_dim_multiplier);
      |                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'TimestepEmbedder' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<TimestepEmbedder, std::allocator<TimestepEmbedder>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<TimestepEmbedder, std::allocator<TimestepEmbedder>>::__shared_ptr_emplace<long long, int, int>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<TimestepEmbedder, std::allocator<TimestepEmbedder>, long long, int, int, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/z_image.hpp:300:45: note: in instantiation of function template specialization 'std::make_shared<TimestepEmbedder, long long, int, int, void>' requested here
  300 |             blocks["t_embedder"]     = std::make_shared<TimestepEmbedder>(MIN(z_image_params.hidden_size, 1024), 256, 256);
      |                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ZImage::JointTransformerBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ZImage::JointTransformerBlock, std::allocator<ZImage::JointTransformerBlock>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ZImage::JointTransformerBlock, std::allocator<ZImage::JointTransformerBlock>>::__shared_ptr_emplace<int &, long long &, long long &, long long &, long long &, long long &, float &, float &, bool &, bool>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ZImage::JointTransformerBlock, std::allocator<ZImage::JointTransformerBlock>, int &, long long &, long long &, long long &, long long &, long long &, float &, float &, bool &, bool, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/z_image.hpp:305:35: note: in instantiation of function template specialization 'std::make_shared<ZImage::JointTransformerBlock, int &, long long &, long long &, long long &, long long &, long long &, float &, float &, bool &, bool, void>' requested here
  305 |                 auto block = std::make_shared<JointTransformerBlock>(i,
      |                                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ZImage::FinalLayer' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ZImage::FinalLayer, std::allocator<ZImage::FinalLayer>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ZImage::FinalLayer, std::allocator<ZImage::FinalLayer>>::__shared_ptr_emplace<long long &, int &, long long &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ZImage::FinalLayer, std::allocator<ZImage::FinalLayer>, long long &, int &, long long &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/z_image.hpp:349:42: note: in instantiation of function template specialization 'std::make_shared<ZImage::FinalLayer, long long &, int &, long long &, void>' requested here
  349 |             blocks["final_layer"] = std::make_shared<FinalLayer>(z_image_params.hidden_size, z_image_params.patch_size, z_image_params.out_channels);
      |                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/upscaler.cpp -o sd/upscaler.o
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'STDDefaultRNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<STDDefaultRNG, std::allocator<STDDefaultRNG>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<STDDefaultRNG, std::allocator<STDDefaultRNG>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<STDDefaultRNG, std::allocator<STDDefaultRNG>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:251:25: note: in instantiation of function template specialization 'std::make_shared<STDDefaultRNG, void>' requested here
  251 |             return std::make_shared<STDDefaultRNG>();
      |                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'MT19937RNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<MT19937RNG, std::allocator<MT19937RNG>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<MT19937RNG, std::allocator<MT19937RNG>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<MT19937RNG, std::allocator<MT19937RNG>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:253:25: note: in instantiation of function template specialization 'std::make_shared<MT19937RNG, void>' requested here
  253 |             return std::make_shared<MT19937RNG>();
      |                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'PhiloxRNG' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<PhiloxRNG, std::allocator<PhiloxRNG>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<PhiloxRNG, std::allocator<PhiloxRNG>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<PhiloxRNG, std::allocator<PhiloxRNG>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:255:25: note: in instantiation of function template specialization 'std::make_shared<PhiloxRNG, void>' requested here
  255 |             return std::make_shared<PhiloxRNG>();
      |                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'CompVisVDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<CompVisVDenoiser, std::allocator<CompVisVDenoiser>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<CompVisVDenoiser, std::allocator<CompVisVDenoiser>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<CompVisVDenoiser, std::allocator<CompVisVDenoiser>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:1296:37: note: in instantiation of function template specialization 'std::make_shared<CompVisVDenoiser, void>' requested here
 1296 |                     denoiser = std::make_shared<CompVisVDenoiser>();
      |                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'EDMVDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<EDMVDenoiser, std::allocator<EDMVDenoiser>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<EDMVDenoiser, std::allocator<EDMVDenoiser>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<EDMVDenoiser, std::allocator<EDMVDenoiser>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:1300:37: note: in instantiation of function template specialization 'std::make_shared<EDMVDenoiser, void>' requested here
 1300 |                     denoiser = std::make_shared<EDMVDenoiser>();
      |                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'FluxFlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<FluxFlowDenoiser, std::allocator<FluxFlowDenoiser>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<FluxFlowDenoiser, std::allocator<FluxFlowDenoiser>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<FluxFlowDenoiser, std::allocator<FluxFlowDenoiser>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:1305:41: note: in instantiation of function template specialization 'std::make_shared<FluxFlowDenoiser, void>' requested here
 1305 |                         denoiser = std::make_shared<FluxFlowDenoiser>();
      |                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'DiscreteFlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<DiscreteFlowDenoiser, std::allocator<DiscreteFlowDenoiser>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<DiscreteFlowDenoiser, std::allocator<DiscreteFlowDenoiser>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<DiscreteFlowDenoiser, std::allocator<DiscreteFlowDenoiser>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:1308:41: note: in instantiation of function template specialization 'std::make_shared<DiscreteFlowDenoiser, void>' requested here
 1308 |                         denoiser = std::make_shared<DiscreteFlowDenoiser>();
      |                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'Flux2FlowDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<Flux2FlowDenoiser, std::allocator<Flux2FlowDenoiser>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<Flux2FlowDenoiser, std::allocator<Flux2FlowDenoiser>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<Flux2FlowDenoiser, std::allocator<Flux2FlowDenoiser>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:1319:37: note: in instantiation of function template specialization 'std::make_shared<Flux2FlowDenoiser, void>' requested here
 1319 |                     denoiser = std::make_shared<Flux2FlowDenoiser>();
      |                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'MultiLoraAdapter' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<MultiLoraAdapter, std::allocator<MultiLoraAdapter>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<MultiLoraAdapter, std::allocator<MultiLoraAdapter>>::__shared_ptr_emplace<std::vector<std::shared_ptr<LoraModel>> &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<MultiLoraAdapter, std::allocator<MultiLoraAdapter>, std::vector<std::shared_ptr<LoraModel>> &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:1499:48: note: in instantiation of function template specialization 'std::make_shared<MultiLoraAdapter, std::vector<std::shared_ptr<LoraModel>> &, void>' requested here
 1499 |                 auto multi_lora_adapter = std::make_shared<MultiLoraAdapter>(cond_stage_lora_models);
      |                                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/util.cpp -o sd/util.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/version.cpp -o sd/version.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
sd/ggml_extend.hpp:375:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable]
  375 |     int32_t nelements = 1;
      |             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'CompVisDenoiser' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<CompVisDenoiser, std::allocator<CompVisDenoiser>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<CompVisDenoiser, std::allocator<CompVisDenoiser>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<CompVisDenoiser, std::allocator<CompVisDenoiser>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/stable-diffusion.cpp:205:47: note: in instantiation of function template specialization 'std::make_shared<CompVisDenoiser, void>' requested here
  205 |     std::shared_ptr<Denoiser> denoiser = std::make_shared<CompVisDenoiser>();
      |                                               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
sd/stable-diffusion.cpp:5405:18: warning: unused function 'ggml_to_sd_tensor' [-Wunused-function]
 5405 | static sd_tensor ggml_to_sd_tensor(const struct ggml_tensor* g) {
      |                  ^~~~~~~~~~~~~~~~~
sd/stable-diffusion.cpp:5427:28: warning: unused function 'sd_tensor_to_ggml' [-Wunused-function]
 5427 | static struct ggml_tensor* sd_tensor_to_ggml(struct ggml_context* ctx, const sd_tensor* t) {
      |                            ^~~~~~~~~~~~~~~~~
sd/stable-diffusion.cpp:5476:29: warning: unused function 'sd_lowlevel_work_ctx' [-Wunused-function]
 5476 | static struct ggml_context* sd_lowlevel_work_ctx(size_t mem_size) {
      |                             ^~~~~~~~~~~~~~~~~~~~
sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable]
 2814 |             int64_t t_segment_begin = ggml_time_ms();
      |                     ^~~~~~~~~~~~~~~
In file included from sd/util.cpp:14:
In file included from sd/preprocessing.hpp:7:
sd/ggml_extend.hpp:375:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable]
  375 |     int32_t nelements = 1;
      |             ^
sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable]
 2814 |             int64_t t_segment_begin = ggml_time_ms();
      |                     ^~~~~~~~~~~~~~~
sd/util.cpp:246:10: warning: unused variable 'cfg_flags' [-Wunused-variable]
  246 |     auto cfg_flags = get_mmap_flags();
      |          ^~~~~~~~~
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/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Linear>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Linear>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Linear>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
 3987 |             blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
      |                                    ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Conv2d' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Conv2d>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Conv2d>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Conv2d>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/esrgan.hpp:23:27: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Conv2d, void>' requested here
   23 |         blocks["conv1"] = std::shared_ptr<GGMLBlock>(new Conv2d(num_feat, num_grow_ch, {3, 3}, {1, 1}, {1, 1}));
      |                           ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'ResidualDenseBlock' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<ResidualDenseBlock>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<ResidualDenseBlock>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<ResidualDenseBlock>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/esrgan.hpp:62:26: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<ResidualDenseBlock, void>' requested here
   62 |         blocks["rdb1"] = std::shared_ptr<GGMLBlock>(new ResidualDenseBlock(num_feat, num_grow_ch));
      |                          ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'RRDB' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<RRDB>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<RRDB>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<RRDB>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/esrgan.hpp:99:32: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<RRDB, void>' requested here
   99 |             blocks[name]     = std::shared_ptr<GGMLBlock>(new RRDB(num_feat, num_grow_ch));
      |                                ^
In file included from sd/upscaler.cpp:1:
In file included from sd/upscaler.h:4:
In file included from sd/esrgan.hpp:4:
In file included from sd/ggml_extend.hpp:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'RRDBNet' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<RRDBNet>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<RRDBNet>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
sd/esrgan.hpp:163:5: note: in instantiation of member function 'std::unique_ptr<RRDBNet>::~unique_ptr' requested here
  163 |     ESRGAN(ggml_backend_t backend,
      |     ^
In file included from sd/util.cpp:1:
In file included from sd/util.h:5:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:31:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Linear>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Linear>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Linear>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
 3987 |             blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
      |                                    ^
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/ggml_graph_cut.cpp -o sd/ggml_graph_cut.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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]
  721 |         int64_t t_prepare_begin = ggml_time_ms();
      |                 ^~~~~~~~~~~~~~~
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/guidance.cpp -o sd/guidance.o
In file included from sd/ggml_graph_cut.cpp:16:
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:90:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
   90 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:147:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
  147 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:153:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function]
  153 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:158:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function]
  158 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:163:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function]
  163 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:168:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function]
  168 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:205:15: warning: unused function 'ggml_bitset_size' [-Wunused-function]
  205 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:274:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
  274 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:279:15: warning: unused function 'ggml_hash_insert' [-Wunused-function]
  279 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include/ggml-impl.h:300:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function]
  300 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sd/sample-cache.cpp -o sd/sample-cache.o
clang++ -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/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:
In file included from sd/cache_dit.hpp:12:
sd/ggml_extend.hpp:375:13: warning: variable 'nelements' set but not used [-Wunused-but-set-variable]
  375 |     int32_t nelements = 1;
      |             ^
7 warnings generated.
clang -arch arm64 -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/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/ggmlR/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c sd/thirdparty/zip.c -o sd/thirdparty/zip.o
sd/ggml_extend.hpp:2814:21: warning: unused variable 't_segment_begin' [-Wunused-variable]
 2814 |             int64_t t_segment_begin = ggml_time_ms();
      |                     ^~~~~~~~~~~~~~~
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:6:
sd/cache_dit.hpp:78:13: warning: unused variable 'order' [-Wunused-variable]
   78 |         int order = n_derivatives + 1;
      |             ^~~~~
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:7:
sd/denoiser.hpp:1726:15: warning: unused variable 'alpha_prod_t' [-Wunused-variable]
 1726 |         float alpha_prod_t      = 1.0f / (sigma * sigma + 1.0f);
      |               ^~~~~~~~~~~~
11 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/MacOSX14.sdk/usr/include/c++/v1/vector:321:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/formatter_bool.h:17:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/concepts.h:17:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/format_parse_context.h:16:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/string_view:1059:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1778:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on non-final 'Linear' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   68 |     delete __ptr;
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Linear>::operator()' requested here
  300 |       __ptr_.second()(__tmp);
      |       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Linear>::reset' requested here
  266 |   _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
      |                                                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:514:25: note: in instantiation of member function 'std::unique_ptr<Linear>::~unique_ptr' requested here
  514 |         unique_ptr<_Yp> __hold(__p);
      |                         ^
sd/ggml_extend.hpp:3987:36: note: in instantiation of function template specialization 'std::shared_ptr<GGMLBlock>::shared_ptr<Linear, void>' requested here
 3987 |             blocks[in_proj_name] = std::shared_ptr<GGMLBlock>(new Linear(embed_dim, embed_dim * 3, qkv_proj_bias));
      |                                    ^
In file included from sd/sample-cache.cpp:1:
In file included from sd/sample-cache.h:4:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/vector:321:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/formatter_bool.h:17:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/concepts.h:17:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/format_parse_context.h:16:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/string_view:1059:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/algorithm:1961:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'DiscreteScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<DiscreteScheduler, std::allocator<DiscreteScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<DiscreteScheduler, std::allocator<DiscreteScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<DiscreteScheduler, std::allocator<DiscreteScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:580:34: note: in instantiation of function template specialization 'std::make_shared<DiscreteScheduler, void>' requested here
  580 |                 scheduler = std::make_shared<DiscreteScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'KarrasScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<KarrasScheduler, std::allocator<KarrasScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<KarrasScheduler, std::allocator<KarrasScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<KarrasScheduler, std::allocator<KarrasScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:584:34: note: in instantiation of function template specialization 'std::make_shared<KarrasScheduler, void>' requested here
  584 |                 scheduler = std::make_shared<KarrasScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'ExponentialScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<ExponentialScheduler, std::allocator<ExponentialScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ExponentialScheduler, std::allocator<ExponentialScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<ExponentialScheduler, std::allocator<ExponentialScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:588:34: note: in instantiation of function template specialization 'std::make_shared<ExponentialScheduler, void>' requested here
  588 |                 scheduler = std::make_shared<ExponentialScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'AYSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<AYSScheduler, std::allocator<AYSScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<AYSScheduler, std::allocator<AYSScheduler>>::__shared_ptr_emplace<SDVersion &>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<AYSScheduler, std::allocator<AYSScheduler>, SDVersion &, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:592:34: note: in instantiation of function template specialization 'std::make_shared<AYSScheduler, SDVersion &, void>' requested here
  592 |                 scheduler = std::make_shared<AYSScheduler>(version);
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'GITSScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<GITSScheduler, std::allocator<GITSScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<GITSScheduler, std::allocator<GITSScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<GITSScheduler, std::allocator<GITSScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:596:34: note: in instantiation of function template specialization 'std::make_shared<GITSScheduler, void>' requested here
  596 |                 scheduler = std::make_shared<GITSScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'SGMUniformScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<SGMUniformScheduler, std::allocator<SGMUniformScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<SGMUniformScheduler, std::allocator<SGMUniformScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<SGMUniformScheduler, std::allocator<SGMUniformScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:600:34: note: in instantiation of function template specialization 'std::make_shared<SGMUniformScheduler, void>' requested here
  600 |                 scheduler = std::make_shared<SGMUniformScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'SimpleScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<SimpleScheduler, std::allocator<SimpleScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<SimpleScheduler, std::allocator<SimpleScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<SimpleScheduler, std::allocator<SimpleScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:604:34: note: in instantiation of function template specialization 'std::make_shared<SimpleScheduler, void>' requested here
  604 |                 scheduler = std::make_shared<SimpleScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'SmoothStepScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<SmoothStepScheduler, std::allocator<SmoothStepScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<SmoothStepScheduler, std::allocator<SmoothStepScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<SmoothStepScheduler, std::allocator<SmoothStepScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:608:34: note: in instantiation of function template specialization 'std::make_shared<SmoothStepScheduler, void>' requested here
  608 |                 scheduler = std::make_shared<SmoothStepScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'BongTangentScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<BongTangentScheduler, std::allocator<BongTangentScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<BongTangentScheduler, std::allocator<BongTangentScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<BongTangentScheduler, std::allocator<BongTangentScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:612:34: note: in instantiation of function template specialization 'std::make_shared<BongTangentScheduler, void>' requested here
  612 |                 scheduler = std::make_shared<BongTangentScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'KLOptimalScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<KLOptimalScheduler, std::allocator<KLOptimalScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<KLOptimalScheduler, std::allocator<KLOptimalScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<KLOptimalScheduler, std::allocator<KLOptimalScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:616:34: note: in instantiation of function template specialization 'std::make_shared<KLOptimalScheduler, void>' requested here
  616 |                 scheduler = std::make_shared<KLOptimalScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LCMScheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LCMScheduler, std::allocator<LCMScheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LCMScheduler, std::allocator<LCMScheduler>>::__shared_ptr_emplace<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LCMScheduler, std::allocator<LCMScheduler>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:620:34: note: in instantiation of function template specialization 'std::make_shared<LCMScheduler, void>' requested here
  620 |                 scheduler = std::make_shared<LCMScheduler>();
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: warning: destructor called on non-final 'LTX2Scheduler' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: note: in instantiation of member function 'std::__shared_ptr_emplace<LTX2Scheduler, std::allocator<LTX2Scheduler>>::__on_zero_shared' requested here
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<LTX2Scheduler, std::allocator<LTX2Scheduler>>::__shared_ptr_emplace<int &, const char *&>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: note: in instantiation of function template specialization 'std::allocate_shared<LTX2Scheduler, std::allocator<LTX2Scheduler>, int &, const char *&, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
      |                   ^
sd/denoiser.hpp:624:34: note: in instantiation of function template specialization 'std::make_shared<LTX2Scheduler, int &, const char *&, void>' requested here
  624 |                 scheduler = std::make_shared<LTX2Scheduler>(image_seq_len, extra_sample_args);
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
17 warnings generated.
274 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/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/sonoma-arm64/Rlib/4.6/ggmlR/lib -lggml -lpthread -lm -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/sd2R.Rcheck/00LOCK-sd2R/00new/sd2R/libs
** generating debug symbols (dSYM)
** 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)