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

[CI, Doc] Update functorch source installation command #446

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

zou3519
Copy link
Contributor

@zou3519 zou3519 commented Sep 14, 2022

We changed how one installs functorch: functorch is now included in the PyTorch binary. This PR removes the old installation command which effectively does nothing right now. We'll be removing support for the old installation command after we migrate people off of it.

Test Plan:

  • wait for CI

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 14, 2022
@zou3519
Copy link
Contributor Author

zou3519 commented Sep 14, 2022

Looks like PyTorch didn't publish a nightly binary for mac yet, so this PR will have to wait until then

@zou3519 zou3519 force-pushed the update_functorch_nightly_install branch from 4ca3d58 to fc02322 Compare September 15, 2022 20:27
@vmoens
Copy link
Contributor

vmoens commented Sep 15, 2022

Wonderful! We'll need to update the readme.md and contributing.md accordingly I guess.
Will it work with nightly on M1 too?

EDIT: macos still failing :/

@zou3519
Copy link
Contributor Author

zou3519 commented Sep 15, 2022

EDIT: macos still failing :/

Looks like the torchtext/torchvision nightlies have the 20220913 torch binary as a dependency. Should be fixed tomorrow, so will wait another day.

Wonderful! We'll need to update the readme.md and contributing.md accordingly I guess.

Yup I can do that in this PR.

Will it work with nightly on M1 too?

It should, but we have not tested functorch extensively on M1 yet. There's a high probability that it works correctly on M1 but we'll add explicit tests soon.

EDIT: after reading your readme and seeing that it may be difficult to install functorch on M1 correctly -- I am going to go test functorch on M1 first and then come back here

@zou3519 zou3519 force-pushed the update_functorch_nightly_install branch from fc02322 to 8311a72 Compare September 16, 2022 14:21
@zou3519
Copy link
Contributor Author

zou3519 commented Sep 16, 2022

Will it work with nightly on M1 too?

Confirmed that installing PyTorch from source on an M1 machine also installs functorch. So yes, we have M1 support now.

@vmoens vmoens changed the title Update functorch source installation command [CI, Doc] Update functorch source installation command Sep 18, 2022
We changed how one installs functorch: functorch is now included in the
PyTorch binary. This PR removes the old installation command which
effectively does nothing right now. We'll be removing support for the old
installation command after we migrate people off of it.

Test Plan:
- wait for CI
@zou3519 zou3519 force-pushed the update_functorch_nightly_install branch from 8311a72 to 5146f83 Compare September 19, 2022 14:13
Copy link
Contributor

@vmoens vmoens left a comment

Choose a reason for hiding this comment

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

LGTM thanks for this @zou3519!

@vmoens vmoens merged commit 5ff09d2 into main Sep 19, 2022
@zou3519 zou3519 deleted the update_functorch_nightly_install branch September 19, 2022 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants