Skip to content

Commit b6b0c77

Browse files
committed
TOFIX: elezar suggestions
Signed-off-by: Evan Lezar <[email protected]>
1 parent 2053a37 commit b6b0c77

File tree

4 files changed

+6
-80
lines changed

4 files changed

+6
-80
lines changed

.github/workflows/image.yaml

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,15 @@ jobs:
3838
- vectorAdd
3939
- nbody
4040
- deviceQuery
41+
- nvbandwidth
4142
exclude:
4243
- dist: ubi9
4344
sample: deviceQuery
4445
- dist: ubi9
4546
sample: nbody
47+
- dist: ubi8
48+
sample: nvbandwidth
49+
4650
steps:
4751
- uses: actions/checkout@v4
4852
name: Check out code
@@ -72,30 +76,3 @@ jobs:
7276
echo "Building ${{ matrix.sample }} on ${{ matrix.dist }}"
7377
SAMPLE=${{ matrix.sample }} make -f deployments/container/Makefile build-${{ matrix.dist }}
7478
75-
build-nvbandwidth:
76-
runs-on: ubuntu-latest
77-
steps:
78-
- name: Check out code
79-
uses: actions/checkout@v4
80-
- name: Set up QEMU
81-
uses: docker/setup-qemu-action@v3
82-
with:
83-
image: tonistiigi/binfmt:master
84-
- name: Set up Docker Buildx
85-
uses: docker/setup-buildx-action@v3
86-
- name: Login to GitHub Container Registry
87-
uses: docker/login-action@v3
88-
with:
89-
registry: ghcr.io
90-
username: ${{ github.actor }}
91-
password: ${{ secrets.GITHUB_TOKEN }}
92-
- name: Build nvbandwidth image
93-
env:
94-
IMAGE_NAME: ghcr.io/nvidia/k8s-samples:nvbandwidth
95-
CUDA_VERSION: 12.5.0
96-
NVBANDWIDTH_VERSION: v0.7
97-
PUSH_ON_BUILD: true
98-
BUILD_MULTI_ARCH_IMAGES: true
99-
run: |
100-
echo "nvbandwidth ${NVBANDWIDTH_VERSION}"
101-
make -f multinodeNVL/nvbandwidth/Makefile build

deployments/container/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ endif
8686
endif
8787

8888
build-%: DIST = $(*)
89-
ifeq ($(SAMPLE),nbody)
89+
ifeq ($(SAMPLE),$(filter $(SAMPLE),nbody nvbandwidth))
9090
build-%: DOCKERFILE = $(CURDIR)/deployments/container/$(SAMPLE)/Dockerfile
9191
else
9292
build-%: DOCKERFILE = $(CURDIR)/deployments/container/Dockerfile.$(DOCKERFILE_SUFFIX)

multinodeNVL/nvbandwidth/Dockerfile renamed to deployments/container/nvbandwidth/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
ARG CUDA_VERSION=12.5.0
16-
17-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-devel-ubuntu22.04 AS builder
15+
FROM nvcr.io/nvidia/cuda:12.6.2-devel-ubuntu22.04 AS builder
1816

1917
ENV DEBIAN_FRONTEND=noninteractive
2018

multinodeNVL/nvbandwidth/Makefile

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)