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: tweak the Python workflows #246

Closed
wants to merge 5 commits into from

Conversation

matthieu-d4r
Copy link
Contributor

@matthieu-d4r matthieu-d4r commented Oct 23, 2024

Remove manual installations of PyTorch everywhere, as the latter should
be handled while installing the library through pip. Remove -e flag
while installing our packages, and refer to them with ./. Remove
s3torchbenchmarking unit tests runs, unnecessary for now. Reformat
some workflow files (cosmetic).

Drop support (in worfklows) for macOS x86_64 architecture, since PyTorch
dropped support to since v2.3
(https://dev-discuss.pytorch.org/t/pytorch-macos-x86-builds-deprecation-starting-january-2024/1690),
and future DCP implementations will require that version.


By submitting this pull request, I confirm that my contribution is made under the terms of BSD 3-Clause License and I agree to the terms of the LICENSE.

Remove manual installations of PyTorch everywhere, as the latter should
be handled while installing the library through `pip`. Remove `-e` flag
while installing our packages, and refer to them with `./`. Remove
`s3torchbenchmarking` unit tests runs, unnecessary for now. Reformat
some workflow files (cosmetic). Use `pip` instead of `python -m pip`.

Drop support (in worfklows) for macOS x86_64 architecture, since PyTorch
dropped support to since v2.3
(https://dev-discuss.pytorch.org/t/pytorch-macos-x86-builds-deprecation-starting-january-2024/1690),
and future DCP implementations will require that version.
@@ -2,7 +2,7 @@ name: Integration tests (PR)

on:
pull_request_target:
branches: [ "main", "feature/*" ]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we need ci prefix here?

@@ -32,7 +32,8 @@ test = [
"flake8",
"black",
"mypy",
"Pillow"
"numpy",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need numpy?

@matthieu-d4r
Copy link
Contributor Author

Cancelling with PR: will include changes within the feature/dcp branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants