How to run a C++ pytorch model in the browser via Emscripten?
I have found this PR: https://github.com/pytorch/pytorch/pull/9803
From there, it seems that ATen can be compiled with emscripten with the patch in that PR. The code, however, is not in master.
In the PR, the author states that they did not compile the full libtorch (see also the blog post). Has libtorch been compiled with emscripten before?
Also, @apaszke suggests that their math code was actually very slow when ran in the browser. Does this mean that libtorch has actually been run in the browser? How?