Skip to content

Commit

Permalink
chore: add dev-containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoch committed Dec 13, 2024
1 parent 51d064d commit 89e77c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile_trtllm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN wget "https://download.open-mpi.org/release/open-mpi/v4.1/$OMPI_TARBALL_FILE

# Install TensorRT
FROM cuda-builder AS trt-builder
COPY install_tensorrt.sh /opt/install_tensorrt.sh
COPY backends/trtllm/scripts/install_tensorrt.sh /opt/install_tensorrt.sh
RUN chmod +x /opt/install_tensorrt.sh && \
/opt/install_tensorrt.sh

Expand Down
9 changes: 3 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
{
"name": "CUDA",
// "image": "nvidia/cuda:12.6.0-devel-ubuntu24.04",
"build": {
"dockerfile": "Dockerfile_trtllm"
"dockerfile": "Dockerfile_trtllm",
"context": ".."
},
"remoteEnv": {
"PATH": "${containerEnv:PATH}:/usr/local/cuda/bin",
Expand All @@ -15,8 +15,5 @@
"jetbrains" : {
"backend" : "CLion"
}
},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
}

0 comments on commit 89e77c2

Please sign in to comment.