Install xmlrunner so the cuda tests can run
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.