]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
mnist : use CMake to build mnist wasm example (#1269)
authorDaniel Bevenius <redacted>
Wed, 11 Jun 2025 09:15:14 +0000 (11:15 +0200)
committerGitHub <redacted>
Wed, 11 Jun 2025 09:15:14 +0000 (11:15 +0200)
commit21303b6c844e9c5d9c5078bcd63e5dc4f6001619
treeb913a0c5524b24fb5d6bad089e6ef750596ada46
parent6a7d170c04789f6ebcf320ed03c1b16973f93bd7
mnist : use CMake to build mnist wasm example (#1269)

This commit updates the mnist examples to use CMake for building the
WebAssembly (WASM) version of the MNIST example instead of the current
emcc command.

The motivation for this change is that using CMake should make it easier
to maintin with regards to when changes in ggml occur they should not
cause this example to break. Currently the emcc command is outdated and
it was not clear how to updated it which is why this change was made.

Resolves: https://github.com/ggml-org/ggml/issues/1264
examples/mnist/CMakeLists.txt
examples/mnist/README.md
examples/mnist/mnist-common.cpp
examples/mnist/server.py [new file with mode: 0644]