mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Klues (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MESOS-5742) When start an agent with `--resources`, the GPU resource can be fractional
Date Thu, 30 Jun 2016 00:21:11 GMT

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

Kevin Klues edited comment on MESOS-5742 at 6/30/16 12:20 AM:
--------------------------------------------------------------

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.


was (Author: klueska):
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)

Mime
View raw message