mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
This reverts commit 45411d1fc9a2b6d2f891b6ab0ae16409719e09fc. Reverted https://github.com/pytorch/pytorch/pull/129409 on behalf of https://github.com/jeanschmidt due to Breaking internal CI, @albanD please help get this PR merged ([comment](https://github.com/pytorch/pytorch/pull/129409#issuecomment-2571316444))
19 lines
358 B
Python
19 lines
358 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
|
|
REPO_ROOT = Path(__file__).resolve().parents[2]
|
|
sys.path.append(str(REPO_ROOT))
|
|
|
|
from tools.stats.import_test_stats import get_test_class_times, get_test_times
|
|
|
|
|
|
def main() -> None:
|
|
print("Exporting test times from test-infra")
|
|
get_test_times()
|
|
get_test_class_times()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|