* sd: sync to master-540-f16a110
* tae post-merge fixes
* build fixes
* restore image mask for non-inpainting models
* sd: sync to master-551-99c1de3
* avoid nlohmann/json.hpp include diffs
* Euler A now works on Flux
* sd: sync to master-555-7397dda
avi_writer.h got removed upstream, but I've simply kept the local
copy for now.
* sd: sync to master-558-8afbeb6
* sd: sync to master-560-e8323ca
* sd: clean up changes against stable-diffusion.cpp 90ef5f8
Clean up the diff, and include a few missing changes, mainly from
the upscaler and model weight type statistics.
* added line clear again
* remove excess spaces
---------
Co-authored-by: LostRuins Concedo <39025047+LostRuins@users.noreply.github.com>