Skip to content

Commit a60a9e5

Browse files
Fix CUDA 11.4.4 builds under CircleCI (#3466)
Summary: Pull Request resolved: #3466 Flattening Conda include directories breaks CUDA 11.4.4 build on Ubuntu 20 / v5 kernel. This change updates the logic to only flatten includes on Ubuntu 22 / v6 kernel (aka as running on GitHub Actions runners). Reviewed By: algoriddle Differential Revision: D57602154 fbshipit-source-id: 00c14ca7c64644b8b86483ac6b4d40c6d8f12372
1 parent 0698ac7 commit a60a9e5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121
runs-on: 4-core-ubuntu-gpu-t4
122122
env:
123123
CUDA_ARCHS: "60-real;61-real;62-real;70-real;72-real;75-real;80;86-real"
124+
FAISS_FLATTEN_CONDA_INCLUDES: "1"
124125
steps:
125126
- name: Checkout
126127
uses: actions/checkout@v4

conda/faiss-gpu/meta.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ outputs:
4343
- {{ pin_compatible('libfaiss', exact=True) }}
4444
script_env:
4545
- CUDA_ARCHS
46-
{% if cudatoolkit == '11.4.4' %}
47-
- FAISS_FLATTEN_CONDA_INCLUDES=1
48-
{% endif %}
46+
- FAISS_FLATTEN_CONDA_INCLUDES
4947
requirements:
5048
build:
5149
- {{ compiler('cxx') }}

0 commit comments

Comments
 (0)