claude-pytorch-treehugger

claude-pytorch-treehugger

1

The PyTorch HUD API with MCP Support is a Python library and MCP server designed to interface with the PyTorch HUD API. It enables access to CI/CD data, job logs, and analytics, offering tools for detailed analysis and resource utilization metrics. The functionality includes data access, log analysis, and integration with ClickHouse for data querying.

PyTorch HUD API with MCP Support

A Python library and MCP server for interacting with the PyTorch HUD API, providing access to CI/CD data, job logs, and analytics.

Overview

This project provides tools for PyTorch CI/CD analytics including:

  • Data access for workflows, jobs, and test runs
  • Efficient log analysis for large CI logs
  • ClickHouse query integration for analytics
  • Resource utilization metrics

Key Features

Data Access

  • Basic commit info without jobs
  • Aggregated job status counts
  • Jobs with filtering by status/workflow/name
  • Failed jobs with detailed failure info
  • Status for recent commits with job statistics

Log Analysis

  • Download logs to local storage
  • Find errors, warnings, etc.
  • Parse test execution results
  • Extract specific log sections
  • Search across multiple logs