

docs: docker compose document CDI cuda usage
@b65f336b50ecb1d2801897ac14863449d848316d
--- compose.yaml
+++ compose.yaml
... | ... | @@ -1,3 +1,4 @@ |
1 |
+# TODO: https://docs.astral.sh/uv/guides/integration/docker/#configuring-watch-with-docker-compose |
|
1 | 2 |
# NOTE: arm images haven't been tested |
2 | 3 |
services: |
3 | 4 |
faster-whisper-server-cuda: |
... | ... | @@ -22,6 +23,12 @@ |
22 | 23 |
reservations: |
23 | 24 |
devices: |
24 | 25 |
- capabilities: ["gpu"] |
26 |
+ # If you have CDI feature enabled use the following instead |
|
27 |
+ # https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/cdi-support.html |
|
28 |
+ # https://docs.docker.com/reference/cli/dockerd/#enable-cdi-devices |
|
29 |
+ # - driver: cdi |
|
30 |
+ # device_ids: |
|
31 |
+ # - nvidia.com/gpu=all |
|
25 | 32 |
faster-whisper-server-cpu: |
26 | 33 |
image: fedirz/faster-whisper-server:latest-cpu |
27 | 34 |
build: |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?