#๐Ÿ”’ Is there anyone here that has experience targeting web assembly with their ML python projects?

5 messages ยท Page 1 of 1 (latest)

inner geyser
#

I tried using py2wasm but the compilation errors after hours of compiling. My project uses pytorch and thats pretty much it.

languid rivetBOT
#

@inner geyser

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

inner geyser
#
Nuitka-Scons: ~/miniconda3/envs/pywasm-env/lib/python3.11/site-packages/nuitka/wasi-sdk/21/sdk-Linux/bin/clang
Nuitka-Scons: -o
Nuitka-Scons: ~/miniconda3/envs/pywasm-env/lib/python3.11/site-packages/nuitka/__py2wasm/test.dist/output.wasm
Nuitka-Scons: -flto --target=wasm32-wasi -lwasi-emulated-mman -lwasi-emulated-getpid
Nuitka-Scons: -lwasi-emulated-signal -lwasi-emulated-process-clocks -ldl -lmpdec -lexpat -O2 -z
Nuitka-Scons: noexecstack -Wl,--export-dynamic @"./@link_input.txt
Nuitka-Scons: -L/home/blake/miniconda3/envs/pywasm-env/lib/python3.11/site-packages/nuitka/wasi-python/lib
Nuitka-Scons: -ldl -lm
Nuitka-Scons: ~/miniconda3/envs/pywasm-env/lib/python3.11/site-packages/nuitka/wasi-python/lib/libpython3.11.a
Nuitka-Scons: -ldl -lpthread -lutil -lrt -lm took 1511.59 seconds
scons: *** [/home/blake/miniconda3/envs/pywasm-env/lib/python3.11/site-packages/nuitka/__py2wasm/test.dist/output.wasm] Error 1
FATAL: Failed unexpectedly in Scons C backend compilation.
Nuitka:WARNING:     Complex topic! More information can be found at
Nuitka:WARNING: https://nuitka.net/info/scons-backend-failure.html
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.```
languid rivetBOT
#

@inner geyser

Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.