squidarth / bark-truss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy Bark with Baseten

Pre-reqs

  • Set up a Baseten account
  • Clone this repo
  • Install Baseten and Truss client
pip install baseten
pip install truss
  • Auth into Baseten
import baseten
baseten.login("*** BASETEN API KEY ***")

Deploy to Baseten

import baseten
import truss

bark_handle = truss.load(".")
baseten.deploy(bark_handle, model_name="Bark")

Hardware

This model will deploy to a NVIDIA A10G. Inference time is 3-5 seconds depending on the length of the prompt.

About


Languages

Language:Python 100.0%