Skip to content

Add mps device #1018

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

Merged
merged 4 commits into from
Sep 14, 2022
Merged

Add mps device #1018

merged 4 commits into from
Sep 14, 2022

Conversation

YuliyaPylypiv
Copy link
Contributor

Added mps device to some networks

@facebook-github-bot
Copy link
Contributor

Hi @YuliyaPylypiv!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@netlify
Copy link

netlify bot commented Jul 5, 2022

Deploy Preview for pytorch-examples-preview canceled.

Name Link
🔨 Latest commit 607b6a8
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-examples-preview/deploys/630800d9b4f709000cffc862

@msaroufim
Copy link
Member

Hmm I'd be curious how many of the existing examples break with this change. I don't have an M1 and can't easily integrate into Github actions - do you mind running run_python_examples.sh locally and pasting the logs here

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

Copy link
Contributor

@hudeven hudeven left a comment

Choose a reason for hiding this comment

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

Hi @YuliyaPylypiv, thanks for your contribution! To move forward, could you resolve the conflict and @msaroufim 's comment?

@YuliyaPylypiv YuliyaPylypiv force-pushed the dev/yuliya/mps_device branch from 3434826 to 895f066 Compare August 25, 2022 01:19
@YuliyaPylypiv
Copy link
Contributor Author

Hi @msaroufim, please see the log from run_python_examples.sh attached with the latest changes from my branch. Ran those on M1 MacBook Air 8 GB + macOS Ventura 13.0 Beta (22A5295i)
examples_out.txt

@YuliyaPylypiv YuliyaPylypiv requested review from hudeven and removed request for msaroufim September 12, 2022 23:48
@kulinseth
Copy link

kulinseth commented Sep 13, 2022

@msaroufim , are there any plans to add the M1 workflows for PyTorch examples ? We have some machines used in ciflow/mps for pytorch/pytorch project.
cc @malfet

Copy link
Contributor

@hudeven hudeven left a comment

Choose a reason for hiding this comment

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

LGTM. @YuliyaPylypiv thanks for your contribution!

@kulinseth
Copy link

@hudeven , is there a bot merge command to check this in ?

@msaroufim msaroufim merged commit 616caed into pytorch:main Sep 14, 2022
msaroufim added a commit that referenced this pull request Sep 15, 2022
msaroufim added a commit that referenced this pull request Sep 15, 2022
Revert "Add mps device (#1018)"

This reverts commit 616caed.
YinZhengxun pushed a commit to YinZhengxun/mt-exercise-02 that referenced this pull request Mar 30, 2025
YinZhengxun pushed a commit to YinZhengxun/mt-exercise-02 that referenced this pull request Mar 30, 2025
Revert "Add mps device (pytorch#1018)"

This reverts commit 17fc096.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants