gemma.cpp
gemma.cpp copied to clipboard
How to compile this into the WASM?
Hi @yukiarimo , I believe no special action is required for this code, if you are able to build code for WASM, you are also able to build this for WASM.
If you use bazel for builds, it suffices to add --config=wasm --features=wasm_simd
to the command line.
I am not as familiar with WASM using CMake, are the Emscripten docs helpful?
Yeah, I would try. Emscripten docs are quite complex to read for me.
Closing, please feel free to reopen if you'd like to discuss specifics :)