Repository navigation
Conversation
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
added a commit
that referenced
this pull request
Oct 13, 2026
luhenry
marked this pull request as draft
October 13, 2026 09:26
Contributor
|
This branch has not been deployed
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.
scikit-learn-intelex2026.1.0Compiles daal4py and the onedal pybind11/CMake module against a from-source oneDAL (CPU-only
hostiface, 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
daalport's workflow) instead of consuming Intel's x86_64-onlydaal/daal-develwheel.clang+clang-tools-extrafrom the image instead of theclang-formatPyPI package, which ships no riscv64 binary.Matrix: cp310-cp314 (no cp314t), matching upstream's own released interpreter set.
Testing
daal4py,onedal,sklearnexand callspatch_sklearn()instead of upstream's full pytest suite (GPU/distributed-only fixtures aside, this mirrorsci.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
daalport (#2971) landing first for the runtimeRequires-Distpin to resolve; builds and tests independently since oneDAL is built from source in this workflow too.