-
Notifications
You must be signed in to change notification settings - Fork 901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use mamba as the conda-build solver via boa's mambabuild. #9953
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.08 #9953 +/- ##
===============================================
Coverage ? 10.42%
===============================================
Files ? 119
Lines ? 20599
Branches ? 0
===============================================
Hits ? 2148
Misses ? 18451
Partials ? 0 Continue to review full report at Codecov.
|
6ab7af5
to
eed1c30
Compare
Comparing the CI build logs, I see a significant improvement in build time.
1 Time measured from |
eed1c30
to
c34adcf
Compare
The failure in CI is due to the timeout during conda libraries installation. 16:18:49 Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
16:58:49 Solving environment: ...working... Build timed out (after 40 minutes). Marking the build as failed.
16:58:50 Build was aborted
16:58:50 Recording test results
16:58:51 [Checks API] No suitable checks publisher found.
16:58:51 [Set GitHub commit status (universal)] ERROR on repos [GHRepository@2f92ba94[nodeId=MDEwOlJlcG9zaXRvcnk5MDUwNjkxOA==,description=cuDF - GPU DataFrame Library |
@firestarman Correct. The Java CI was already failing with that timeout error, and this PR does not fix the issue in the Java build. I tried to fix the Java CI in #9951 by switching to See here: #9951 (comment) |
@rapidsai/ops-codeowners If this approach is fine with the ops team, I would like to install |
Hey @bdice. We had tried this before, but it seemed to have totally borked CI (see reversion PR below). It seems I didn't document what the exact issues were that it caused. Let me see if I can dig up those details. |
@ajschmidt8 That's too bad about the gpuCI image. Would this PR's current implementation be acceptable, installing |
If I remember well, |
(switched to a draft PR for now) |
@robertmaynard confirmed during a call today that the issue was with overriding/ignoring |
Yes the issue comes up when the target project consumes some pre-built C++ libraries such as faiss? where C++ standard types such as |
rerun tests |
1 similar comment
rerun tests |
@bdice, is this issue still applicable? |
@ajschmidt8 In my understanding, we need to make sure that the correct compilers are being used (hopefully this is shown in the CI logs), to avoid issues like the one @robertmaynard mentioned above. I'm not sure if that's a sufficient check or if some kind of deeper inspection is required. |
Is this enough information to know if we're getting the right compilers? |
Hmm. Regardless of the compiler question, I think @Ethyling experienced some issues again after adding |
It’s also possible that some behavior differs in this PR from installing boa in the base image, based on the timing of installation.
|
That's really helping to know this. We clearly need to double check this |
No it isn't enough information. The specific problem we had was that while we used the So to correctly verify this works we need to build a C++ project that calls a conda provided library that uses |
@robertmaynard Do you think that moving to conda compilers could solve this issue? |
I think we would need to test them to see if it works as expected. IIRC we generally build outside of an active conda build environment and that could influence the behavior of the compilers |
This PR has been labeled |
Closing in favor of #10911. |
This switches from
conda build
toconda mambabuild
, a command provided by boa. The goal is to speed up CI build times by spending less time with conda solving environments.Below, I include a summary of the CI build time changes I observed. Overall this cuts our CI build time substantially (34 minutes to 27 minutes, roughly a 20% reduction).
Summary of boa from its README: