Skip to content

Disable sccache for CUDA on 13.4 (nvcc --simt-only breaks sccache) #190832

Closed

Description

@tinglvv

🐛 Describe the bug

CUDA 13.4 source builds fail under sccache on separable-compilation targets
(gloo_cuda, torch_nvshmem) with: https://github.com/pytorch/pytorch/actions/runs/29947019889/job/89015281565?pr=190639

fatbinary fatal   : Could not open input file '*.cubin'
sccache: Compiler killed by signal 1

Cause: CUDA 13.3 added Tile compilation, and nvcc now injects --simt-only into the default cicc sub-command (visible via nvcc --dryrun) to keep SIMT-only codegen. (See https://docs.nvidia.com/cuda/developer-preview/13.4/cuda-compiler-driver-nvcc/tile-compilation-in-cuda.html)
That new token in the cicc line is what shifts sccache's position-based parser. sccache parses that output positionally, so it skips the device compile for -rdc=true targets; the .cubin is never produced and fatbinaryaborts.
Upstream (sccache) bug, not a PyTorch source issue. Should be fixed by patching mozilla/sccache#2722. While we wait for sccache to be fixed, proposing to disable sccache for CUDA 13.4.

Versions

CUDA 13.4

cc @malfet @ptrblck @msaroufim @eqy @nWEIdia @pytorch/pytorch-dev-infra

Activity

  1. added
    module: dependency bug
    module: build
    module: cuda
    module: ci
    triaged
    on Jul 22, 2026
  2. added
    bot-triaged
    on Jul 22, 2026
  3. self-assigned this
    on Jul 22, 2026
  4. 5 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bot-triagedmodule: buildmodule: cimodule: cudamodule: dependency bugtriaged

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions