[ 
https://issues.apache.org/jira/browse/MESOS-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15356238#comment-15356238
 ] 

Kevin Klues commented on MESOS-5742:
------------------------------------

If you don't also set the {{--isolators=gpu/nvidia}} flag, then you can set 
{{--resources="gpus:   "}} to whatever you want. The idea being that you only 
want the semantics enforced by the {{gpu/nvidia}} isolator (i.e. that only 
*non-fractional* GPUs can be specified) when the {{gpu/nvidia}} isolator is 
enabled.  Some other isolator might be built in the future that allows 
fractional GPUs.

> When start an agent with `--resources`, the GPU resource can be fractional
> --------------------------------------------------------------------------
>
>                 Key: MESOS-5742
>                 URL: https://issues.apache.org/jira/browse/MESOS-5742
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Sunzhe
>            Assignee: Sunzhe
>              Labels: gpu
>
> So far, the GPU resource is not fractional, only integer values are allowed. 
> But when starting agents with {{\-\-resources='gpu:1.2'}}, it can also work 
> without any warning or error. And in the webui the GPU resource is `1.2`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to