Skip to content

Commit 9a9f9b8

Browse files
authored
✨ feat(deploy): Modernize TRT deployment for Blackwell with docs (#620)
* ✨ feat(deploy): Modernize TRT deployment for Blackwell with docs * 📝 Update README.md
1 parent a80dee3 commit 9a9f9b8

File tree

6 files changed

+392
-221
lines changed

6 files changed

+392
-221
lines changed

rtdetrv2_pytorch/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# tensorrt:23.01-py3 (8.5.2.2)
2-
FROM nvcr.io/nvidia/tensorrt:23.01-py3
1+
FROM nvcr.io/nvidia/pytorch:25.06-py3
32

43
WORKDIR /workspace
54

@@ -8,4 +7,4 @@ COPY requirements.txt .
87
RUN pip install --upgrade pip && \
98
pip install -r requirements.txt
109

11-
CMD ["/bin/bash"]
10+
CMD ["/bin/bash"]
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
version: "3.9"
2-
31
services:
42
tensorrt-container:
53
build:
64
context: .
75
dockerfile: Dockerfile
8-
image: rtdetr-v2:23.01
6+
image: rtdetr-v2:25.06
7+
container_name: rtdetr-v2-trt
8+
ports:
9+
- "6006:6006" # tensorboard
910
volumes:
1011
- ./:/workspace
11-
runtime: nvidia
12-
environment:
13-
- NVIDIA_VISIBLE_DEVICES=all
12+
deploy:
13+
resources:
14+
reservations:
15+
devices:
16+
- driver: nvidia
17+
count: all
18+
capabilities: [gpu]
19+
working_dir: /workspace
20+
restart: unless-stopped
1421
stdin_open: true
1522
tty: true
23+
command: bash

0 commit comments

Comments
 (0)