Skip to content

Commit

Permalink
Pinning fmt and spdlog for raft-ann-bench-cpu (#2018)
Browse files Browse the repository at this point in the history
We were relying on spdlog/fmt to be brought in transitively before, which was compatible with FAISS. It looks like they are no longer being brought in transitively and so we are bringing in a newer version at the cpm/cmake level which is breaking our raft-ann-bench-cpu build.

Authors:
  - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
  - Divye Gala (https://github.com/divyegala)
  - Jake Awe (https://github.com/AyodeAwe)

URL: #2018
cjnolet authored Nov 21, 2023
1 parent 3a7f33f commit 3f8a8b2
Showing 4 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conda/recipes/libraft/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -71,3 +71,9 @@ cuda11_cuda_profiler_api_host_version:

cuda11_cuda_profiler_api_run_version:
- ">=11.4.240,<12"

spdlog_version:
- ">=1.11.0,<1.12"

fmt_version:
- ">=9.1.0,<10"
4 changes: 4 additions & 0 deletions conda/recipes/libraft/meta.yaml
Original file line number Diff line number Diff line change
@@ -63,12 +63,16 @@ outputs:
{% endif %}
- cuda-version ={{ cuda_version }}
- librmm ={{ minor_version }}
- spdlog {{ spdlog_version }}
- fmt {{ fmt_version }}
run:
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
{% if cuda_major == "11" %}
- cudatoolkit
{% endif %}
- librmm ={{ minor_version }}
- spdlog {{ spdlog_version }}
- fmt {{ fmt_version }}
about:
home: https://rapids.ai/
license: Apache-2.0
6 changes: 6 additions & 0 deletions conda/recipes/raft-ann-bench-cpu/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -18,3 +18,9 @@ h5py_version:

nlohmann_json_version:
- ">=3.11.2"

spdlog_version:
- ">=1.11.0,<1.12"

fmt_version:
- ">=9.1.0,<10"
2 changes: 2 additions & 0 deletions conda/recipes/raft-ann-bench-cpu/meta.yaml
Original file line number Diff line number Diff line change
@@ -48,6 +48,8 @@ requirements:
- glog {{ glog_version }}
- matplotlib
- nlohmann_json {{ nlohmann_json_version }}
- spdlog {{ spdlog_version }}
- fmt {{ fmt_version }}
- python
- pyyaml
- pandas

0 comments on commit 3f8a8b2

Please sign in to comment.