Instruction file imported from uxlfoundation/scikit-learn-intelex (
.github/instructions/general.instructions.md). Copyright stays with the author.
General Repository Instructions - Intel Extension for scikit-learn
Repository Overview
Extension for scikit-learn accelerates scikit-learn up to 100X using oneDAL (varies by algorithm and data). Zero code changes required for existing sklearn applications.
Architecture: 4-layer system (sklearnex ⇒ {daal4py, onedal} → oneDAL C++) Platforms: Linux, Windows; CPU (x86_64, ARM), GPU (Intel via SYCL)
Version Requirements: For current supported versions, always refer to:
setup.py- Python version classifiersrequirements-test.txt- scikit-learn and runtime dependenciesdependencies-dev- Build dependencies
Quick Build and Test
export DALROOT=/path/to/onedal
python setup.py develop
pytest --verbose sklearnex
For GitHub Copilot
See AGENTS.md for comprehensive information including:
- Detailed architecture and layer interactions
- Algorithm support and GPU compatibility
- Performance patterns and optimization strategies
- Development setup and environment configuration
- Testing strategy and validation approaches
Related Instructions
build-config.instructions.md- Build system and environment setupsklearnex.instructions.md- Primary sklearn interfacedaal4py.instructions.md- Direct oneDAL bindingsonedal.instructions.md- Low-level C++ bindingssrc.instructions.md- Core C++/Cython implementationtests.instructions.md- Testing infrastructure