Conversation
|
@ejguan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
NivekT
left a comment
There was a problem hiding this comment.
LGTM! Just some questions:
S3is not compatible with Windows, correct?- We are building the same way regardless if it is MacOS x86_64 or arm64?
| - name: Setup Python ${{ matrix.python-version }} | ||
| if: ${{ startsWith( matrix.os, 'windows' ) }} | ||
| uses: actions/setup-python@v2 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} |
There was a problem hiding this comment.
QQ: Was windows already setting up Python before? Was this not needed until now?
There was a problem hiding this comment.
| python-version: 3.7 | ||
| steps: | ||
| - name: Setup Python ${{ matrix.python-version }} | ||
| if: ${{ ! startsWith( matrix.os, 'ubuntu' ) }} |
There was a problem hiding this comment.
Previously, we excluded ubuntu from this step because ubuntu used docker. Now, since macos would use conda to install python, windows becomes the only platform that would use this step.
cc: @NivekT
Actually, it is compatible. And, we do compile AWSSDK for PyPI wheels. However, for conda packages, I haven't figured out how to integrate AWSSDK with torchdata. I decide not to invest more time on it unless there are more users' request
Yea, the same workflow. |
Summary: Fixes meta-pytorch#676 - Update the workflow to compile AWSSDK and integrated on arm64 macos - Use conda to install python since this [action](https://github.com/actions/setup-python) doesn't work with arm64b macos - Exclude python 3.7 from arm64 macos due to the pre-compiled python binary is not available either on conda or python official website - Use `bash -l {0}` to make sure `conda` is available across steps - Please check the manually triggered [workflow](https://github.com/pytorch/data/runs/7528349378?check_suite_focus=true) - Wheels: https://github.com/pytorch/data/runs/7528349378?check_suite_focus=true#step:4:1 - Conda packages: https://github.com/pytorch/data/runs/7528462809?check_suite_focus=true#step:5:1 Pull Request resolved: meta-pytorch#692 Reviewed By: NivekT Differential Revision: D38172672 Pulled By: ejguan fbshipit-source-id: d7ae1fd523fc140d5bc7b9d526b9a421cfd2eff6
Summary: Fixes #676 - Update the workflow to compile AWSSDK and integrated on arm64 macos - Use conda to install python since this [action](https://github.com/actions/setup-python) doesn't work with arm64b macos - Exclude python 3.7 from arm64 macos due to the pre-compiled python binary is not available either on conda or python official website - Use `bash -l {0}` to make sure `conda` is available across steps - Please check the manually triggered [workflow](https://github.com/pytorch/data/runs/7528349378?check_suite_focus=true) - Wheels: https://github.com/pytorch/data/runs/7528349378?check_suite_focus=true#step:4:1 - Conda packages: https://github.com/pytorch/data/runs/7528462809?check_suite_focus=true#step:5:1 Pull Request resolved: #692 Reviewed By: NivekT Differential Revision: D38172672 Pulled By: ejguan fbshipit-source-id: d7ae1fd523fc140d5bc7b9d526b9a421cfd2eff6
| - macos-latest | ||
| - ubuntu-latest | ||
| - windows-latest | ||
| - macos-m1-12 |
There was a problem hiding this comment.
Is this an internal Meta self-hosted runner or does GitHub Actions finally have public M1 runners?
There was a problem hiding this comment.
Our self-hosted runner
Fixes #676
Changes
bash -l {0}to make surecondais available across steps