pip install baseten
pip install truss
- Auth into Baseten
import baseten
baseten.login("*** BASETEN API KEY ***")
import baseten
import truss
bark_handle = truss.load(".")
baseten.deploy(bark_handle, model_name="Bark")
This model will deploy to a NVIDIA A10G. Inference time is 3-5 seconds depending on the length of the prompt.