You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add NVIDIA GPU runners and run CUDA tests again #18814
codegen/nvvmNVVM code generation compiler backendcodegen/spirvSPIR-V code generation compiler backendhal/cudaRuntime CUDA HAL backendhal/vulkanRuntime Vulkan GPU HAL backendinfrastructureRelating to build systems, CI, or testing
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.
Optimistically, that's 5 minutes of job time. Pessimistically, 20 minutes.
I see on the order of 1000 workflow runs of pkgci last month. That number could fairly easily double though.
$0.07 per minute * 5 minutes per run * 1000 runs per month * 12 months per year == $4,200 per year
$0.07 per minute * 20 minutes per run * 1000 runs per month * 12 months per year == $16,800 per year
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.
codegen/nvvmNVVM code generation compiler backendcodegen/spirvSPIR-V code generation compiler backendhal/cudaRuntime CUDA HAL backendhal/vulkanRuntime Vulkan GPU HAL backendinfrastructureRelating to build systems, CI, or testing
Activity
ScottTodd commentedon Dec 4, 2024
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
[infra] Run parameterized ONNX model tests across CPU, Vulkan, and HI…
[infra] Run parameterized ONNX model tests across CPU, Vulkan, and HI…
[PJRT] Enable CUDA build for PJRT plugin in pkgci (#20927)
[infra] Run parameterized ONNX model tests across CPU, Vulkan, and HI…
[PJRT] Enable CUDA build for PJRT plugin in pkgci (#20927)