Skip to content

[Issue]: hipdnn external integration project fails when dvc data unavailable. #8721

Description

@adickin-amd

Problem Description

When dvc data isnt available, we should skip tests and warn the data is missing instead of outright failing. These tests are fully skipped on windows as well, need to fix that too.

      Start 26: miopen-provider-external-integration-check
26/33 Test #26: miopen-provider-external-integration-check ..........................***Failed  21193.66 sec
.....
[----------] 3 tests from TestCpuSdpaFwdGoldenReferenceBf16Hd128NomaskBatchBfp16
[ RUN      ] TestCpuSdpaFwdGoldenReferenceBf16Hd128NomaskBatchBfp16.Correctness/0
unknown file: Failure
C++ exception with description "Error: could not load tensor /data/sgundabo/rocm-libraries/build/bin/../lib/integration_test_bundles/quick/SdpaFwd/bhsd/bf16/hd128_nomask_batch/Gqa/Gqa.tensor0.bin" thrown in SetUp().

[  FAILED  ] TestCpuSdpaFwdGoldenReferenceBf16Hd128NomaskBatchBfp16.Correctness/0, where GetParam() = "/data/sgundabo/rocm-libraries/build/bin/../lib/integration_test_bundles/quick/SdpaFwd/bhsd/bf16/hd128_nomask_batch/Gqa/Gqa.json" (0 ms)
[ RUN      ] TestCpuSdpaFwdGoldenReferenceBf16Hd128NomaskBatchBfp16.Correctness/1
unknown file: Failure
C++ exception with description "Error: could not load tensor /data/sgundabo/rocm-libraries/build/bin/../lib/integration_test_bundles/quick/SdpaFwd/bhsd/bf16/hd128_nomask_batch/Medium/Medium.tensor0.bin" thrown in SetUp().

[  FAILED  ] TestCpuSdpaFwdGoldenReferenceBf16Hd128NomaskBatchBfp16.Correctness/1, where GetParam() = "/data/sgundabo/rocm-libraries/build/bin/../lib/integration_test_bundles/quick/SdpaFwd/bhsd/bf16/hd128_nomask_batch/Medium/Medium.json" (0 ms)
[ RUN      ] TestCpuSdpaFwdGoldenReferenceBf16Hd128NomaskBatchBfp16.Correctness/2
unknown file: Failure
C++ exception with description "Error: could not load tensor /data/sgundabo/rocm-libraries/build/bin/../lib/integration_test_bundles/quick/SdpaFwd/bhsd/bf16/hd128_nomask_batch/Small/Small.tensor0.bin" thrown in SetUp().

[  FAILED  ] TestCpuSdpaFwdGoldenReferenceBf16Hd128NomaskBatchBfp16.Correctness/2, where GetParam() = "/data/sgundabo/rocm-libraries/build/bin/../lib/integration_test_bundles/quick/SdpaFwd/bhsd/bf16/hd128_nomask_batch/Small/Small.json" (0 ms)
[----------] 3 tests from TestCpuSdpaFwdGoldenReferenceBf16Hd128NomaskBatchBfp16 (0 ms total)

[----------] Global test environment tear-down

Operating System

linux/Windows

CPU

NA

GPU

NA

ROCm Version

NA

ROCm Component

No response

Steps to Reproduce

Build project without pulling dvc data. Run the tests and these tests will throw.

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

rocminfo --support output
Paste output here

Additional Information

No response

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions