tqchen opened a new pull request, #19945: URL: https://github.com/apache/tvm/pull/19945
TVM's canonical Python test launcher still forces pytest-xdist to use one worker. GPU execution and the order-dependent test family now have explicit isolation, so unlocked compilation and CPU work can use xdist's automatic worker selection. This change: - defaults `run_pytest` to `-n=auto --dist=loadgroup`; - preserves explicit worker and distribution options from callers or `PYTEST_ADDOPTS`; - keeps the default out of root pytest configuration so one-off and embedded pytest invocations remain unchanged; and - documents pytest-xdist in the local full-suite setup. Validation covered shell and pre-commit checks, explicit serial/custom topology overrides, order-sensitive grouping, GPU locking, concurrent RPC/process resources, CI sharding, and a broad 24-worker `tests/python` run with serial-baseline failure comparison. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
