microsoft / microsoft/onnxruntime

[Feature Request] Mark as negative tests for minimal CUDA build

Open
#21,394 5 comments 0 reactions 0 assignees View on GitHub
ep:CUDA feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the feature request

Mark tests that are expected to fail in the minimal CUDA build.

### Describe scenario use case

Some tests are expected to fail while using the minimal CUDA EP by compiling with `-Donnxruntime_CUDA_MINIMAL`. Since the CUDA "EP" in result is more of an utility library for memory allocations etc, ops are not expected to run directly with the minimal CUDA EP. Should we mark those tests as negative tests if `USE_CUDA_MINIMAL` was defined?

Happy to contribute. Thanks!

Contributor guide

Open the contributing guide

Research direction

Start by locating the tests that run with the minimal CUDA build and the existing handling of USE_CUDA_MINIMAL. Review how expected failures are represented, then mark the applicable tests as negative when that configuration is enabled and verify the minimal CUDA test run passes with those expectations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.