Skip To Main Content
Intel logo - Return to the home page
My Tools

Select Your Language

  • Bahasa Indonesia
  • Deutsch
  • English
  • Español
  • Français
  • Português
  • Tiếng Việt
  • ไทย
  • 한국어
  • 日本語
  • 简体中文
  • 繁體中文
Sign In to access restricted content

Using Intel.com Search

You can easily search the entire Intel.com site in several ways.

  • Brand Name: Core i9
  • Document Number: 123456
  • Code Name: Emerald Rapids
  • Special Operators: “Ice Lake”, Ice AND Lake, Ice OR Lake, Ice*

Quick Links

You can also try the quick links below to see results for most popular searches.

  • Product Information
  • Support
  • Drivers & Software

Recent Searches

Sign In to access restricted content

Advanced Search

Only search in

Sign in to access restricted content.

The browser version you are using is not recommended for this site.
Please consider upgrading to the latest version of your browser by clicking one of the following links.

  • Safari
  • Chrome
  • Edge
  • Firefox

Learn Data-Parallel Essentials for Python*

Learn Data-Parallel Essentials for Python*

@IntelDevTools

Subscribe Now

Stay in the know on all things CODE. Updates are delivered to your inbox.

Sign Up

Overview

Watch this information-packed, two-hour workshop to learn techniques for accelerating AI applications that target Intel® XPUs by using the Python* DPPy library of algorithms and Numba-dpex (Numba Data-Parallel Extension).

Workshop topics include:

  • A demonstration of techniques for using the AI Tools to build high-performing Python code that targets Intel CPUs and GPUs.
  • An overview of Numba-dpex and data-parallel control (dpctl).
  • A demonstration on ways to offload from CPU to GPU when implementing K-means and Pairwise use cases.
  • For programmers with SYCL* and GPU programming experience, a code walk-through of how to write an explicit kernel using the @numba_dppy.kernel decorator.
  • Several code examples that illustrate data-parallel programming techniques with Python.

Skill level: All

 

Featured Software

This session features the Intel® Distribution of Python* that you can download as a stand-alone version or as part of AI Tools.
 

Highlights

0:00 Introductions

1:30 Numba-dpex agenda

3:30 Introduction to oneAPI

5:28 Introduction to AI Tools

7:30 Intel® VTune™ Profiler

8:27 Intel® Advisor

11:54 Get started with the Intel® Developer Cloud

18:28 Data parallel essentials for Python

21:18 Dpctl

23:28 Compute follows data

25:58 Programming model

26:25 Numba-dpex: Catch up on Q&A

36:04 Automatic offload using the @njit decorator

40:04 Explicit parallel for loop using the @njit decorator

41:10 @dppy.kernel decorator

44:50 Hands-on introduction to Numba-dpex

55:30 Introduction to dpctl

1:12:15 Types of machine learning

1:13:14 Types of supervised learning

1:14:56 Classification and regression

1:15:38 Supervised learning overview

1:16:11 Regression: Numeric answers

1:16:34 Classification: Categorical answers

1:17:39 What is classification?

1:18:12 What is needed for classification?

1:18:51 K-nearest neighbor (KNN) classification example

1:21:42 What is needed to select a KNN model?

1:22:22 Euclidean distance

1:28:20 Manhattan distance

1:28:48 Introduction to patching

1:29:30 Patching alternatives

1:31:38 KNN syntax

1:32:30 Pairwise distance

1:34:07 Cosine distance

1:36:25 Correlation distance

1:40:46 Use @dppy.kernel for pairwise distance

1:42:34 Distance syntax

1:43:40 Hands-on with dpex_Pairwise

1:48:40 Hands-on with dpex_GPAIRS

1:49:48 Example of pairwise distance

1:51:40 Q&A

Jump to:

You May Also Like
 

AI Tools

Accelerate data science and AI pipelines-from preprocessing through machine learning-and provide interoperability for efficient model development.

 

Get It Now

 

See All Tools

 

   

You May Also Like

Related On-Demand Workshops

Accelerate Machine Learning Workloads: K-means and GPairs Algorithms

Advanced Scikit-learn* Essentials for Machine Learning

Accelerate Python with NumPy & Other Smarter oneAPI Equivalents

Related On-Demand Webinars

Ignite Your AI Solutions on CPUs and GPUs

Drive 2x Performance into Your scikit-learn Machine Learning Tasks

Related Articles

K-means Acceleration with Intel® Xeon® Scalable Processors

Parallelism in Python Using Numba: The Fundamentals

Parallelism in Python: Directing Vectorization with NumExpr

  • Company Overview
  • Contact Intel
  • Newsroom
  • Investors
  • Careers
  • Corporate Responsibility
  • Inclusion
  • Public Policy
  • © Intel Corporation
  • Terms of Use
  • *Trademarks
  • Cookies
  • Privacy
  • Supply Chain Transparency
  • Site Map
  • Recycling
  • Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon
  • Notice at Collection

Intel technologies may require enabled hardware, software or service activation. // No product or component can be absolutely secure. // Your costs and results may vary. // Performance varies by use, configuration, and other factors. Learn more at intel.com/performanceindex. // See our complete legal Notices and Disclaimers. // Intel is committed to respecting human rights and avoiding causing or contributing to adverse impacts on human rights. See Intel’s Global Human Rights Principles. Intel’s products and software are intended only to be used in applications that do not cause or contribute to adverse impacts on human rights.

Intel Footer Logo