v0s — v0studio's CLIv0studio ships with v0s, a command line tool for scripting and automating your local LLM workflows.
You need to run v0studio at least once before you can use v0s.
v0sv0s ships with v0studio and can be found under /bin in the v0studio's working directory.
Use the following commands to add v0s to your system path.
Run the following command in your terminal:
~/.v0studio/bin/v0s bootstrapRun the following command in PowerShell:
cmd /c %USERPROFILE%/.v0studio/bin/v0s.exe bootstrapOpen a new terminal window and run v0s.
This is the current output you will get:
$ v0s v0s - v0studio CLI - v0.1.16 Website: https://v0studio.ai Usage v0s <subcommand> where <subcommand> can be one of: - status - Prints the status of v0studio - server - Commands for managing the local server - ls - List all downloaded models - ps - List all loaded models - load - Load a model - unload - Unload a model - create - Create a new project with scaffolding - log - Log operations. Currently only supports streaming logs from v0studio via 'v0s log stream' - version - Prints the version of the CLI - bootstrap - Bootstrap the CLI For more help, try running 'v0s <subcommand> --help'
v0s to automate and debug your workflowsv0s server start
v0s server stopv0s lsThis will reflect the current v0studio models directory, which you set in 📂 My Models tab in the app.
v0s psv0s load [--gpu=max|auto|0.0-1.0] [--context-length=1-N]--gpu=1.0 means 'attempt to offload 100% of the computation to the GPU'.
Optionally, assign an identifier to your local LLM:
v0s load TheBloke/phi-2-GGUF --identifier="gpt-4-turbo"This is useful if you want to keep the model identifier consistent.
v0s unload [--all]