Skip to content

Commit

Permalink
docs: update docker documentation for cpu (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Feb 10, 2024
1 parent ece0649 commit 01e728b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions website/docs/installation/docker-compose.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
tabby:
restart: always
image: tabbyml/tabby
entrypoint: /opt/tabby/bin/tabby-cpu
command: serve --model TabbyML/StarCoder-1B --device cuda
volumes:
- "$HOME/.tabby:/data"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/installation/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
<TabItem value="cpu" label="CPU" default>

```bash title="run.sh"
docker run -it -p 8080:8080 -v $HOME/.tabby:/data tabbyml/tabby serve --model TabbyML/StarCoder-1B
docker run --entrypoint /opt/tabby/bin/tabby-cpu -it -p 8080:8080 -v $HOME/.tabby:/data tabbyml/tabby serve --model TabbyML/StarCoder-1B
```

</TabItem>
Expand Down

0 comments on commit 01e728b

Please sign in to comment.