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

Support for Users to provide their own Env Vars to Build Pipelines #1269

Closed
wants to merge 2 commits into from

Conversation

osalpekar
Copy link
Member

@osalpekar osalpekar commented Dec 9, 2022

Should be useful for xFormers adoption: facebookresearch/xformers#573, and others like torch/data. Can clean up much domain-specific logic in the existing workflows with this as well.

The script provided to the env-var-script arg would have to be formatted as follows:

export MY_ENV_VAR_1="1"
export MY_ENV_VAR_2="2"
...

This PR only adds this for Linux Wheels, though we can add this for everything afterwards. We merge the env var script with the BUILD_ENV_FILE script created by pytorch-pkg-helpers so we only need to source one file before the critical build steps.

@vercel
Copy link

vercel bot commented Dec 9, 2022

@osalpekar is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@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 Dec 9, 2022
@osalpekar osalpekar marked this pull request as ready for review December 9, 2022 21:14
@DanilBaibak DanilBaibak mentioned this pull request Dec 13, 2022
3 tasks
Co-authored-by: Eli Uriegas <1700823+seemethere@users.noreply.github.com>
facebook-github-bot pushed a commit to pytorch/data that referenced this pull request Dec 20, 2022
Summary:
Added Linux Wheels workflow. The workflow will run in shadow mode without upload binaries.

### Changes

- Added Linux Wheels workflow
- Added Linux Conda workflow

### TODO

- [x] Add the `BUILD_S3` env variable. Depend on the PR pytorch/test-infra#1269
- [x] Fixed smoke tests issue for Linux Conda - pytorch/test-infra#1292
- [x] Add smoke test - #923

Pull Request resolved: #921

Reviewed By: ejguan

Differential Revision: D42095186

Pulled By: NivekT

fbshipit-source-id: d9fd667b593706347aef9c7eb41d9c03ba1c314d
@osalpekar
Copy link
Member Author

Already handled by #1297.

@osalpekar osalpekar closed this Jan 11, 2023
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.

3 participants