You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Zhankun Tang (JIRA)" <ji...@apache.org> on 2018/12/14 05:08:00 UTC

[jira] [Commented] (YARN-9120) Need to have a way to turn off GPU auto-discovery in GpuDiscoverer

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

Zhankun Tang commented on YARN-9120:
------------------------------------

[~snemeth] , I'm not quite clear of the requirement here. Are we going to add a flag to turn off all GPU device discovery from a specific YARN node? Maybe remove "yarn.io/gpu" from resource-types.xml is another feasible solution?

> Need to have a way to turn off GPU auto-discovery in GpuDiscoverer
> ------------------------------------------------------------------
>
>                 Key: YARN-9120
>                 URL: https://issues.apache.org/jira/browse/YARN-9120
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Major
>
> GpuDiscoverer.getGpusUsableByYarn either parses the user-defined GPU devices or should have the value 'auto' (from property: yarn.nodemanager.resource-plugins.gpu.allowed-gpu-devices)
> In some circumstances, users would want to exclude a node from scheduling, so they should have an option to turn off auto-discovery.
> It's straightforward that this is possible by removing the GPU resource-plugin from YARN's config along with GPU-related config in container-executor.cfg, but doing that with a dedicated value for yarn.nodemanager.resource-plugins.gpu.allowed-gpu-devices is a more lightweight approach.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org