Apparently ExecuTorch has a WASM backend, could work to load the model this way.
Docs https://github.com/pytorch/executorch/tree/main/examples/was...
Docs https://github.com/pytorch/executorch/tree/main/examples/was...