Apparently ExecuTorch has a WASM backend, could work to load the model this way.