Skip to main content
Ctrl+K

MLX-Cluster

  • GitHub

Installation and Quickstart

  • Installation
  • Quick Start

Guides

  • Sparse Matrix Multiplication (SpMM)

Functions and APIs

  • API Reference
  • Repository
  • Suggest edit
  • Open issue
  • .rst

MLX-Cluster Documentation

Contents

  • MLX-Cluster Documentation
  • Indices and tables

MLX-Cluster Documentation#

Welcome to the mlx-cluster documentation! This library provides high-performance graph algorithms optimized for Apple's MLX framework, including random walks, neighbor sampling and sparse matrix multiplication (SpMM) for GNN message passing.

Installation and Quickstart

  • Installation
    • Requirements
    • Install from PyPI
    • Install from Source
    • Verify Installation
    • Troubleshooting
      • ImportError: No module named 'mlx'
      • Performance Issues
  • Quick Start
    • Random Walks
    • Biased Random Walks (Node2Vec style)
    • Neighbor Sampling
    • Sparse Matrix Multiplication
    • Key Features

Guides

  • Sparse Matrix Multiplication (SpMM)
    • Why use it
    • Quick example
    • COO or CSR?
    • Reductions
    • High-degree nodes (load balancing)
    • Fast backward pass (transpose)
    • Attention scores (edge_scores)
    • Using it from mlx-graphs
    • Limitations

Functions and APIs

  • API Reference
    • Heterogeneous graphs
    • Sparse matrix multiplication

Indices and tables#

  • Index

  • Search Page

next

Installation

Contents
  • MLX-Cluster Documentation
  • Indices and tables

By Vinay Pandya

© Copyright 2025, Vinay Pandya.