mmdeploy
mmdeploy copied to clipboard
[Bug] ONNX versions - The given version [15] is not supported, only version 1 to 8 is supported in this build.
Checklist
- [X] I have searched related issues but cannot get the expected help.
- [X] 2. I have read the FAQ documentation but cannot get the expected help.
- [X] 3. The bug has not been fixed in the latest version.
Describe the bug
Hi,
I'm following the installation guide for MMDeploy but when inferencing as shown here, I get the following error:
It sais:
The given version [15] is not supported, only version 1 to 8 is supported in this build.
It refers to ONNX version, as I have:
- onnx==1.15.0
- onnxruntime-gpu==1.8.1
The first one, onnx==1.15.0, is imposed by the requirements of mmdeploy v1.3.1, shown here. The second one, is forced in the installation guie.
So, how can I make mmdeploy work with this version mismatch?
Thanks!
Reproduction
Following installation guide.
Environment
onnx==1.15.0
onnxruntime-gpu==1.8.1
mmcv==2.1.0
mmdeploy==1.3.1
mmdeploy-runtime-gpu==1.3.1
mmengine==0.10.2
torch==2.1.2+cu118
torchaudio==2.1.2+cu118
torchvision==0.16.2+cu118
Error traceback
The given version [15] is not supported, only version 1 to 8 is supported in this build.
I also have the same issue. Is there any progress?
@604240180 @danigarciaoca You need to update the version of onnxruntime-gpu.