MCPcopy Create free account
hub / github.com/apple/axlearn

github.com/apple/axlearn @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
10,097 symbols 47,387 edges 585 files ⚖ Apache-2.0 4,521 documented · 45% updated 2mo ago★ 2,3721 open issues

Browse by type

Functions 7,799 Types & classes 2,118 Endpoints 180
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

The AXLearn Library for Deep Learning

build-and-test

This library is under active development and the API is subject to change.

Table of Contents

Section Description
Introduction What is AXLearn?
Getting Started Getting up and running with AXLearn.
Concepts Core concepts and design principles.
CLI User Guide How to use the CLI.
Infrastructure Core infrastructure components.

Introduction

AXLearn is a library built on top of JAX and XLA to support the development of large-scale deep learning models.

AXLearn takes an object-oriented approach to the software engineering challenges that arise from building, iterating, and maintaining models. The configuration system of the library lets users compose models from reusable building blocks and integrate with other libraries such as Flax and Hugging Face transformers.

AXLearn is built to scale. It supports the training of models with up to hundreds of billions of parameters across thousands of accelerators at high utilization. It is also designed to run on public clouds and provides tools to deploy and manage jobs and data. Built on top of GSPMD, AXLearn adopts a global computation paradigm to allow users to describe computation on a virtual global computer rather than on a per-accelerator basis.

AXLearn supports a wide range of applications, including natural language processing, computer vision, and speech recognition and contains baseline configurations for training state-of-the-art models.

Please see Concepts for more details on the core components and design of AXLearn, or Getting Started if you want to get your hands dirty.

PyPI Release

See RELEASE.md for PyPI release process, version management, and installation instructions.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 5,634
Function 2,165
Class 2,118
Route 180

Languages

Python100%

Modules by API surface

axlearn/common/attention.py257 symbols
axlearn/common/attention_test.py190 symbols
axlearn/common/layers.py128 symbols
axlearn/common/utils_test.py125 symbols
axlearn/common/config.py118 symbols
axlearn/common/mixture_of_experts.py112 symbols
axlearn/common/utils.py108 symbols
axlearn/common/config_test.py102 symbols
axlearn/common/state_builder.py96 symbols
axlearn/common/input_tf_data_test.py91 symbols
axlearn/common/state_builder_test.py89 symbols
axlearn/common/optimizers.py83 symbols

For agents

$ claude mcp add axlearn \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page