Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/conda-python-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
MATRIX: ${{ steps.compute-matrix.outputs.MATRIX }}
timeout-minutes: 60
steps:
- name: Compute Build Matrix
id: compute-matrix
Expand Down Expand Up @@ -82,6 +83,7 @@ jobs:
image: rapidsai/ci-conda:cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}
env:
RAPIDS_BUILD_TYPE: ${{ inputs.build_type }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/conda-python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
BUILD_TYPE: ${{ inputs.build_type }}
outputs:
MATRIX: ${{ steps.compute-matrix.outputs.MATRIX }}
timeout-minutes: 60
steps:
- name: Compute Python Test Matrix
id: compute-matrix
Expand Down Expand Up @@ -90,6 +91,7 @@ jobs:
env:
RAPIDS_BUILD_TYPE: ${{ inputs.build_type }}
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
image: rapidsai/ci-conda:cuda13.0.0-ubuntu24.04-py3.13
env:
RAPIDS_BUILD_TYPE: ${{ inputs.build_type }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/simulator-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
MATRIX: ${{ steps.compute-matrix.outputs.MATRIX }}
timeout-minutes: 60
steps:
- name: Compute Simulator Test Matrix
id: compute-matrix
Expand Down Expand Up @@ -79,6 +80,7 @@ jobs:
image: rapidsai/ci-conda:cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}
env:
RAPIDS_BUILD_TYPE: ${{ inputs.build_type }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheel-windows-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- "3.12"
- "3.13"
runs-on: windows-2022
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheel-windows-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- "3.12"
- "3.13"
runs-on: "cuda-python-windows-gpu-github"
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wheels-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
MATRIX: ${{ steps.compute-matrix.outputs.MATRIX }}
timeout-minutes: 60
steps:
- name: Compute Build Matrix
id: compute-matrix
Expand All @@ -102,7 +103,7 @@ jobs:
image: "rapidsai/ci-wheel:cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
env:
RAPIDS_BUILD_TYPE: ${{ inputs.build_type }}

timeout-minutes: 60
steps:
- name: checkout code repo
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/wheels-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
BUILD_TYPE: ${{ inputs.build_type }}
outputs:
MATRIX: ${{ steps.compute-matrix.outputs.MATRIX }}
timeout-minutes: 60
steps:
- name: Validate test type
run: |
Expand Down Expand Up @@ -104,6 +105,7 @@ jobs:
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} # GPU jobs must set this container env variable
RAPIDS_BUILD_TYPE: ${{ inputs.build_type }}
timeout-minutes: 60
steps:
- name: Run nvidia-smi to make sure GPU is working
run: nvidia-smi
Expand Down
15 changes: 10 additions & 5 deletions numba_cuda/numba/cuda/tests/cudapy/test_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
import unittest


FUTURE_TIMEOUT = 4


def base_ipc_handle_test(handle, size, parent_pid):
pid = os.getpid()
assert pid != parent_pid
Expand Down Expand Up @@ -97,7 +100,7 @@ def test_ipc_handle(self):
fut = self.exe.submit(
base_ipc_handle_test, handle_bytes, size, parent_pid=os.getpid()
)
out = fut.result(timeout=3)
out = fut.result(timeout=FUTURE_TIMEOUT)
np.testing.assert_equal(arr, out)

def variants(self):
Expand Down Expand Up @@ -134,7 +137,7 @@ def check_ipc_handle_serialization(self, index_arg=None, foreign=False):
fut = self.exe.submit(
serialize_ipc_handle_test, ipch, parent_pid=os.getpid()
)
out = fut.result(timeout=3)
out = fut.result(timeout=FUTURE_TIMEOUT)
np.testing.assert_equal(expect, out)

def test_ipc_handle_serialization(self):
Expand All @@ -159,7 +162,7 @@ def check_ipc_array(self, index_arg=None, foreign=False):

# spawn new process for testing
fut = self.exe.submit(ipc_array_test, ipch, parent_pid=os.getpid())
out = fut.result(timeout=3)
out = fut.result(timeout=FUTURE_TIMEOUT)
np.testing.assert_equal(expect, out)

def test_ipc_array(self):
Expand Down Expand Up @@ -229,7 +232,9 @@ def test_staged(self):
for device_num in range(ngpus)
]

for fut in concurrent.futures.as_completed(futures, timeout=3 * ngpus):
for fut in concurrent.futures.as_completed(
futures, timeout=FUTURE_TIMEOUT * ngpus
):
np.testing.assert_equal(arr, fut.result())

def test_ipc_array(self):
Expand All @@ -243,7 +248,7 @@ def test_ipc_array(self):
fut = self.exe.submit(
staged_ipc_array_test, ipch, device_num, parent_pid=os.getpid()
)
out = fut.result(timeout=3)
out = fut.result(timeout=FUTURE_TIMEOUT)
np.testing.assert_equal(arr, out)


Expand Down