Skip to content

[Build] CUDA unit test is failing but I'm not asking to build for CUDA (Snapdragon, ARM, Windows 11, VS2022) #24890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sourcesync opened this issue May 28, 2025 · 0 comments
Labels
build build issues; typically submitted using template ep:CUDA issues related to the CUDA execution provider ep:DML issues related to the DirectML execution provider platform:windows issues related to the Windows platform

Comments

@sourcesync
Copy link

sourcesync commented May 28, 2025

Describe the issue

I'm building from source for DML support only. A unit test is failing, but it seems to be related to CUDA and I'm not asking for CUDA support.

Urgency

Not urgent.

Target platform

Windows 11, ARM, Snapdragon Elite

Build script

:: Copyright (c) Microsoft Corporation. All rights reserved.
:: Licensed under the MIT License.

@echo off

setlocal
set PATH=C:\Program Files\Git\usr\bin;%PATH%

rem Requires a Python install to be available in your PATH
python "%~dp0\tools\ci_build\build.py" --build_dir "%~dp0\build\Windows" --use_dml --no_kleidiai --disable_cuda_nhwc_ops %*

Error / output

...
00007FF78E85CB94: onnxruntime::test::BaseTester::ExecuteModelonnxruntime::InferenceSession
00007FF78E855014: onnxruntime::test::BaseTester::ExecuteModelForEps
00007FF78E8508E0: onnxruntime::test::BaseTester::RunWithConfig
00007FF78E64AFB0: onnxruntime::test::anonymous namespace'::RunTest<onnxruntime::MLFloat16> 00007FF78E6457CC: onnxruntime::test::anonymous namespace'::RunTest
00007FF78E645B7C: onnxruntime::test::MatMulNBits_Float16Cuda_Test::TestBody
00007FF792C4BFDC: testing::internal::HandleSehExceptionsInMethodIfSupportedtesting::Test,void
00007FF792C4B860: testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void
00007FF792C0AF0C: testing::Test::Run
00007FF792C0BD38: testing::TestInfo::Run
... Google Test internal frames ...

[ FAILED ] MatMulNBits.Float16Cuda (69450 ms)
[ RUN ] MatMulNBits.Float16Large
...

Visual Studio Version

VS 2022

GCC / Compiler Version

No response

@sourcesync sourcesync added the build build issues; typically submitted using template label May 28, 2025
@github-actions github-actions bot added ep:DML issues related to the DirectML execution provider ep:CUDA issues related to the CUDA execution provider platform:windows issues related to the Windows platform labels May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template ep:CUDA issues related to the CUDA execution provider ep:DML issues related to the DirectML execution provider platform:windows issues related to the Windows platform
Projects
None yet
Development

No branches or pull requests

1 participant