-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Describe the bug
The pre-built binaries for both Linux and macOS seems to be missing the header onnxruntime_session_options_config_keys.h
. This files is required since it is referenced in onnxruntime_c_api.h
:
https://github.com/microsoft/onnxruntime/blob/v1.5.1/include/onnxruntime/core/session/onnxruntime_c_api.h#L8
The file onnxruntime_session_options_config_keys.h
was a renamed (from session_options_config_keys.h
) that happened in #4854.
The Windows zip archive does contain the header file.
Because of this, the main header file onnxruntime_c_api.h
from the release archives on mac and linux cannot be used.
Urgency
none
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Both Linux and macOS
- ONNX Runtime installed from (source or binary): binary
- ONNX Runtime version: 1.5.1
- Python version: N/A
- Visual Studio version (if applicable): N/A
- GCC/Compiler version (if compiling from source): N/A
- CUDA/cuDNN version: N/A
- GPU model and memory: N/A
To Reproduce
- Download the archives
onnxruntime-linux-x64-1.5.1.tgz
,onnxruntime-linux-x64-gpu-1.5.1.tgz
,onnxruntime-osx-x64-1.5.1.tgz
from https://github.com/microsoft/onnxruntime/releases/tag/v1.5.1 - Extract them
- File
onnxruntime_session_options_config_keys.h
is absent.
Expected behavior
onnxruntime_session_options_config_keys.h
should be included in archives.