Skip to content

MAINT: Remove untested option to build without onedal module#2916

Open
david-cortes-intel wants to merge 2 commits intouxlfoundation:mainfrom
david-cortes-intel:no_off_iface
Open

MAINT: Remove untested option to build without onedal module#2916
david-cortes-intel wants to merge 2 commits intouxlfoundation:mainfrom
david-cortes-intel:no_off_iface

Conversation

@david-cortes-intel
Copy link
Contributor

@david-cortes-intel david-cortes-intel commented Jan 30, 2026

Description

There is a build option to compile the library without the onedal module, and some code paths have fallbacks for this that involve daal4py, but such fallbacks are not tested, and the sklearnex module by this point is not intended to be used without the onedal module.

This PR removes such option along with the fallback, and updates the documentation to reflect the new minimum oneDAL C++ version required.


Checklist:

Completeness and readability

  • I have updated the documentation to reflect the changes or created a separate PR with updates and provided its number in the description, if necessary.
  • Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
  • I have resolved any merge conflicts that might occur with the base branch.

Testing

  • All CI jobs are green or I have provided justification why they aren't.

@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
sklearnex/dispatcher.py 92.85% 0 Missing and 1 partial ⚠️
Flag Coverage Δ
azure 79.93% <88.88%> (+0.07%) ⬆️
github 81.96% <83.33%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
sklearnex/__init__.py 100.00% <100.00%> (+7.14%) ⬆️
sklearnex/dispatcher.py 91.12% <92.85%> (+2.48%) ⬆️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@david-cortes-intel
Copy link
Contributor Author

/intelci: run

@icfaust
Copy link
Contributor

icfaust commented Feb 1, 2026

#1744 for traceability. Worth an discussion @david-cortes-intel. possibly an issue should be created. thoughts @napetrov ?

@ethanglaser
Copy link
Contributor

Oops, approved before reading discussion. If fujitsu uses this flag we should not remove it

@napetrov
Copy link
Contributor

napetrov commented Feb 3, 2026

Nothing other than further digging this

Co-authored-by: ethanglaser <42726565+ethanglaser@users.noreply.github.com>
@Vika-F
Copy link
Contributor

Vika-F commented Feb 10, 2026

@rakshithgb-fujitsu @theComputeKid could you please take a look at "OFF_ONEDAL_IFACE" option removal?
Is it important for you to have an ability to build sklearnex with daal4py fallbacks?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants