-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'weaviate' into c-add-pinned-memory
- Loading branch information
Showing
36 changed files
with
2,296 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,3 +74,4 @@ cagra_index | |
ivf_flat_index | ||
ivf_pq_index | ||
|
||
.aider* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
# Copyright (c) 2024, NVIDIA CORPORATION. | ||
|
||
set -euo pipefail | ||
|
||
rapids-logger "Create test conda environment" | ||
. /opt/conda/etc/profile.d/conda.sh | ||
|
||
|
||
rapids-mamba-retry env create --yes -n go | ||
|
||
# seeing failures on activating the environment here on unbound locals | ||
# apply workaround from https://github.com/conda/conda/issues/8186#issuecomment-532874667 | ||
set +eu | ||
conda activate go | ||
set -eu | ||
|
||
rapids-print-env | ||
|
||
export CGO_CFLAGS="-I$CONDA_PREFIX/include -I/usr/local/cuda/include -I/usr/local/include" | ||
export CGO_LDFLAGS="-L$CONDA_PREFIX/lib -L/usr/local/cuda/lib64 -lcuvs_c -lcudart -Wl,-rpath,$CONDA_PREFIX/lib-Wl,-rpath,/usr/local/cuda/lib64" | ||
|
||
rapids-logger "Downloading artifacts from previous jobs" | ||
CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp) | ||
|
||
# installing libcuvs/libraft will speed up the rust build substantially | ||
rapids-mamba-retry install \ | ||
--channel "${CPP_CHANNEL}" \ | ||
libcuvs \ | ||
libraft \ | ||
cuvs | ||
|
||
bash ./build.sh go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.