population.cu takes ~2h to compile from a cold sccache miss (7-arch nvcc build)
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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/cuopt
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
NVIDIA/cuopt#2255 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 50/100
Maintainer thường phản hồi trong vòng 1 ngày