GitHub Hot Board

GitHub Hot Board · Repository archive

AI-Hypercomputer/accelerator-agents

No translatable description yet — one arrives as the harvest finds it.

Python

Data at October 31AI-Hypercomputer

Best

#144

Underappreciated Gems

100

Total stars

23

Total forks

1

Days on boards (30d)

License: Apache-2.0Last push: October 30Open issues: 33Collected since 2026-10-25; unknown = not yet harvested

README

Accelerator Agents

Accelerator Agents is a collection of AI-powered tools designed to accelerate machine learning development on Google Cloud TPUs. This repository hosts agents that assist with code migration, kernel optimization, and performance tuning, enabling developers to leverage the full power of TPUs with greater velocity.

Disclaimer: This is not an officially supported Google product. This project is not eligible for the Google Open Source Software Vulnerability Rewards Program.

Overview

As machine learning models grow in complexity, optimizing them for specific hardware accelerators like TPUs becomes increasingly challenging. This project aims to provide a suite of "Agents"—specialized AI tools powered by Gemini—to automate and assist with these complex tasks.

The project includes two primary agents:

1. MaxCode

The MaxCode agent facilitates the conversion of existing PyTorch models and codebases into JAX. It is designed to help users migrate their workloads to run efficiently on TPUs, leveraging high-performance frameworks like MaxText.

Note: MaxCode is under active development, and we are continuously working to improve migration quality and expand model coverage.

Features:

  • Automated Conversion: Converts functional code blocks and model layers from PyTorch to JAX.
  • MaxText Integration: Generates JAX code compatible with the MaxText framework for immediate training and inference on TPUs.
  • Human-in-the-Loop: Designed to draft initial implementations that developers can review and refine.

2. MaxKernel

The MaxKernel agent is a specialized tool for high-performance kernel development on TPUs. It assists engineers in writing, optimizing, and debugging custom kernels, specifically focusing on Pallas (JAX's kernel language).

Features:

  • Kernel Writing: Drafts Pallas kernels from scratch or based on JAX reference implementations.
  • CUDA to Pallas Conversion: Assists in porting custom CUDA/GPU kernels to run optimally on TPUs.
  • Optimization & Profiling: Provides profiling insights and optimization suggestions to improve kernel performance (MFU).
  • Test Harness Generation: Automatically generates boilerplate code for correctness testing and compilation checks.

Getting Started

Prerequisites

  • A Google Cloud VM. A CPU-only VM is sufficient for MaxCode, while a TPU VM is recommended for MaxKernel.
  • Python 3.11+
  • Access to Gemini API (for agent reasoning capabilities).

Installation

Clone the repository: bash git clone https://github.com/AI-Hypercomputer/accelerator-agents.git cd accelerator-agents

(Note: Specific installation instructions for each agent can be found in their respective subdirectories.)

Contributing

We welcome contributions! Please see CONTRIBUTING.md for details on how to submit pull requests, report issues, and contribute to the project.

License

This project is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Current rankings

  • 144

    Underappreciated Gems

    100 stars · 23 fork · Total stars (ascending)

    Underrated →

Momentum, past 30 days

Cumulative stars

Rank movement

Put your badge on the README · AI-Hypercomputer/accelerator-agents[![Put your badge on the README](https://git.vaiox.xyz/api/badge/AI-Hypercomputer/accelerator-agents.svg)](https://git.vaiox.xyz/en/repo/AI-Hypercomputer/accelerator-agents)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/en/repo/AI-Hypercomputer/accelerator-agents"><img src="https://git.vaiox.xyz/api/badge/AI-Hypercomputer/accelerator-agents.svg" alt="Put your badge on the README" height="20"></a>

← Back to boards

GitHub Hot BoardTime MachineDiscover联系我们 · Contact