Skip to content

Commit

Permalink
docs: add nvidia container toolkit installation instructions (#1906)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Apr 21, 2024
1 parent cff9290 commit 3142ba7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion website/docs/installation/docker-compose.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs>
<TabItem value="cuda" label="CUDA (requires NVIDIA Container Toolkit)">
<TabItem value="cuda" label="CUDA">


For CUDA support in Tabby, install the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html).
After installation, you can start Tabby with the following `docker-compose.yml`:

```yaml title="docker-compose.yml"
version: '3.5'
Expand Down
6 changes: 5 additions & 1 deletion website/docs/installation/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs>
<TabItem value="cuda" label="CUDA (requires NVIDIA Container Toolkit)" default>
<TabItem value="cuda" label="CUDA" default>


For CUDA support in Tabby, install the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html).
After installation, you can start Tabby with the following command:

```bash title="run.sh"
docker run -it --gpus all \
Expand Down

0 comments on commit 3142ba7

Please sign in to comment.