First of all, thank you for your recommendations, you are a great help!
I have compiled tvm_runtime.bc in the web folder - tvm/web at main · apache/tvm · GitHub
But when I try to run https://github.com/apache/tvm/blob/main/web/tests/python/prepare_test_libs.py, I have an error: Target llvm -mtriple=wasm32-unknown-unknown-wasm is not enbaled
I understand it might be because my libtvm and libtvm_runtime I compiled previously is not WASM-compatible. Although I was under the impression that through tvm/web I will be able to compile libtvm that knows this target, apparently I was mistaken. So my question is - how to actually compile/install TVM in a way that I can produce WASm library from my model?
I am continuing looking into Web Stable Diffusion, but for the time being I can not find an information on how to actually make this wasm target available.