Fixed the Error while installing onnxruntime==1.8.0 onnxruntime=1.20.0#446
Open
anshhhcodes wants to merge 1 commit intoFoundationVision:mainfrom
Open
Fixed the Error while installing onnxruntime==1.8.0 onnxruntime=1.20.0#446anshhhcodes wants to merge 1 commit intoFoundationVision:mainfrom
anshhhcodes wants to merge 1 commit intoFoundationVision:mainfrom
Conversation
Qu0rise
approved these changes
Apr 30, 2025
Qu0rise
left a comment
There was a problem hiding this comment.
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.txt — success (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.onnx — OK |
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 🚀
|
I also use ubuntu 22.04 with python 3.10.12. But still failed with onnx=1.8.1. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This error occurs for the ones who has newer versions of python installed in there system.