microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.78k stars 2.94k forks source link

onnxruntime 1.20.0 gcc10.3 build error #22796

Closed kq566 closed 1 week ago

kq566 commented 1 week ago

something wrong here? https://github.com/microsoft/onnxruntime/blob/e8f1d73b0bed8c6744fd2fd8b53f43737f5702be/onnxruntime/core/mlas/lib/sqnbitgemm_kernel_avx2_int8_blklen64.h#L120

tianleiwu commented 1 week ago

It is a bug in https://github.com/microsoft/onnxruntime/pull/20687. @liqunfu Change 9 to 10 for the line, or use gcc 11 or above to walkaround.