Skip to content

[ENH]: Pathfinder CI test case coverage improvements #1093

Open

Description

@brandon-b-miller

cuda.pathfinder is currently tested in CI for two CTK installation modes: a system CTK and one whose components are individually provided via wheels. Generally, pathfinder seems to be tested wherever cuda.bindings and cuda.core are tested.

Instead, cuda.pathfinder ought to have its own matrix of CI jobs that test the four installation modes that are supported: a system install, a wheel install, a conda install, and a local install of the ctk at a nonstandard directory the user points to via CUDA_HOME.

The solution might look like removing the pathfinder tests from the existing jobs and assigning a dedicated CI workflow to pathfinder that runs pathfinder tests across all the CTK installation modes. Existing testing coverage of cuda-core and cuda-bindings could be maintained if desired.

Activity

  1. brandon-b-miller commented on Oct 7, 2025

    @brandon-b-miller
    ContributorAuthor
  2. added
    cuda.pathfinderEverything related to the cuda.pathfinder module
    CI/CDCI/CD infrastructure
    on Oct 7, 2025
  3. rwgk commented on Oct 28, 2025

    @rwgk
    Contributor

    Test matrix:

    • 1-site-packages
      • 1-linux-64
        • cu12
        • cu13
      • 2-linux-aarch64
        • cu12
        • cu13
      • 3-win-64
        • cu12
        • cu13
    • 2-local-ctk
      • 1-linux-64
        • cu12
        • cu13
      • 2-linux-aarch64
        • cu12
        • cu13
      • 3-win-64
        • cu12
        • cu13
    • 3-conda-ctk
      • 1-linux-64
        • cu12
        • cu13
      • 2-linux-aarch64
        • cu12
        • cu13
      • 3-win-64
        • cu12
        • cu13

    for pkgsys in ("1-site-packages", "2-local-ctk", "3-conda-ctk"):
        print(f"* {pkgsys}")
        for arch in ("1-linux-64", "2-linux-aarch64", "3-win-64"):
            print(f"    * {arch}")
            for cumajor in ("12", "13"):
                print(f"        * cu{cumajor}")
  4. rwgk commented on Oct 28, 2025

    @rwgk
    Contributor

    Commands to set up environments:

    • site-packages (identical on all platforms)
    cd cuda_pathfinder/
    pip install -v -e . --group test-cu13
    
    pip install -v -e . --group test-cu12
    

    • local-ctk
    cuda_13.0.2_580.95.05_linux.run
    cuda_13.0.2_580.95.05_linux_sbsa.run
    cuda_13.0.2_windows.exe
    
    cuda_12.9.1_575.57.08_linux.run
    cuda_12.9.1_575.57.08_linux_sbsa.run
    cuda_12.9.1_576.57_windows.exe
    
    cd cuda_pathfinder/
    pip install -v -e . --group test
    

    • conda-ctk
    toolshed/conda_create_for_pathfinder_testing.sh 13.0.2
    
    toolshed/conda_create_for_pathfinder_testing.sh 12.9.1
    
    toolshed/conda_create_for_pathfinder_testing.ps1 13.0.2
    
    toolshed/conda_create_for_pathfinder_testing.ps1 12.9.1
    
    cd cuda_pathfinder/
    pip install -v -e . --group test
    
  5. rwgk commented on Oct 28, 2025

    @rwgk
    Contributor

    Commands for testing:

    export CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS=all_must_work
    export CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS=all_must_work
    cd cuda_pathfinder/
    pytest -ra -s -v tests/
    
    $env:CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS = "all_must_work"
    $env:CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS = "all_must_work"
    cd cuda_pathfinder\
    pytest -ra -s -v tests\
    

    For local-ctk testing: CUDA_HOME must be set in the environment

  6. added
    P0High priority - Must do!
    and removed
    triageNeeds the team's attention
    on Oct 30, 2025
  7. 8 remaining items

  8. added this to the cuda.pathfinder next milestone on May 21, 2026
  9. rparolin commented on May 29, 2026

    @rparolin
    Collaborator

    @rwgk I'm going to close this ticket out given that we aren't working on it anymore. Feel free to re-open if you believe it was a mistake.

  10. assigned and unassigned on May 29, 2026
  11. leofang commented on May 29, 2026

    @leofang
    Member

    I will take a stab at this.

  12. removed theissue type on Nov 4, 2026
  13. added
    P1Medium priority - Should do
    and removed
    P0High priority - Must do!
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CI/CDCI/CD infrastructureP1Medium priority - Should docuda.pathfinderEverything related to the cuda.pathfinder moduleenhancementAny code-related improvements

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions