@BartWronski I agree on Python making it easy for R&D; it's hard to argue with the results.
That being said, my primary interest is in deploying Stable Diffusion and supporting models to the desktop (esp part of games) with minimal dependencies, and as far as I can tell this is still a pretty major headache.
I don't want my users to have to install Python/PyTorch/Conda/CUDA: I want it to Just Workβ’.
There's some interesting work happening here and there, though, like https://github.com/webonnx/wonnx
@philpax @BartWronski I don't know if this will solve the problem for you, but here's a rust version of stable diffusion
https://github.com/LaurentMazare/diffusers-rs
It uses tch-rs, which uses "py"torch, but only the c++ part of it (no python is involved). I've shipped binaries using tch-rs to other machines by just copying around a few `.so` files (the ones in the `/lib` of a pytorch tarball), but not to consumers, so I can't speak to what pitfalls there might be for that.