[Build] onnxruntime-dnnl fails to build a wheel with --build_wheel flag on Ubuntu 22.04 #18059
Labels
build
build issues; typically submitted using template
ep:oneDNN
questions/issues related to DNNL EP
quantization
issues related to quantization
Describe the issue
When trying to build
onnxruntime-dnnl
to use the oneDNN optimizations, and producing a wheel at the same time, the python script responsible for building the wheel seems to fail, even thoughonnxruntime-dnnl
got built by cmake without problems.The command run is
./build.sh --use_dnnl --build_wheel --parallel
, and works without the--build_wheel
flag.Urgency
This is an issue of medium urgency, I can use
onnxruntime
without the oneDNN optimizations, but it's far from ideal.Target platform
Ubuntu 22.04
Build script
The command is solely
./build.sh --use_dnnl --build_wheel --parallel
and works when I don't try to build the wheelError / output
I'm including the last few lines that happen before the crash to show that it built correctly before.
another shot at directly running the command from my terminal instead of running it via a python subprocess gave this output
Visual Studio Version
No response
GCC / Compiler Version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
The text was updated successfully, but these errors were encountered: