Hi, Morten,

Sorry for the belated reply. With the doc provided by Chesnay, you can
start the TaskManager with GPU. However, currently with active
ResourceManager, the resource profiles of TaskManager are all the
same, which means all of your TaskManager will have at least one GPU.
If you only want some of the TaskManagers to have GPU, you may set up
a standalone cluster and then manually start a TaskManager with GPU
and let it register to the cluster.

Best,
Yangze Guo

On Thu, Nov 11, 2021 at 9:57 PM Chesnay Schepler <ches...@apache.org> wrote:
>
> The external resource documentation should contain instructions to do so.
>
> On 10/11/2021 09:18, Morten Gunnar Bjørner Lindeberg wrote:
>
> Hi :)
>
> I am trying the fine-grained resource management feature in Flink 1.14, 
> hoping it can enable assigning certain operators to certain TaskManagers.
>
> The sample code in 
> https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/finegrained_resource/
>  -shows how to define the group and its resource (e.g. using 
> setExternalResource-method), but I do not see any option to "assign" a 
> TaskManager worker instance with the capabilities of this "external resource”.
>
> Following the GPU-based example in the documentation, how can I ensure that 
> Flink "knows" which task manager actually has the required GPU? Is there some 
> configuration option I am missing / missing in the documentation?
>
> Have a nice day!
> Morten Lindeberg
> PostDoc Informatics, University of Oslo
> mglin...@ifi.uio.no
>
>

Reply via email to