atlas
atlas copied to clipboard
Removes 'nvidia' runtime parameter when Docker version is >= 19.03 (n…
With the release of Docker 19.03 there is no longer the need to install nvidia-docker2 to access GPU's. When atlas-server start -g
is called, it appends the 'nvidia' runtime flag which no longer is required nor exists and causes the scheduler to fail to start. This patch only add's the runtime flag if gpu is requested, and docker is <= 19.03
Can confirm: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/4585
@bgreer101 thanks for the PR! The user acceptance test pipeline is 🔴 now, but a fix is on the way. Let's hold off on merge until then: https://jenkins.shehanigans.net/job/foundations-uat/