Skip to content

scikit-learn-intelex: Add version 2026.1.0 - #2973

Draft
luhenry wants to merge 1 commit into
mainfrom
scikit-learn-intelex
Draft

luhenry wants to merge 1 commit into
mainfrom
scikit-learn-intelex

Conversation

@luhenry

@luhenry luhenry commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Compiles daal4py and the onedal pybind11/CMake module against a from-source oneDAL (CPU-only host iface, NO_DIST/NO_DPC). Upstream publishes no riscv64 wheel.

No equivalent upstream workflow builds this exact wheel; mirrors doc/building-from-source.rst's documented from-source recipe, which upstream states already covers ARM and RISC-V.

Differs from upstream

  • Builds oneDAL itself from source once per version (same recipe as the daal port's workflow) instead of consuming Intel's x86_64-only daal/daal-devel wheel.
  • Installs clang+clang-tools-extra from the image instead of the clang-format PyPI package, which ships no riscv64 binary.

Matrix: cp310-cp314 (no cp314t), matching upstream's own released interpreter set.

Testing

  • imports daal4py, onedal, sklearnex and calls patch_sklearn() instead of upstream's full pytest suite (GPU/distributed-only fixtures aside, this mirrors ci.yml's own smoke import).

License: Nothing third-party vendored; the wheel links oneDAL (separately licensed Apache-2.0) at runtime only.

Depends on the daal port (#2971) landing first for the runtime Requires-Dist pin to resolve; builds and tests independently since oneDAL is built from source in this workflow too.

PyPI's scikit-learn-intelex wheel is Apache-2.0 and links only against
the daal (oneDAL) libraries at runtime (Requires-Dist: daal==<version>,
no dpctl, no SYCL/MKL NEEDED entries in its own .so files). Its
setup.py already degrades to a plain arch-name DALROOT subdirectory
and has CPU-only (NO_DPC, NO_DIST) build switches; upstream's own docs
state it builds from source on ARM and RISC-V. This builds oneDAL from
source once per version (same recipe as the daal port) and reuses it
across the interpreter matrix to compile daal4py/_onedal_py_host,
instead of waiting on Intel's x86_64-only wheel or a closed MKL/SYCL
backend.
@luhenry
luhenry marked this pull request as draft October 13, 2026 09:26
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://riseproject-dev.github.io/python-wheels/pr-preview/pr-2973/

Built to branch gh-pages at 2026-10-13 14:24 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

This branch has not been deployed

No deployments
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.

1 participant