File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+ # SPDX-License-Identifier: Apache-2.0
4+
5+ set -euo pipefail
6+
7+ rapids-logger " Check GPU status"
8+ nvidia-smi
9+
10+ rapids-logger " Check memory configuration"
11+ nvidia-smi -q | grep " Addressing Mode" || echo " Addressing Mode not reported"
12+ grep Coherent /proc/driver/nvidia/params || echo " Coherent GPU memory mode not reported"
13+ grep -o ' init_on_alloc=[^ ]*' /proc/cmdline || echo " init_on_alloc: kernel default"
Original file line number Diff line number Diff line change @@ -33,13 +33,7 @@ set -u
3333
3434rapids-print-env
3535
36- rapids-logger " Check GPU status"
37- nvidia-smi
38-
39- rapids-logger " Check memory configuration"
40- nvidia-smi -q | grep " Addressing Mode" || echo " Addressing Mode not reported"
41- grep Coherent /proc/driver/nvidia/params || echo " Coherent GPU memory mode not reported"
42- grep -o ' init_on_alloc=[^ ]*' /proc/cmdline || echo " init_on_alloc: kernel default"
36+ ./ci/gpu_info.sh
4337
4438# Run librmm gtests from librmm-tests package
4539rapids-logger " Run gtests"
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION.
2+ # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved .
33# SPDX-License-Identifier: Apache-2.0
44
55set -euo pipefail
3333
3434rapids-print-env
3535
36- rapids-logger " Check GPU status"
37- nvidia-smi
38- nvidia-smi -q | grep " Addressing Mode" || echo " Addressing Mode not reported"
36+ ./ci/gpu_info.sh
3937
4038rapids-logger " Building librmm in Debug mode"
4139cmake -S cpp -B cpp/build \
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # SPDX-FileCopyrightText: Copyright (c) 2020-2026, NVIDIA CORPORATION.
2+ # SPDX-FileCopyrightText: Copyright (c) 2020-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved .
33# SPDX-License-Identifier: Apache-2.0
44
55set -euo pipefail
@@ -39,9 +39,7 @@ RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${PWD}/test-results"}
3939RAPIDS_COVERAGE_DIR=${RAPIDS_COVERAGE_DIR:- " ${PWD} /coverage-results" }
4040mkdir -p " ${RAPIDS_TESTS_DIR} " " ${RAPIDS_COVERAGE_DIR} "
4141
42- rapids-logger " Check GPU status"
43- nvidia-smi
44- nvidia-smi -q | grep " Addressing Mode" || echo " Addressing Mode not reported"
42+ ./ci/gpu_info.sh
4543
4644rapids-logger " pytest rmm"
4745
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION.
2+ # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved .
33# SPDX-License-Identifier: Apache-2.0
44
55set -euo pipefail
@@ -22,9 +22,7 @@ RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${PWD}/test-results"}
2222RAPIDS_COVERAGE_DIR=${RAPIDS_COVERAGE_DIR:- " ${PWD} /coverage-results" }
2323mkdir -p " ${RAPIDS_TESTS_DIR} " " ${RAPIDS_COVERAGE_DIR} "
2424
25- rapids-logger " Check GPU status"
26- nvidia-smi
27- nvidia-smi -q | grep " Addressing Mode" || echo " Addressing Mode not reported"
25+ ./ci/gpu_info.sh
2826
2927EXITCODE=0
3028
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION.
2+ # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved .
33# SPDX-License-Identifier: Apache-2.0
44
55set -eou pipefail
@@ -28,9 +28,7 @@ PIP_INSTALL_SHARED_ARGS=(
2828
2929EXITCODE=0
3030
31- rapids-logger " Check GPU status"
32- nvidia-smi
33- nvidia-smi -q | grep " Addressing Mode" || echo " Addressing Mode not reported"
31+ ./ci/gpu_info.sh
3432
3533echo " ::group::PyTorch Tests"
3634
You can’t perform that action at this time.
0 commit comments