mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
See https://github.com/pytorch/pytorch/pull/129751#issue-2380881501. Most changes are auto-generated by linter. You can review these PRs via: ```bash git diff --ignore-all-space --ignore-blank-lines HEAD~1 ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/129756 Approved by: https://github.com/ezyang
18 lines
367 B
Python
18 lines
367 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
|
|
REPO_ROOT = Path(__file__).resolve().parent.parent.parent
|
|
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()
|