Skip to content

Navigation Menu

Sign in
Sign up

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

Open
anshhhcodes wants to merge 1 commit into
FoundationVision:main from
anshhhcodes:main
Open

Fixed the Error while installing onnxruntime==1.8.0 onnxruntime=1.20.0 #446
anshhhcodes wants to merge 1 commit into
FoundationVision:main from
anshhhcodes:main

Conversation

@anshhhcodes

@anshhhcodes anshhhcodes commented Apr 19, 2025

Copy link
Copy Markdown

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

@Qu0rise Qu0rise left a comment

Copy link
Copy Markdown

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 🚀

Copy link
Copy Markdown

I also use ubuntu 22.04 with python 3.10.12. But still failed with onnx=1.8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@Qu0rise Qu0rise Qu0rise approved these changes
Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /