File tree Expand file tree Collapse file tree 4 files changed +6
-80
lines changed Expand file tree Collapse file tree 4 files changed +6
-80
lines changed Original file line number Diff line number Diff 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
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
Original file line number Diff line number Diff line change 8686endif
8787
8888build-% : DIST = $(* )
89- ifeq ($(SAMPLE ) ,nbody)
89+ ifeq ($(SAMPLE ) ,$( filter $( SAMPLE ) , nbody nvbandwidth) )
9090build-% : DOCKERFILE = $(CURDIR ) /deployments/container/$(SAMPLE ) /Dockerfile
9191else
9292build-% : DOCKERFILE = $(CURDIR ) /deployments/container/Dockerfile.$(DOCKERFILE_SUFFIX )
Original file line number Diff line number Diff line change 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
1917ENV DEBIAN_FRONTEND=noninteractive
2018
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments