[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Docker universe and GPUs



On 08/25/2016 10:03 AM, Joan Piles wrote:
Hi,

We have been trying to experiment with the docker universe, and have found that when a GPU job is requested, the required CUDA device files are not passed through to the container as required [1]

Thank you for your interest in HTCondor and Docker Universe -- this is an interesting use case for us.

This is correct, that the Docker universe in condor currently doesn't create GPU devices in the container.

One quick workaround might be to have docker run map all of the GPU devices inside the container, and rely on the Condor fungible custom resources code to set the nvidia environment variable appropriate for the selected GPU(s). Would this work for your needs?



-Greg