pytorch/tools/testing
Zain Rizvi 5ddb8ef827 Make emit_metrics importable without having boto3 installed (#107070)
Make it so that scripts can import and run the `emit_metrics` function even if they don't have boto3 installed, in which case it will still validate the inputs but skip the actual metric emission part.

It's purely a refactor without any real logic changes

Motivation: So that run_test.py and the target determination code can use this library easily without worrying about if it was imported or if it's dependencies are installed.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/107070
Approved by: https://github.com/huydhn
2023-08-21 21:13:01 +00:00
..
target_determination Make emit_metrics importable without having boto3 installed (#107070) 2023-08-21 21:13:01 +00:00
__init__.py
explicit_ci_jobs.py [BE] Enable ruff's UP rules and autoformat tools and scripts (#105428) 2023-07-19 01:24:44 +00:00
modulefinder_determinator.py [BE] f-stringify torch/ and scripts (#105538) 2023-07-21 19:35:24 +00:00
test_selections.py Make emit_metrics importable without having boto3 installed (#107070) 2023-08-21 21:13:01 +00:00