Skip to content

Disable more video tests on selected machines#5385

Merged
klecki merged 2 commits intoNVIDIA:mainfrom
klecki:fix-video-other
Mar 22, 2024
Merged

Disable more video tests on selected machines#5385
klecki merged 2 commits intoNVIDIA:mainfrom
klecki:fix-video-other

Conversation

@klecki
Copy link
Contributor

@klecki klecki commented Mar 20, 2024

Category: Other

Description:

Move the check to test_utils
Disable tests that try to use codecs that are unsupported on M60.

Additional information:

Affected modules and functionalities:

Video tests

Key points relevant for the review:

Tests:

  • Existing tests apply
    Some tests were disabled for Tesla M60
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

Move the check to test_utils
Disable tests that try to use codecs that are unsupported on M60.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@awolant awolant self-assigned this Mar 20, 2024
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki
Copy link
Contributor Author

klecki commented Mar 21, 2024

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13686793]: BUILD STARTED

Comment on lines +82 to +87
def skip_if_m60():
"""Skip the test if the GPU is M60. The video decoder is not supported in full on M60."""

gpus = get_gpu_name_from_nvml()
if "Tesla M60" in gpus:
raise SkipTest()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we just restrict the entire family of GPUs with compute capability <6.0? AFAIK Tesla M60 is a Maxwell, so it must be 5.x. Are there any pre-6.0 machines on which the tests did work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was the solution we decided last time, to do specific filtering for now, as what codecs on what GPUs are available is not straightforward and we want to run as many tests as possible.

Maybe @awolant can give you more details.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meh. Approved, but I'm not comfortable with hardcoding things specific to our CI in our main source repo.

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13686793]: BUILD PASSED

@klecki klecki merged commit b5fd2a4 into NVIDIA:main Mar 22, 2024
@klecki klecki deleted the fix-video-other branch March 22, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants