Skip to content

Commit 97a09c2

Browse files
authored
Fix ptxas compilation on sm103 for triton kernels (#2539)
* add triton ptxas path for gb300 to find where it is to avoid compilation errors Signed-off-by: tdophung <tdophung@nvidia.com> * add these flags in advance to preven future breaks when ops are extended to multi gpus Signed-off-by: tdophung <tdophung@nvidia.com> * add this also to L1 Signed-off-by: tdophung <tdophung@nvidia.com> --------- Signed-off-by: tdophung <tdophung@nvidia.com>
1 parent eb8e792 commit 97a09c2

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

qa/L0_jax_distributed_unittest/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# See LICENSE for license information.
4+
export TRITON_PTXAS_PATH=/usr/local/cuda/bin/ptxas
45

56
function error_exit() {
67
echo "Error: $1"

qa/L0_jax_unittest/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# See LICENSE for license information.
4+
export TRITON_PTXAS_PATH=/usr/local/cuda/bin/ptxas
45

56
set -x
67

qa/L1_jax_distributed_unittest/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# See LICENSE for license information.
4+
export TRITON_PTXAS_PATH=/usr/local/cuda/bin/ptxas
45

56
function test_fail() {
67
RET=1

qa/L2_jax_distributed_unittest/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# See LICENSE for license information.
4+
export TRITON_PTXAS_PATH=/usr/local/cuda/bin/ptxas
45

56
set -xe
67

qa/L2_jax_unittest/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# See LICENSE for license information.
4+
export TRITON_PTXAS_PATH=/usr/local/cuda/bin/ptxas
45

56
set -x
67

0 commit comments

Comments
 (0)