Skip to content

Commit

Permalink
more uses of conda activate
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 1, 2024
1 parent e149215 commit b36ee3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions context/raft-ann-bench/run_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ function hasArg {
(( ${NUMARGS} != 0 )) && (echo " ${ARGS} " | grep -q " $1 ")
}

. /opt/conda/etc/profile.d/conda.sh; conda activate rapids

export CONDA_PREFIX=/opt/conda/envs/rapids
export DATASET_ARG=$1
export GET_DATASET_ARGS=$2
Expand Down
2 changes: 2 additions & 0 deletions context/raft-ann-bench/run_benchmarks_preloaded_datasets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ function hasArg {
(( ${NUMARGS} != 0 )) && (echo " ${ARGS} " | grep -q " $1 ")
}

. /opt/conda/etc/profile.d/conda.sh; conda activate rapids

export CONDA_PREFIX=/opt/conda/envs/rapids
export DATASET_ARG=$1
export GET_DATASET_ARGS=$2
Expand Down

0 comments on commit b36ee3e

Please sign in to comment.