translations: dockerization of gpu tasks causes GPUs to disappear intermittently

When running bicleaner-ai task it can’t find a GPU and silently falls back to a CPU. If you retry a task many time it might pick up GPUs but most of the time it doesn’t:

[task 2025-05-08T02:39:34.007+00:00] 2025-05-08 00:59:06.229927: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
[task 2025-05-08T02:39:34.007+00:00] 2025-05-08 00:59:09.784240: E external/local_xla/xla/stream_executor/cuda/cuda_driver.cc:274] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
[task 2025-05-08T02:39:34.007+00:00] 2025-05-08 00:59:09.784314: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:129] retrieving CUDA diagnostic information for host: 3a7cddb6f838
[task 2025-05-08T02:39:34.007+00:00] 2025-05-08 00:59:09.784334: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:136] hostname: 3a7cddb6f838
[task 2025-05-08T02:39:34.007+00:00] 2025-05-08 00:59:09.784563: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:159] libcuda reported version is: 565.57.1
[task 2025-05-08T02:39:34.007+00:00] 2025-05-08 00:59:09.784633: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:163] kernel reported version is: 565.57.1
[task 2025-05-08T02:39:34.007+00:00] 2025-05-08 00:59:09.784657: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:241] kernel version seems to match DSO: 565.57.1

The same happens for training tasks. @gregtatum has a PR for automatic retries but based on my manual attempts to rerun things it might not help, and it wastes a lot of time on fetching and decompressing huge datasets.

Example task that doesn’t find GPUs: https://firefox-ci-tc.services.mozilla.com/tasks/VrNVDMcbQQO4eLZFxMHgjg Example task that found GPUs after retries: https://firefox-ci-tc.services.mozilla.com/tasks/HkLy87fOQF2-tCgvRSsKMg/runs/2

It is likely related to the recent migration to dockerized images #700

@bhearsum said he will be busy for some time. @JohanLorenzo, please help investigate it and escalate to GCP support if necessary. This blocks training for me, so I’m marking it as “blocker”.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (2 by maintainers)

Commits related to this issue

Most upvoted comments

@matt-boris I looked at your training runs and they look ok to me (the GPUs are being utilized, bicleaner throughput is normal, eval metrics are ok).

We’ve got https://github.com/taskcluster/taskcluster/pull/7723 open to fix this on the Taskcluster side. We’ll need to spin a new worker image once that’s been merged a released; we should be able to get this resolved in the next day or two.