Skip to content
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

[Build] build error for windows #23166

Open
ChaoII opened this issue Dec 20, 2024 · 2 comments
Open

[Build] build error for windows #23166

ChaoII opened this issue Dec 20, 2024 · 2 comments
Labels
build build issues; typically submitted using template platform:windows issues related to the Windows platform

Comments

@ChaoII
Copy link

ChaoII commented Dec 20, 2024

Describe the issue

Assembling: D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(67) : error A2008:syntax error : ymm0
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(68) : error A2008:syntax error : ymm1
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(89) : error A2008:syntax error : xmm2
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(90) : error A2008:syntax error : xmm1
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(105) : error A2008:syntax error : xmm2
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(106) : error A2008:syntax error : xmm1

Urgency

No response

Target platform

windows 11 MSVC 2022 x64

Build script

build command:

python .\tools\ci_build\build.py ^
  --cmake_generator "Ninja" ^
  --build_dir ./target/ ^
  --config Release ^
  --parallel 16 ^
  --enable_lto ^
  --enable_msvc_static_runtime ^
  --skip_tests ^
  --skip_submodule_sync ^
  --compile_no_warning_as_error

Error / output

Assembling: D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(67) : error A2008:syntax error : ymm0
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(68) : error A2008:syntax error : ymm1
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(89) : error A2008:syntax error : xmm2
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(90) : error A2008:syntax error : xmm1
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(105) : error A2008:syntax error : xmm2
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(106) : error A2008:syntax error : xmm1

Visual Studio Version

2022

GCC / Compiler Version

No response

@ChaoII ChaoII added the build build issues; typically submitted using template label Dec 20, 2024
@github-actions github-actions bot added the platform:windows issues related to the Windows platform label Dec 20, 2024
@yuslepukhin
Copy link
Member

What is the version of ORT you are seeing this? Tag, commit?

@ChaoII
Copy link
Author

ChaoII commented Dec 23, 2024

What is the version of ORT you are seeing this? Tag, commit?

The latest default branch

commit 4aca8f33df95f2326ea3f6b8337b5e2ca53f0b96 (grafted, HEAD -> main, origin/main, origin/HEAD)
Author: mingyue <[email protected]>
Date:   Fri Dec 20 08:47:13 2024 +0800

    [Bug Fix] Missing CustomOp SchemaRegister when generator EPContext ONNX model (#23091)
    
    ### Description
    Enhancements to EPContext Operations:
    1. Introduced support for the bfloat16 data type in EPContext operations.
    2. Bug Fix: Missing Custom OP Schema Registration when generator EPContext ONNX model
    
    ---------
    
    Co-authored-by: mingyue <[email protected]>
    Co-authored-by: Hector Li <[email protected]>

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 platform:windows issues related to the Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants