- Install pixi
- Clone this repo
- For Linux:
pixi install -e linux - For Mac:
pixi install -e mac
To install with GPU accelerated libraries on Mac with Apple Silicon processors, here's what's needed:
- gcc and zlib installed (either xcode/developer tools/brew etc.)
- if gcc, is not found, you might be prompted to install developer tools or something similar.
- If installed zlib via homebrew, make sure the library is in path. If not, run
ZLIB_ROOT=$(brew --prefix zlib) pixi install -e mac
(I had limited access to a mac mini M1 and successfully tested it (via notebook) after the above steps.)
The code for each of the tasks can be run in two ways: (a) CLI (b) gradio.
For gradio:
PYTHONPATH='.' pixi run -e [linux|mac] gradio app.pyTo run from CLI or for help or to tweak parameters:
PYTHONPATH='.' pixi run -e [linux|mac] python src/main.py [--help]logs will be stored in logs.log realtime for debugging & monitoring.
