Skip to content

Commit 136f6bd

Browse files
[CI] upgrade release base image from rockylinux8 to rocklinux9 (#763)
1 parent b045269 commit 136f6bd

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

mlir-tensorrt/.devcontainer/cuda12.9-rockylinux8-prebuilt/devcontainer.json renamed to mlir-tensorrt/.devcontainer/cuda12.9-rockylinux9-prebuilt/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "cuda12.9-rockylinux8-prebuilt",
3-
"image": "ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda12.9-rockylinux8-0.1",
2+
"name": "cuda12.9-rockylinux9-prebuilt",
3+
"image": "ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda12.9-rockylinux9-0.1",
44
"remoteUser": "nvidia",
55
"updateRemoteUserUID": true,
66
"runArgs": [
77
"--name",
8-
"cuda12.9-rockylinux8-prebuilt-${localEnv:USER:nvidia}-${devcontainerId}",
8+
"cuda12.9-rockylinux9-prebuilt-${localEnv:USER:nvidia}-${devcontainerId}",
99
"--cap-add=SYS_PTRACE",
1010
"--security-opt",
1111
"seccomp=unconfined",

mlir-tensorrt/.devcontainer/cuda12.9-rockylinux8/devcontainer.json renamed to mlir-tensorrt/.devcontainer/cuda12.9-rockylinux9/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"name": "cuda12.9-rockylinux8",
2+
"name": "cuda12.9-rockylinux9",
33
"build": {
44
"context": "${localWorkspaceFolder}/build_tools/docker",
55
"dockerfile": "${localWorkspaceFolder}/build_tools/docker/Dockerfile",
66
"args": {
7-
"BASE_IMAGE": "nvcr.io/nvidia/cuda:12.9.1-devel-rockylinux8",
8-
"LINUX_DISTRO": "rockylinux8",
7+
"BASE_IMAGE": "nvcr.io/nvidia/cuda:12.9.1-devel-rockylinux9",
8+
"LINUX_DISTRO": "rockylinux9",
99
"LLVM_VERSION": 20
1010
}
1111
},
1212
"remoteUser": "nvidia",
1313
"updateRemoteUserUID": true,
1414
"runArgs": [
1515
"--name",
16-
"cuda12.9-rockylinux8-${localEnv:USER:nvidia}-${devcontainerId}",
16+
"cuda12.9-rockylinux9-${localEnv:USER:nvidia}-${devcontainerId}",
1717
"--cap-add=SYS_PTRACE",
1818
"--security-opt",
1919
"seccomp=unconfined",

mlir-tensorrt/.devcontainer/cuda13.0-rockylinux8-prebuilt/devcontainer.json renamed to mlir-tensorrt/.devcontainer/cuda13.0-rockylinux9-prebuilt/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "cuda13.0-rockylinux8-prebuilt",
3-
"image": "ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda13.0-rockylinux8-0.1",
2+
"name": "cuda13.0-rockylinux9-prebuilt",
3+
"image": "ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda13.0-rockylinux9-0.1",
44
"remoteUser": "nvidia",
55
"updateRemoteUserUID": true,
66
"runArgs": [
77
"--name",
8-
"cuda13.0-rockylinux8-prebuilt-${localEnv:USER:nvidia}-${devcontainerId}",
8+
"cuda13.0-rockylinux9-prebuilt-${localEnv:USER:nvidia}-${devcontainerId}",
99
"--cap-add=SYS_PTRACE",
1010
"--security-opt",
1111
"seccomp=unconfined",

mlir-tensorrt/.devcontainer/cuda13.0-rockylinux8/devcontainer.json renamed to mlir-tensorrt/.devcontainer/cuda13.0-rockylinux9/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"name": "cuda13.0-rockylinux8",
2+
"name": "cuda13.0-rockylinux9",
33
"build": {
44
"context": "${localWorkspaceFolder}/build_tools/docker",
55
"dockerfile": "${localWorkspaceFolder}/build_tools/docker/Dockerfile",
66
"args": {
7-
"BASE_IMAGE": "nvcr.io/nvidia/cuda:13.0.2-devel-rockylinux8",
8-
"LINUX_DISTRO": "rockylinux8",
7+
"BASE_IMAGE": "nvcr.io/nvidia/cuda:13.0.2-devel-rockylinux9",
8+
"LINUX_DISTRO": "rockylinux9",
99
"LLVM_VERSION": 20
1010
}
1111
},
1212
"remoteUser": "nvidia",
1313
"updateRemoteUserUID": true,
1414
"runArgs": [
1515
"--name",
16-
"cuda13.0-rockylinux8-${localEnv:USER:nvidia}-${devcontainerId}",
16+
"cuda13.0-rockylinux9-${localEnv:USER:nvidia}-${devcontainerId}",
1717
"--cap-add=SYS_PTRACE",
1818
"--security-opt",
1919
"seccomp=unconfined",

mlir-tensorrt/.devcontainer/generate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import json
2-
from pathlib import Path
32
import sys
3+
from pathlib import Path
44

55
# Bump the version when the Dockerfile or scripts under build_tools/docker/
66
# change and a new tag is created and pushed to the registry.
@@ -134,7 +134,7 @@ def make_base_image(os: str, cuda_version: str):
134134
return f"nvcr.io/nvidia/cuda:{cuda_version}-devel-{os}"
135135

136136
if "rockylinux" in os:
137-
return f"nvcr.io/nvidia/cuda:{cuda_version}-devel-rockylinux8"
137+
return f"nvcr.io/nvidia/cuda:{cuda_version}-devel-rockylinux9"
138138

139139
raise Exception("failed to determine base image name")
140140

@@ -154,7 +154,7 @@ def create_configs(os: str, cuda_version: str):
154154
customizations = make_customizations()
155155

156156
# In newer Ubuntu NVIDIA base containers, there is already a non-root user named "ubuntu" added
157-
# with the default UID of 1000. For Rockylinux8, there is no such user, so we use "nvidia" as the
157+
# with the default UID of 1000. For Rockylinux9, there is no such user, so we use "nvidia" as the
158158
# remote user and it will get created by the devcontainer common-utils feature script.
159159
if "ubuntu" in os:
160160
remote_user = "ubuntu"
@@ -182,7 +182,7 @@ def create_configs(os: str, cuda_version: str):
182182

183183

184184
def enumerate_configs():
185-
for os in ["ubuntu24.04", "rockylinux8"]:
185+
for os in ["ubuntu24.04", "rockylinux9"]:
186186
for cuda_version in ["12.9.1", "13.0.2"]:
187187
yield create_configs(os, cuda_version)
188188

mlir-tensorrt/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Python files are formatted using the [`black` formatter](https://black.readthedo
1111

1212
## Development Environment
1313

14-
This project provides a pre-configured CUDA 12.5 development environment using [Dev Containers](https://containers.dev/). We offer configurations for both `ubuntu` and `rockylinux8`, located in the `.devcontainer` directory.
14+
This project provides a pre-configured CUDA 12.5 development environment using [Dev Containers](https://containers.dev/). We offer configurations for both `ubuntu` and `rockylinux9`, located in the `.devcontainer` directory.
1515

1616
### VS Code (Recommended)
1717
1. Install the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).

0 commit comments

Comments
 (0)