docs: add docker run command in README (#374)

* docs: add docker run command in README

* Update README.md
release-0.0
Meng Zhang 2023-08-29 10:36:05 +08:00 committed by GitHub
parent bd3ae7203e
commit 6eae3dc976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -33,7 +33,15 @@ Tabby is a self-hosted AI coding assistant, offering an open-source and on-premi
## 👋 Get Started ## 👋 Get Started
See https://tabbyml.github.io/tabby The easiest way to start a Tabby server is by using the following Docker command:
```bash
docker run -it \
--gpus all -p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby \
serve --model TabbyML/SantaCoder-1B --device cuda
```
For additional options (e.g inference type, parallelism), please refer to the documentation at https://tabbyml.github.io/tabby.
## 🌟 Star History ## 🌟 Star History