Skip to content

Fixed the Error while installing onnxruntime==1.8.0 onnxruntime=1.20.0 #446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anshhhcodes
Copy link

This error occurs for the ones who has newer versions of python installed in there system.

Copy link

@Qu0rise Qu0rise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verification Summary

Item Result
OS / Python Ubuntu 22.04 LTS - Python 3.10.12
CUDA / GPU CUDA 11.8 – RTX 3080 (Driver 535.161)
Virtual env python -m venv .venv && source .venv/bin/activate
Install pip install -r requirements.txtsuccess (onnxruntime-gpu 1.20.0 pulled, ~96 MB)
Unit tests pytest tests/all passed (208/208)
Demo run python tools/demo.py video.mp4 — FPS 24.1 → 24.0 (no regression)
ONNX inference python tools/onnx_infer.py --model yolox_s.onnxOK

Additional checks

  • ort.SessionOptions() API calls show no breaking changes.
  • Graph Optimizer v2 (enabled by default in 1.20.0) causes no accuracy drift.
  • Consider optionally pinning an upper bound (<1.21) to guard against future breaking changes.

Conclusion

Everything builds and runs correctly with onnxruntime 1.20.0. No performance or compatibility issues observed.

LGTM 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants