Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.59 KB

oneAPI-Integration.md

File metadata and controls

38 lines (25 loc) · 1.59 KB

Integrate oneAPI to your Project

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: image

Scroll down and click on Launch on Jupyter Lab (Assuming your code is on Jupyter Lab) image

Now open the terminal by clicking on the Terminal Icon in Jupyter Lab image

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 image

Select OneAPI kernel here: image

Now you'll be granted with this: image

After these procedures you can use oneAPI in your projects and enjoy your increased performance ; ).