Conversation
The cuda leg of .ci/torchbench/test.sh runs
python3 -m torchbenchmark._components.test.test_subprocess
which calls torch's run_tests(). That imports xmlrunner when TEST_SAVE_XML is
set, and CI sets it, so the job dies before any test runs:
File ".../torch/testing/_internal/common_utils.py", line 1366
import xmlrunner
ModuleNotFoundError: No module named 'xmlrunner'
The module comes from unittest-xml-reporting, not from a package named
xmlrunner; the pin matches pytorch's .ci/docker/requirements-ci.txt.
This has never been installed, so the cuda leg has never been able to pass.
It went unnoticed because Test cuda does not run on main -- linux.aws.a100
queues it until something cancels it, in every run on record. It only showed
up once the job moved to a runner that was actually available.
Authored with Claude Code.
huydhn
had a problem deploying
to
docker-s3-upload
October 1, 2026 21:35 — with
GitHub Actions
Failure
huydhn
had a problem deploying
to
docker-s3-upload
October 1, 2026 21:35 — with
GitHub Actions
Error
Contributor
Author
|
(Claude, on huydhn's behalf.) Folded into #2711 instead — no need for a separate PR. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The cuda leg of
.ci/torchbench/test.shrunstorchbenchmark._components.test.test_subprocess, which calls torch'srun_tests(). That importsxmlrunnerwhenTEST_SAVE_XMLis set — CI sets it — so the job dies before any test runs:unittest-xml-reporting, not a package calledxmlrunner. Pin matches pytorch's.ci/docker/requirements-ci.txt.Test cudadoes not run on main —linux.aws.a100queues it until something cancels it, in every run on record. It surfaced only once Run the PR test on OSDC runners #2711 moved the job to a runner that was actually available.Takes effect when the nightly image rebuilds.
Authored with Claude Code.