GitHub Hot Board

GitHub Hot Board · Arsip repositori

AI-Hypercomputer/accelerator-agents

Belum ada deskripsi untuk bahasa ini — muncul otomatis.

Python

Data per November 1AI-Hypercomputer

Peringkat terbaik

#144

Permata yang Terlupakan

100

Total bintang

23

Total fork

2

Hari di papan (30 hari)

Lisensi: Apache-2.0Push terakhir: October 30Issue terbuka (termasuk PR): 33Dikumpulkan sejak 2026-10-25; tidak diketahui = belum terkumpul

Dokumentasi proyek

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.

Peringkat saat ini

  • 144

    Permata yang Terlupakan

    100 bintang · 23 fork · Total Star (menaik)

    Terlupakan →

Grafik 30 hari

Jumlah bintang kumulatif

Pergerakan peringkat

Pasang lencana di README kamu · AI-Hypercomputer/accelerator-agents[![Pasang lencana di README kamu](https://git.vaiox.xyz/api/badge/AI-Hypercomputer/accelerator-agents.svg)](https://git.vaiox.xyz/id/repo/AI-Hypercomputer/accelerator-agents)

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

<a href="https://git.vaiox.xyz/id/repo/AI-Hypercomputer/accelerator-agents"><img src="https://git.vaiox.xyz/api/badge/AI-Hypercomputer/accelerator-agents.svg" alt="Pasang lencana di README kamu" height="20"></a>

← Kembali ke papan

GitHub Hot BoardMesin WaktuTemukan联系我们 · Contact