Skip to content

Commit

Permalink
Add cuda-cudart-dev and cuda-profiler-api to environment (#549)
Browse files Browse the repository at this point in the history
Otherwise, I suddenly cannot build apex (for running DLRM) anymore...
  • Loading branch information
MaxiBoether authored Jun 25, 2024
1 parent b1b71c2 commit 70ce04c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ dependencies:
# - nvidia::cuda-nvcc=12.1.*
# - nvidia::cuda-nvtx=12.1.*
# - nvidia::cuda-cupti=12.1.*
# - nvidia::cuda-cudart-dev=12.1.*
# - nvidia::cuda-profiler-api=12.1.*
2 changes: 2 additions & 0 deletions scripts/initial_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ if [ "$IS_MAC" != true ]; then
sed -i "/nvidia::cuda-nvcc/c\ - nvidia::cuda-nvcc=$CUDA_VERSION.*" $PARENT_DIR/environment.yml
sed -i "/nvidia::cuda-nvtx/c\ - nvidia::cuda-nvtx=$CUDA_VERSION.*" $PARENT_DIR/environment.yml
sed -i "/nvidia::cuda-cupti/c\ - nvidia::cuda-cupti=$CUDA_VERSION.*" $PARENT_DIR/environment.yml
sed -i "/nvidia::cuda-cudart-dev/c\ - nvidia::cuda-cudart-dev=$CUDA_VERSION.*" $PARENT_DIR/environment.yml
sed -i "/nvidia::cuda-profiler-api=/c\ - nvidia::cuda-profiler-api==$CUDA_VERSION.*" $PARENT_DIR/environment.yml

# Fix $PARENT_DIR/docker-compose.yml
startLine="$(grep -n "CUDASTART" $PARENT_DIR/docker-compose.yml | head -n 1 | cut -d: -f1)"
Expand Down

0 comments on commit 70ce04c

Please sign in to comment.