This is a guide to Integrate oneAPI to your ML project.
To get started with oneAPI, Go to: https://devcloud.intel.com/oneapi/get_started/
Now you'll be granted with this page:
Scroll down and click on Launch on Jupyter Lab (Assuming your code is on Jupyter Lab)
Now open the terminal by clicking on the Terminal Icon in Jupyter Lab
Enter the following commands to install oneAPI kernel in your Jupyter Lab
mkdir MLoneAPI
cd MLoneAPI
source /glob/development-tools/versions/oneapi/2022.3.1/inteloneapi/setvars.sh
conda activate base
pip install ipykernel
python -m ipykernel install --user --name 2022.3.1 --display-name "oneAPI 2022.3.1"
Now head on to your jupyter notebook file and select the Kernel option on the top right corner
Now you'll be granted with this:
After these procedures you can use oneAPI in your projects and enjoy your increased performance ; ).