population.cu takes ~2h to compile from a cold sccache miss (7-arch nvcc build)

Đang mở
#1,976 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@aliceb-nv đang làm issue này rồi.

Từ ngày 22/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Observed in NVIDIA/cuopt#1969, run 35740440549: cpp/src/mip_heuristics/diversity/population.cu alone took 1h52m47s to compile (14:53:28→16:46:15 UTC) once its sccache key was invalidated by an unrelated header-only change in cpu_routing_problem.hpp. The rest of the 474-target build finished in minutes; this one file was the critical path for the whole job.

Compiled for 7 architectures in one nvcc invocation: sm_75, 80, 86, 90a, 100f, 120a, 120, with --expt-extended-lambda --expt-relaxed-constexpr -O3 -lineinfo.

Worth investigating:

  • Is this file unusually template-heavy for what it does?
  • Could it be split into smaller translation units to compile in parallel instead of one monolithic unit?
  • Does it need all 7 archs, or could some be dropped/deferred?

A single unrelated header touch shouldn't be able to add ~2h to CI turnaround via one file.

🤖 Generated with Claude Code

Ngôn ngữ chính
Cuda
Star
1.1k
Fork
249
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
124

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA/cuopt

Tất cả issue của NVIDIA/cuopt

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.