Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket runner and NVIDIA runtime

Edited

Hi everyone,

Short background: I am developing Python project which requires GPU access (CUDA).

I have experimented with bitbucket pipelines runner on the workstation with GPUs but unfortunately I cannot make it to work correctly. I am able to build a container with all the required CUDA dependencies etc inside the step script, but afterwards it cannot be run as it is essential to use nvidia-docker runtime https://github.com/NVIDIA/nvidia-docker.

I am passing `-v /var/run/docker.sock:/var/run/docker.sock` from host to the runner, but it does not look like it is passed through to the container running given step.

The docker service which can be added to each step does not help as it seems to use `docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-docker-daemon:v19-prod-stable` image which does not use nvidia-docker runtime.

I have a question if and how could it be done - I have spent already several hours trying to resolve that (in simpler or more complex ways), but I am running out of feasible ideas now.

Thanks in advance for any advice.

1 answer

0 votes
bhaswati I'm New Here Aug 02, 2021

I am facing same issue. Any solution to this?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

226 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you