Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
Blake Blackshear 2022-11-19 07:29:39 -06:00
commit 253061ee5f
2 changed files with 4 additions and 1 deletions

View File

@ -94,7 +94,9 @@ RUN --mount=type=bind,from=wheels,source=/wheels,target=/wheels \
fi \ fi \
# arch specific packages # arch specific packages
&& if [ "${TARGETARCH}" = "amd64" ]; then \ && if [ "${TARGETARCH}" = "amd64" ]; then \
apt-get -qq install --no-install-recommends --no-install-suggests -y \ echo 'deb http://deb.debian.org/debian testing main non-free' >> /etc/apt/sources.list.d/deb.list \
&& apt-get -qq update \
&& apt-get -qq install --no-install-recommends --no-install-suggests -y \
mesa-va-drivers libva-drm2 intel-media-va-driver-non-free i965-va-driver libmfx1; \ mesa-va-drivers libva-drm2 intel-media-va-driver-non-free i965-va-driver libmfx1; \
fi \ fi \
&& if [ "${TARGETARCH}" = "arm64" ]; then \ && if [ "${TARGETARCH}" = "arm64" ]; then \

View File

@ -58,6 +58,7 @@ services:
devices: devices:
- driver: nvidia - driver: nvidia
device_ids: ['0'] # this is only needed when using multiple GPUs device_ids: ['0'] # this is only needed when using multiple GPUs
count: 1 # number of GPUs
capabilities: [gpu] capabilities: [gpu]
``` ```