Skip to content

[Release 0.4.0] Enable AWSSDK on Linux by statically linking OpenSSL and cURL (#421) #482

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 1 commit into from
May 31, 2022

Conversation

ejguan
Copy link
Contributor

@ejguan ejguan commented May 31, 2022

Ref PR on main branch: #421

Summary:
This PR adds all supports to enable awssdk for linux releases

  • The linux release workflow starts to use pytorch/manylinux-cpu docker to align with compiler version with PyTorch Core
  • Add shell script to install OpenSSL and cURL on docker image (This step can be improved if TorchData wants to own a new docker image with these two libraries pre-built)
  • Update torchdata/csrc/CMakeLists.txt to respect the static OpenSSL and cURL
  • Correct thrid_party/CMakeLists.txt without adding redundant dependencies for _torchdata
  • Add auditwheel show to validate the binaries are manylinux_2_17 (alias of manylinux2014)
  • Update Readme for release
  • Make our testing CI running with AWSSDK enabled by default to save more time/money to run CI tests
  • Remove redundant numpy dependency introduced by tf_record. And, fix tests in this file

See the workflow for night release: https://github.com/pytorch/data/actions/runs/2391843245
See the manylinux version: https://github.com/pytorch/data/runs/6612861049?check_suite_focus=true#step:9:67

manylinux_2_17_x86_64 is the alias of manylinux_2014

Pull Request resolved: #421

Reviewed By: NivekT

Differential Revision: D36641092

Pulled By: ejguan

fbshipit-source-id: 349bfd896ee0db01eea849580984f4000ca2bc3f

…h#421)

Summary:
This PR adds all supports to enable awssdk for linux releases
- The linux release workflow starts to use `pytorch/manylinux-cpu` docker to align with compiler version with PyTorch Core
- Add shell script to install OpenSSL and cURL on docker image (This step can be improved if TorchData wants to own a new docker image with these two libraries pre-built)
- Update `torchdata/csrc/CMakeLists.txt` to respect the static OpenSSL and cURL
- Correct `thrid_party/CMakeLists.txt` without adding redundant dependencies for `_torchdata`
- Add `auditwheel show` to validate the binaries are `manylinux_2_17` (alias of `manylinux2014`)
- Update Readme for release
- Make our testing CI running with AWSSDK enabled by default to save more time/money to run CI tests
- Remove redundant `numpy` dependency introduced by `tf_record`. And, fix tests in this file

See the workflow for night release: https://github.com/pytorch/data/actions/runs/2391843245
See the `manylinux` version: https://github.com/pytorch/data/runs/6612861049?check_suite_focus=true#step:9:67

`manylinux_2_17_x86_64` is the alias of `manylinux_2014`

Pull Request resolved: pytorch#421

Reviewed By: NivekT

Differential Revision: D36641092

Pulled By: ejguan

fbshipit-source-id: 349bfd896ee0db01eea849580984f4000ca2bc3f
@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 May 31, 2022
@ejguan ejguan merged commit ff4a84e into pytorch:release/0.4.0 May 31, 2022
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.

2 participants