Open slipperyslipped opened 1 year ago
HI, @slipperyslipped
Since there no enough log shows what error it is. I think it may be because of the compiler arch, 6700 XT is using arch of gfx1031, based on this link.
And also you can refer to this issue #16566 on how to change the build arch in build commands.
hi @kailums, I actually managed to build the wheel file using the dockerfile but now I am getting the following error when trying to actually run the software.:
class PickableInferenceSession(onnxruntime.InferenceSession): AttributeError: module 'onnxruntime' has no attribute 'InferenceSession'
hi @kailums, I actually managed to build the wheel file using the dockerfile but now I am getting the following error when trying to actually run the software.:
class PickableInferenceSession(onnxruntime.InferenceSession): AttributeError: module 'onnxruntime' has no attribute 'InferenceSession'
It should have that API, see https://onnxruntime.ai/docs/api/python/api_summary.html.
May be there are some other error when loading onnxruntime module. you can check if there any other error message.
Describe the issue
Trying to build wheel for AMD 6700XT on Linux for three days and have faced numerous issues. I have finally got to a point where the build process starts but I am getting a lot of errors.
I get the following message at around 32% ```fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated when compiling for gfx1030.
I am very new to all of this so please let me know what other information I can include to help make troubleshooting easier.
Distro: Linux Mint 21.1 ROCm version 5.4.0 Onnxruntime 1.15 Python 3.10
Using the following build command: