You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by "Milovanov, Victor" <mi...@amazon.com> on 2017/08/07 22:02:41 UTC

GPU without root?

Hi!

I’d like to know if it is possible to use GPU resources with Mesos agent without running it as root?

The official documentation states, that isolation must be enabled for at least gpu/NVidia, which currently requires root. However, my scenario does not need isolation.

// Victor


RE: GPU without root?

Posted by "Milovanov, Victor" <mi...@amazon.com>.
I was able to get the desired result by simply passing --resources=’gpus:1’

// Victor

From: Milovanov, Victor<ma...@amazon.com>
Sent: Monday, August 7, 2017 3:03 PM
To: user@mesos.apache.org<ma...@mesos.apache.org>
Subject: GPU without root?

Hi!

I’d like to know if it is possible to use GPU resources with Mesos agent without running it as root?

The official documentation states, that isolation must be enabled for at least gpu/NVidia, which currently requires root. However, my scenario does not need isolation.

// Victor