You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shreya-um opened this issue
Jun 7, 2024
· 2 comments
Labels
buildbuild issues; typically submitted using templateep:oneDNNquestions/issues related to DNNL EPstaleissues that have not been addressed in a while; categorized by a bot
try using --build_wheel instead
i.e.
./build.sh --use_dnnl --config Release --skip_tests --build_wheel --parallel --compile_no_warning_as_error --skip_submodule_sync
with your commandline above, you needed to build the python bindings with --enable_pybind and then you can build the wheel after that. (but you need to do it in your build directory)
--build_wheel conveniently does both within the build script. so it's easier to run the commandline example I have above.
note that --skip_tests skips running tests, so that failing python tests doesn't prevent the build from succeeding.
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
buildbuild issues; typically submitted using templateep:oneDNNquestions/issues related to DNNL EPstaleissues that have not been addressed in a while; categorized by a bot
Describe the issue
Getting error
error: package directory 'onnxruntime/backend' does not exist
for commandpython3 setup.py bdist_wheel
Urgency
Urgent, I have deadlines for my Thesis submission.
Target platform
Linux, x86 6bits
Build script
Im trying to build onnxruntime from source Im following commands from https://onnxruntime.ai/docs/build/inferencing.html.
I ran build cmd
./build.sh --use_dnnl --config Release --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync
Output -
100% tests passed, 0 tests failed out of 7
when I ran cmd
python3 setup.py bdist_wheel
Im getting error error: package directory 'onnxruntime/backend' does not exist
Error / output
error: package directory 'onnxruntime/backend' does not exist
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: