Skip to content

v0.1.5

Latest

Choose a tag to compare

@kabatin kabatin released this 28 Oct 09:40
· 2 commits to main since this release
  • vpipe-api setup [--models h3,flashvsr] [--check] [--yes] [--json] [--lan] [--service] [--port N] [--prefix DIR] [--label-suffix S] [--coordinate-with NAME=HEALTH_URL]: one command for what took
    setup vpipe + setup models + editing the config by hand, the same as the other AI servers.
    h3 builds vpipe (under --prefix, default ~/.local/opt/vpipe-api) and prepares H3 Turbo; flashvsr
    prepares FlashVSR. --check changes nothing and reports each component as installed, missing (with
    its download size) or unsupported with the reason (not Apple Silicon, macOS older than 26, no Xcode /
    cmake). It asks once before downloading (exit 3 without a terminal and without --yes) and stops before
    anything when the disk cannot hold the peak (185 GB for H3). The config gets vpipe_bin,
    vpipe_src_dir and work_dir (existing keys are kept); --lan, --port, --coordinate-with and
    --service (a launchd agent, checked through /v1/health) are optional.
  • setup runs on an invalid config (it warns and keeps every key), updates a --coordinate-with peer
    already in the config, and waits for launchd to unload the old agent before loading the new one.
  • setup vpipe writes vpipe_bin, vpipe_src_dir and work_dir to the config instead of printing them.
    setup vpipe and setup models otherwise work as before.

Install / update

uv tool install git+https://github.com/kabatin/vpipe-api@v0.1.5               # new install
uv tool install --reinstall git+https://github.com/kabatin/vpipe-api@v0.1.5   # update an existing install

The config and its token are kept. Restart the server after updating, once /v1/health shows "running": 0:
launchctl kickstart -k gui/$(id -u)/com.github.kabatin.vpipe-api for the LaunchAgent, or run vpipe-api setup --service again.
ixa 0.8.3 and later do this for you: pnpm ixa ai install upgrades an older vpipe-api before checking what is installed.

Full changes: v0.1.4...v0.1.5