Skip to content

Added onnx 1.12.0 - #8753

Open
sid226 wants to merge 1 commit into
ppc64le:masterfrom
sid226:sid226_onnx
Open

Added onnx 1.12.0#8753
sid226 wants to merge 1 commit into
ppc64le:masterfrom
sid226:sid226_onnx

Conversation

@sid226

@sid226 sid226 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Have you checked and followed all the points mention in the CONTRIBUTING.MD
  • Have you validated script on UBI 9 container
  • Did you run the script(s) on fresh container with set -e option enabled and observe success ?
  • Did you have Legal approvals for patch files ?

# scikit-learn 1.9.0
# torch 2.13.0
# onnxruntime 1.26.0
# ml_dtypes 0.5.4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Need to built with
ml-dtypes 0.6.0
xgboost-cpu 3.4.0
pyarrow 25.0.0
lightgbm 4.7.0

if the packages are not present in the devfirst index. Built it within the script. You can use the pr's already raised for the updated versions.

# ---------------------------------------------------------------------------
export PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig:${PKG_CONFIG_PATH:-}"

git clone https://github.com/numpy/numpy numpy_src

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No need to build numpy from source and then install as a wheel. Just include pip install numpy=2.0.5 it will fetch the tar and then build and install the package.

"scikit-learn==1.9.0"

# torch 2.13.0 + onnxscript (required by torch.onnx.export) — IBM wheels
python3.14 -m pip install \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Instead if installing required dependencies one by one. Install the required dependent packages from devfirst url in a single line of code.
The old buildscript is of 79 lines and this one is 379.
Don't use Bob blindly lets make the buildscript crisp and perfect.

cd "${CURRENT_DIR}"

# protobuf Python runtime (py3-none-any; used by the installed onnx package)
python3.14 -m pip install "protobuf>=4.25.1"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

RT26.1 requires protobuf =6.33.6

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.

3 participants