10000 [BE][Easy] replace `import pathlib` with `from pathlib import Path` by XuehaiPan · Pull Request #129426 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[BE][Easy] replace import pathlib with from pathlib import Path #129426

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

Closed
wants to merge 13 commits into from

Conversation

[ghstack-poisoned]
Copy link
pytorch-bot bot commented Jun 25, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/129426

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 6 Unrelated Failures

As of commit e1f7982 with merge base 2effbcf (image):

NEW FAILURE - The following job has failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@justinchuby
Copy link
Collaborator

In torch/onnx we prefer importing modules only: https://google.github.io/styleguide/pyguide.html#22-imports

[ghstack-poisoned]
@XuehaiPan
Copy link
Collaborator Author

In torch/onnx we prefer importing modules only: google.github.io/styleguide/pyguide.html#22-imports

Reverted.

[ghstack-poisoned]
@XuehaiPan
Copy link
Collaborator Author

@pytorchbot revert -c nosignal -m "recognize Path as new exported API"

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

pytorchmergebot added a commit that referenced this pull request Jun 29, 2024
… Path` (#129426)"

This reverts commit 6d75604.

Reverted #129426 on behalf of https://github.com/XuehaiPan due to recognize `Path` as new exported API ([comment](#129426 (comment)))
@pytorchmergebot
Copy link
Collaborator

@XuehaiPan your PR has been successfully reverted.

[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 29, 2024
@XuehaiPan
Copy link
Collaborator Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jun 29, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: inductor-periodic / cuda12.1-py3.10-gcc9-sm80 / test (inductor_torchbench_smoketest_perf, 1, 1, linux.gcp.a100)

Details for Dev Infra team Raised by workflow job

@XuehaiPan
Copy link
Collaborator Author

@pytorchbot merge -i

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged while ignoring the following 2 checks: inductor-periodic / cuda12.1-py3.10-gcc9-sm80 / test (inductor_torchbench_smoketest_perf, 1, 1, linux.gcp.a100), trunk / macos-py3-arm64-mps / test (mps, 1, 1, macos-m1-13)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@XuehaiPan
Copy link
Collaborator Author

@pytorchbot merge -f "previously failed ci passed"

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@XuehaiPan
Copy link
Collaborator Author

@pytorchbot merge -f "previously failed ci passed"

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

facebook-github-bot pushed a commit to pytorch/benchmark that referenced this pull request Jul 1, 2024
Summary:
X-link: pytorch/pytorch#129426
Approved by: https://github.com/malfet

Reviewed By: jeanschmidt

Differential Revision: D59204337

fbshipit-source-id: 9fb7681c3a1e5e02b79a56a70a6702315e680f77
pytorchmergebot pushed a commit to khushi-411/pytorch that referenced this pull request Jul 2, 2024
pytorchmergebot added a commit to khushi-411/pytorch that referenced this pull request Jul 2, 2024
… Path` (pytorch#129426)"

This reverts commit 6d75604.

Reverted pytorch#129426 on behalf of https://github.com/XuehaiPan due to recognize `Path` as new exported API ([comment](pytorch#129426 (comment)))
pytorchmergebot pushed a commit to khushi-411/pytorch that referenced this pull request Jul 2, 2024
@github-actions github-actions bot deleted the gh/XuehaiPan/73/head branch July 31, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: dynamo module: inductor oncall: distributed Add this issue/PR to distributed oncall triage queue open source release notes: onnx torch.onnx related changes that should show up in the release notes Reverted suppress-bc-linter Suppresses the failures of API backward-compatibility linter (Lint/bc_linter)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0