Skip to content

[DO NOT MERGE] Use the flat-upload upload-test-artifacts in Linux test jobs - #200471

Draft
georgehong wants to merge 4 commits into
gh/georgehong/20/basefrom
gh/georgehong/20/head
Draft

georgehong wants to merge 4 commits into
gh/georgehong/20/basefrom
gh/georgehong/20/head

Conversation

@georgehong

@georgehong georgehong commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

_linux-test.yml takes upload-test-artifacts from main, so the parent's upload
steps don't run before it lands. This pins it to the parent's ghstack branch,
gh/georgehong/19/head. A ./ path doesn't work here: Linux test jobs check out
inside their job container, and the runner looks for local actions outside it.
Run it with ciflow/trunk: pull's test jobs and trunk's Linux, ROCm, macOS and
Windows test jobs should write their reports under
s3://gha-artifacts/torchci-reports/pytorch/pytorch///. ROCm's
arrive only after this lands, since upload-test-stats copies them with main's
upload_artifacts.py.

Authored with the help of an AI assistant (Claude).

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 6727964 with merge base 45e85ce (image):

NEW FAILURE - The following job has failed:

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

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Oct 9, 2026
@georgehong georgehong added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 9, 2026
[ghstack-poisoned]
georgehong added a commit that referenced this pull request Oct 12, 2026
…t jobs

_linux-test.yml takes upload-test-artifacts from main, so the parent's upload
steps don't run before it lands. This pins it to the parent's ghstack branch,
gh/georgehong/19/head. A ./ path doesn't work here: Linux test jobs check out
inside their job container, and the runner looks for local actions outside it.
Run it with ciflow/trunk: pull's test jobs and trunk's Linux, ROCm, macOS and
Windows test jobs should write their reports under
s3://gha-artifacts/torchci-reports/pytorch/pytorch/<run id>/<job id>/. ROCm's
arrive only after this lands, since upload-test-stats copies them with main's
upload_artifacts.py.

Authored with the help of an AI assistant (Claude).


ghstack-source-id: 5f6ab41
Pull-Request: #200471
[ghstack-poisoned]
georgehong added a commit that referenced this pull request Oct 12, 2026
…t jobs

_linux-test.yml takes upload-test-artifacts from main, so the parent's upload
steps don't run before it lands. This pins it to the parent's ghstack branch,
gh/georgehong/19/head. A ./ path doesn't work here: Linux test jobs check out
inside their job container, and the runner looks for local actions outside it.
Run it with ciflow/trunk: pull's test jobs and trunk's Linux, ROCm, macOS and
Windows test jobs should write their reports under
s3://gha-artifacts/torchci-reports/pytorch/pytorch/<run id>/<job id>/. ROCm's
arrive only after this lands, since upload-test-stats copies them with main's
upload_artifacts.py.

Authored with the help of an AI assistant (Claude).


ghstack-source-id: f15336c
Pull-Request: #200471
@georgehong georgehong added the ci-no-td Do not run TD on this PR label Oct 12, 2026
[ghstack-poisoned]
georgehong added a commit that referenced this pull request Oct 13, 2026
…t jobs

_linux-test.yml takes upload-test-artifacts from main, so the parent's upload
steps don't run before it lands. This pins it to the parent's ghstack branch,
gh/georgehong/19/head. A ./ path doesn't work here: Linux test jobs check out
inside their job container, and the runner looks for local actions outside it.
Run it with ciflow/trunk: pull's test jobs and trunk's Linux, ROCm, macOS and
Windows test jobs should write their reports under
s3://gha-artifacts/torchci-reports/pytorch/pytorch/<run id>/<job id>/. ROCm's
arrive only after this lands, since upload-test-stats copies them with main's
upload_artifacts.py.

Authored with the help of an AI assistant (Claude).


ghstack-source-id: bfb4a26
Pull-Request: #200471
georgehong added a commit that referenced this pull request Oct 13, 2026
…t jobs

_linux-test.yml takes upload-test-artifacts from main, so the parent's upload
steps don't run before it lands. This pins it to the parent's ghstack branch,
gh/georgehong/19/head. A ./ path doesn't work here: Linux test jobs check out
inside their job container, and the runner looks for local actions outside it.
Run it with ciflow/trunk: pull's test jobs and trunk's Linux, ROCm, macOS and
Windows test jobs should write their reports under
s3://gha-artifacts/torchci-reports/pytorch/pytorch/<run id>/<job id>/. ROCm's
arrive only after this lands, since upload-test-stats copies them with main's
upload_artifacts.py.

Authored with the help of an AI assistant (Claude).


ghstack-source-id: bfb4a26
Pull-Request: #200471
pytorchmergebot pushed a commit that referenced this pull request Oct 13, 2026
…00716)

**Summary:**
The test run report writer now reads the compiler from `torch.__config__._cxx_compiler()` instead of parsing `torch.__config__.show()`. `show()` calls `hasCUDA()`, which initializes the CUDA driver and poisons fork in the test process.

**Test Plan:**
```
python test/torchci/test_testing.py
```
`test_compiler` mocks `torch.__config__._cxx_compiler()`, and the DNM PR on top (#200471) writes reports from a torch built with it.

Authored with the help of an AI assistant (Claude).

Pull Request resolved: #200716
Approved by: https://github.com/jathu
ghstack dependencies: #200715

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/trunk Trigger trunk jobs on your pull request topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant