-
Notifications
You must be signed in to change notification settings - Fork 47
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
Update to spdlog 1.12 and fmt 10.1.1 #473
Update to spdlog 1.12 and fmt 10.1.1 #473
Conversation
…dlog 1.12 patch that fixes nvcc
/ok to test |
@robertmaynard I'll open PRs to test these versions on RAPIDS repos soon. @kkraus14 Thanks for the upstream fix and the backport for conda-forge packages. That helps a lot. |
FYI -- RMM 23.10 had its tests built successfully in conda-forge: conda-forge/librmm-feedstock#58 |
Testing PRs (edited):
I think these are all the repos that use spdlog/fmt. The only downstream user I'm not sure about is nvbench. Do we need to test it too? https://github.com/NVIDIA/nvbench/blob/57c4d42ba505d525a1a3815d2b2560450a4f83dd/cmake/NVBenchDependencies.cmake#L10 |
Yeah we should test nvbench as well. Since it it used by cudf that allows us to test when we gave consumers that use both configurations ( header-only vs library)On Nov 2, 2023, at 9:37 PM, Bradley Dice ***@***.***> wrote:
Testing PRs:
rapidsai/rmm#1374
rapidsai/cudf#14355
rapidsai/ucxx#117
rapidsai/raft#1957
rapidsai/cuml#5640
I think these are all the RAPIDS repos that use spdlog/fmt.
The only downstream user I'm not sure about is nvbench. Do we need to test it too? https://github.com/NVIDIA/nvbench/blob/57c4d42ba505d525a1a3815d2b2560450a4f83dd/cmake/NVBenchDependencies.cmake#L10
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Update: conda C++ builds with fmt 10 / spdlog 1.12 are failing for cudf. rapidsai/cudf#14355 I've updated the fmt/spdlog pinnings in rapids-cmake and in cudf, and it's using RMM artifacts with the correct pinnings as well. The conda environment is pulling spdlog 1.12 and fmt 10, so we're getting the build environment that we want. The C++ build shows this failure in the logs:
It seems like we need some C++ updates to make this code compile, but I haven't been able to identify exactly what is needed yet. I think it's failing to format logging messages involving edit: This was resolved by rapidsai/cudf@bd5077e |
CPM was having trouble finding fmt because the version was reported incorrectly (10.1.0 instead of 10.1.1). I fixed it with this PR: conda-forge/fmt-feedstock#38. |
/ok to test |
CPM is now correctly picking up the fmt package with the version fix. I'm rerunning CI (rmm is complete, now cudf and raft, ...). I'm also attempting to rebuild all of RAPIDS locally with devcontainers. |
We're making progress! cudf passes CI now. I am rerunning the last few repos. I am hoping to merge this by the end of the week, ideally tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robertmaynard @kkraus14 I think we can merge this tomorrow. I'm going to do it during work hours because I'm going to request some admin merges on the changes we need to keep from the testing PRs (to conserve CI resources and accelerate the rollout process).
All builds succeeded. Reviews have been requested. Merging soon. |
/merge |
This PR updates to fmt 10.1.1 and spdlog 1.12. Depends on rapidsai/rapids-cmake#473. Closes #1356 Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Jake Awe (https://github.com/AyodeAwe) URL: #1374
Description
Checklist
cmake-format.json
is up to date with these changes.include_guard(GLOBAL)
)There's an ongoing migration in conda-forge in moving all packages to using spdlog v1.12 and fmt v10. This will eventually cause issues solving environments unless rapids libraries support these versions as well.
Probably need to test downstream libraries especially for the fmt upgrade before we can merge this.
Related RMM issue: rapidsai/rmm#1356
Related conda-forge PR to bring the spdlog patch for nvcc into the 1.12 builds: conda-forge/spdlog-feedstock#59