onnxruntime/cmake/patches
George Wu bb7f9616e6
remove log spam from cpuinfo (#23548)
cpuinfo outputs error when cpu is not recognized. 
this has been a longstanding issue e.g. 
https://github.com/microsoft/onnxruntime/issues/21947
https://github.com/microsoft/onnxruntime/issues/21393

this issue has been exacerbated by
https://github.com/microsoft/onnxruntime/pull/22856
this change
4fa0f1e0ed/onnxruntime/core/mlas/lib/qnbitgemm_kernel_neon.cpp (L189)
causes the messages to appear during static initialization.

this means for python, when you import onnxruntime you immediately see
the errors.

```
>>> import onnxruntime
Error in cpuinfo: Unknown chip model name 'snapdragon (tm) 8cx gen 3 @ 3.40 GHz'.
Please add new Windows on Arm SoC/chip support to arm/windows/init.c!
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
unknown Qualcomm CPU part 0x1 ignored
```

Fix is to patch pytorch_cpuinfo and to comment out std::cerr lines in
cpuid_uarch.cc
the errors are not actionable by the user, so they should not be
emitted.

tested that after these changes, these errors no longer show up.
2025-01-31 18:16:24 -08:00
..
abseil Disable absl symbolize in Windows Release build (#21923) 2024-08-30 12:03:17 -07:00
composable_kernel [MIGraphX EP/ ROCm EP] add gfx1200, gfx1201 to CMAKE_HIP_ARCHITECTURES (#22348) 2024-10-11 17:31:36 -07:00
coremltools Enable coremltools for Linux build (#23481) 2025-01-24 18:18:37 -08:00
cpuinfo remove log spam from cpuinfo (#23548) 2025-01-31 18:16:24 -08:00
eigen Remove deprecated static from Eigen that contributes to size increase (#23084) 2024-12-12 10:19:47 -08:00
emscripten [WebGPU] allow build WebGPU EP for WebAssembly (#23364) 2025-01-16 10:52:17 -08:00
flatbuffers Enablement of onnxruntime for AIX and fixing issues related to big-endian platform. (#21133) 2024-07-17 12:37:06 -07:00
fp16 Patch fp16 to fix Xcode 16 builds with XNNPACK EP targeting x86_64. (#22294) 2024-10-03 14:17:15 -07:00
gsl Remove the cmake option: onnxruntime_DEV_MODE (#13573) 2022-11-07 09:06:28 -08:00
nsync Get build working on Xcode 16 (#22168) 2024-09-24 08:33:03 -07:00
onnx Integrate onnx 1.17.0 (#21897) 2024-12-24 09:02:02 -08:00
protobuf Update protobuf_cmake.patch to allow extra disablements configurable by projects that build ORT (#20875) 2024-06-20 16:28:15 -07:00
xnnpack Update xnnpack, cpuinfo and pthreadpool (#23362) 2025-01-15 09:42:15 -08:00
.gitattributes