Skip to content

Add NVIDIA GPU runners and run CUDA tests again #18814

Open

Description

@ScottTodd

We used to have some Linux runners with NVIDIA T4 and A100 GPUs on the GCP runner cluster. Our new Azure runner cluster currently only has Linux CPU runners.

We have unit tests and larger test suites using the CUDA and Vulkan HAL. None of these are particularly CPU heavy, so we could get by with a 4 or 8 core CPU and an attached GPU, if such a configuration is available.

Target should be presubmit (pull_request and push events), with a load of around 50-100 (up to 400) runs per day.

Can start with a single GPU type, but eventually we could also run tests across a wide range of data center and consumer cards nightly, like T4, A100, H100, 1080, 2080, etc. We will also want to run benchmarks eventually, which will need persistent runners with cached model weights and some tuned hardware/driver settings.

Activity

  1. added
    codegen/nvvm
    codegen/spirv
    hal/cuda
    hal/vulkan
    infrastructure
    on Oct 17, 2024
  2. ScottTodd commented on Dec 4, 2024

    @ScottTodd
    MemberAuthor

    GitHub-hosted GPU runners are an option, if we don't want to manage our own cluster or persistent VMs:

    Tesla T4 runners currently cost $0.07 / minute.

    Napkin math:

    So probably cheaper to self-host if we have a capable machine that can be plugged in and maintained, but not too expensive, compared to other cloud infra costs, and the reliability and maintenance cost savings would be very helpful.

    cc @amd-chrissosa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegen/nvvmcodegen/spirvhal/cudahal/vulkaninfrastructure

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions