classification_finite_simple_groups cannot be evaluated: restore stack limit and vm.max_map_count
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
Hướng nghiên cứu
Bắt đầu trong scripts/fetch_dependency_caches.py, nơi phần khôi phục của leantar đặt RLIMIT_STACK thành 64 MiB; hãy nâng nó lên ít nhất 1 GiB hoặc lên giới hạn cứng khi không giới hạn, sau đó chạy lại prepare_ci_dependencies.py và fetch_dependency_caches --restore trên các artefact Certificates.Kernel.* được liệt kê để xác nhận chúng giải nén được. Hãy quyết định riêng xem workflow ubuntu-24.04 có nên đặt vm.max_map_count qua sysctl hay không, hay tài liệu của bài toán có nên cảnh báo người gửi rằng việc import CFSG.Statement vượt quá giá trị mặc định hay không. Hoàn tất nghĩa là một lần khôi phục sạch cộng với lake test trên cấu hình previous-stable, hoặc một yêu cầu được ghi tài liệu ở nơi không thể thay đổi runner.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
While preparing a submission for classification_finite_simple_groups on the previous-stable configuration (Lean v4.35.0; lean-eval main at bcc14246; cfsg 965a0775, TauCeti 1f9b4414, Mathlib 07406378), we found two problems that, as far as we can tell, stop any submission to this problem from being evaluated. We followed the CI steps: prepare_toolchain.py previous-stable --apply, prepare_ci_dependencies.py, fetch_dependency_caches --restore, then lake test (comparator with NanoDa) in the workspace with the submission overlaid.
1. scripts/fetch_dependency_caches.py: 64 MiB stack is too small for some cfsg artifacts
The restore step raises RLIMIT_STACK to 64 MiB for leantar. With that limit, leantar exits with 139 (SIGSEGV) while unpacking 9 Certificates.Kernel.* artifacts, so the restore fails after its retries:
Certificates.Kernel.SporSch.PairJ3.FormsTextCertificates.Kernel.Co1B.Acts0Certificates.Kernel.Sporadic.OddCore.SuzCertCertificates.Kernel.Sporadic.Fi22.Ext2073Certificates.Kernel.Sporadic.OddCore.HND4Certificates.Kernel.Misc.Perm.J2C3CCertificates.Kernel.HeLoc.SevenDataCertificates.Kernel.Misc.RuFive.TextCertificates.Kernel.D43.HexG
When we unpacked the same .ltar files by hand, 8 of them needed 256 MiB of stack, and Certificates.Kernel.SporSch.PairJ3.FormsText needed 1 GiB. With a 4 GiB soft limit the restore completed. Raising the limit in the script to at least 1 GiB (or to the hard limit when it is unlimited) should fix this.
For scale, the import closure of CFSG.Statement is about 227k cfsg modules. The restored cfsg/.lake is about 201 GB, and the package tree is about 213 GB in 3.8 million files. That may also matter for runner disk and time budgets.
2. Importing CFSG.Statement fails under the default vm.max_map_count
After a complete restore, lake test fails while building Submission. The error is:
error: Submission.lean:1:0: failed to read file '.../cfsg/.lake/build/lib/lean/CFSG/LocalAnalysis/.../*.olean.private'
error: build failed
We measured the following:
- Memory is not the cause. The build fails the same way at 16 CPU / 32 GiB (peak 28.3 GB) and at 62 CPU / 240 GiB (peak 17.9 GB).
- A plain
lake env leanon a file that only importsCFSG.Statementfails when the process reaches 1,048,142 memory mappings. At that point it has only 11–14 open file descriptors. vm.max_map_countis 1,048,576 on our machines. This is the Ubuntu 24.04 default, and the CI workflows also useubuntu-24.04.
So importing CFSG.Statement (and with it this problem's statement) seems to need vm.max_map_count well above 1.05M. A submitter cannot change this setting; it has to be raised on the runner, e.g. sysctl -w vm.max_map_count=4194304. If that is not possible, a note on the problem might save other submitters the long restore.
We have not submitted anything for this problem. The gorenstein_walter workspace on the same configuration restores and evaluates fine (about 1.7k cfsg modules).
- Ngôn ngữ chính
- Lean
- Star
- 52
- Fork
- 46
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 leanprover/lean-eval
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
leanprover/lean-eval#663 ·
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 25/100
leanprover/lean-eval#659 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
leanprover/lean-eval#655 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
leanprover/lean-eval#642 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
leanprover/lean-eval#634 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của leanprover/lean-eval
Issue tương tự
-
fix: production-image scan fails on base-image CVEs (libzstd, libssl)Có thể đã có người làm @Kravalg đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
VilnaCRM-Org/notification-service#41 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
agentic-workflows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
opencollective/opencollective-frontend#12789 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Looking for author Outdated content
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
strapi/community-content#1707 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ossf/oss-crs#548 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày