DanRuta/xVA-Synth

linux release ?

mazerty opened this issue ยท 5 comments

hello !
impressive work ! are you planning a linux release anytime soon ?

I'm interested as well

There is a linux building script in package.json (so it can be built for linux by running npm run package-linux) which in theory works, but I have not tested it as I am running Windows.

Got the development version running under debian testing after having to change multiple stuff:

Server: I don't use virtualenv (I hate the python ecosystem sooo much), so it was python 3.9.
After installing python3-torch python3-numba python3-llvmlite python3-scipy through apt and crossing them out of requirements.txt, pip install -r requirements.txt and python3 server.py got the server starting.

Frontend: Elevtron 2.0.0 is crashing horribly. changing it to 4.0.0 let the app compile and npm start opens a window.

Both seem to work on a quick try, but I can't guarantee that I listed all steps.

EDIT: npm run package-linux does not work for me

I ran into errors while trying to compile it on Linux using the package.json build script, but I've gotten the CPU version running in a Windows 7 VirtualBox VM. It runs well and without problems as far as I can tell.

Ran on Linux through HuggingFace Space:
https://huggingface.co/spaces/Pendrokar/xVASynth/tree/main

Repo clone: https://github.com/Pendrokar/xVA-Synth-HFSpace

CPU requirements only though.