(results)
| 1637 | |
| 1638 | |
| 1639 | def build_simple_report(results): |
| 1640 | text = "" |
| 1641 | failed_text = "" |
| 1642 | for config_name in results: |
| 1643 | if "pytorch" not in results[config_name]: |
| 1644 | continue |
| 1645 | for arch_name in results[config_name]["pytorch"]: |
| 1646 | if "error" in results[config_name]["pytorch"][arch_name]: |
| 1647 | result = results[config_name]["pytorch"][arch_name]["error"] |
| 1648 | failed_text += f"{arch_name}: {result[0]}\n" |
| 1649 | else: |
| 1650 | result = ("OK",) |
| 1651 | text += f"{arch_name}: {result[0]}\n" |
| 1652 | |
| 1653 | return text, failed_text |
| 1654 | |
| 1655 | |
| 1656 | def update_tiny_model_summary_file(report_path): |
no outgoing calls
no test coverage detected