You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/07 21:10:47 UTC

[GitHub] [airflow] AlessioM commented on pull request #13541: added support for device_requests in DockerOperator

AlessioM commented on pull request #13541:
URL: https://github.com/apache/airflow/pull/13541#issuecomment-756386424


   this will propably only work if the scheduler is running directly (i.e. not in a docker container itself) on the machine which will execute the tasks (because the device request call is executed from the scheduler and hence "sees" only the local devices)
   
   it might be possible to run the scheduler in a docker container using `--gpus=all` and making it thus "see" the same devices as the host, but I haven't tested that yet
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org