Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples for use XPU with IPEX #904

Merged
merged 7 commits into from
Feb 16, 2024
Merged

Examples for use XPU with IPEX #904

merged 7 commits into from
Feb 16, 2024

Conversation

manuelhsantana
Copy link
Collaborator

@manuelhsantana manuelhsantana commented Dec 29, 2023

New Examples: XPU and Intel® Extension for PyTorch Examples

This PR introduces new examples demonstrating the usage of XPU and Intel® Extension for PyTorch. This enhancement aims to provide users with practical guides and clear understanding of these features, promoting efficient and effective use in their workflows.

In this examples, when we refer to XPU, we are specifically referring to the Intel® Data Center GPU Max Series. When using the Intel® Extension for PyTorch* package, selecting the device as 'xpu' will refer to this Intel® Data Center GPU Max Series.

The following examples have been added:

  1. Federated PyTorch TinyImageNet Tutorial (XPU version): This example demonstrates a practical application of XPU and Intel® Extension for PyTorch in training a Federated PyTorch model on the TinyImageNet dataset using the interactive API. It provides insights into how these features can enhance the training process, offering a hands-on experience for users.

  2. Workflow Interface 104: MNIST XPU: This example serves as a beginner's guide to using XPU in their workflow interface for OPENFL. It provides step-by-step instructions on how to integrate and utilize XPU, aiming to quickstart users' experience with this feature.

These additions underscore our commitment to providing comprehensive resources that empower users to leverage the full potential of Intel's technologies in their workflows. We welcome feedback and suggestions to further improve these examples and look forward to enhancing our user experience continually.

Please review these changes and provide your valuable feedback.

This commit introduces an example of using an XPU with the Workflow Interface. The example demonstrates how to leverage the power of XPU to optimize the execution of complex workflows with OpenFL
This commit introduces an example of using an XPU with the non-federated_case.
Copy link
Contributor

@psfoley psfoley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks good! The two changes needed are:

  1. Explain what device(s) these examples support (Intel® Data Center GPU Max Series) before mentioning XPU
  2. Update copyright

@manuelhsantana
Copy link
Collaborator Author

The PR looks good! The two changes needed are:

  1. Explain what device(s) these examples support (Intel® Data Center GPU Max Series) before mentioning XPU
  2. Update copyright

All changes were completed.

Copy link
Contributor

@psfoley psfoley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! Great addition to OpenFL, @manuelhsantana 🚀

@psfoley psfoley merged commit e612174 into develop Feb 16, 2024
25 of 26 checks passed
@psfoley psfoley deleted the workflowInterface_XPU branch February 16, 2024 00:06
nammbash pushed a commit to nammbash/openfl that referenced this pull request Feb 27, 2024
* Added XPU example for Workflow Interface

This commit introduces an example of using an XPU with the Workflow Interface. The example demonstrates how to leverage the power of XPU to optimize the execution of complex workflows with OpenFL

* Added XPU example for non-federated_case

This commit introduces an example of using an XPU with the non-federated_case.

* Removed non-federated_case_XPU file

* Updated Workflow_Interface_104_MNIST_XPU file

* Added TinyImagenet example for interactive api and XPU

* Update xpu definition and copyright

* Added link for download xpu driver

Signed-off-by: nammbash <[email protected]>
nammbash pushed a commit to nammbash/openfl that referenced this pull request Feb 27, 2024
* Added XPU example for Workflow Interface

This commit introduces an example of using an XPU with the Workflow Interface. The example demonstrates how to leverage the power of XPU to optimize the execution of complex workflows with OpenFL

* Added XPU example for non-federated_case

This commit introduces an example of using an XPU with the non-federated_case.

* Removed non-federated_case_XPU file

* Updated Workflow_Interface_104_MNIST_XPU file

* Added TinyImagenet example for interactive api and XPU

* Update xpu definition and copyright

* Added link for download xpu driver

Signed-off-by: nammbash <[email protected]>
nammbash pushed a commit to nammbash/openfl that referenced this pull request Feb 29, 2024
* Added XPU example for Workflow Interface

This commit introduces an example of using an XPU with the Workflow Interface. The example demonstrates how to leverage the power of XPU to optimize the execution of complex workflows with OpenFL

* Added XPU example for non-federated_case

This commit introduces an example of using an XPU with the non-federated_case.

* Removed non-federated_case_XPU file

* Updated Workflow_Interface_104_MNIST_XPU file

* Added TinyImagenet example for interactive api and XPU

* Update xpu definition and copyright

* Added link for download xpu driver

Signed-off-by: nammbash <[email protected]>
nammbash pushed a commit to nammbash/openfl that referenced this pull request Feb 29, 2024
* Added XPU example for Workflow Interface

This commit introduces an example of using an XPU with the Workflow Interface. The example demonstrates how to leverage the power of XPU to optimize the execution of complex workflows with OpenFL

* Added XPU example for non-federated_case

This commit introduces an example of using an XPU with the non-federated_case.

* Removed non-federated_case_XPU file

* Updated Workflow_Interface_104_MNIST_XPU file

* Added TinyImagenet example for interactive api and XPU

* Update xpu definition and copyright

* Added link for download xpu driver

Signed-off-by: nammbash <[email protected]>
manuelhsantana added a commit that referenced this pull request Jul 10, 2024
* Added XPU example for Workflow Interface

This commit introduces an example of using an XPU with the Workflow Interface. The example demonstrates how to leverage the power of XPU to optimize the execution of complex workflows with OpenFL

* Added XPU example for non-federated_case

This commit introduces an example of using an XPU with the non-federated_case.

* Removed non-federated_case_XPU file

* Updated Workflow_Interface_104_MNIST_XPU file

* Added TinyImagenet example for interactive api and XPU

* Update xpu definition and copyright

* Added link for download xpu driver

Signed-off-by: manuelhsantana <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants