Skip to main content

Develop with the Cerebras SDK

Build custom kernels for the Wafer-Scale Engine — everything from your first CSL program to running at scale on a full Wafer-Scale Cluster.

Isometric view of the Wafer-Scale Engine fabric with processing-element stacks

Start Here

A Conceptual View

A conceptual, “mental model” view of computing with Cerebras.

Host Runtime & Tensor Streaming

The SdkRuntime host API and memcpy infrastructure for data transfer.

Installation and Setup

Step-by-step setup of the Cerebras SDK Singularity container.

Tutorials

Walk through GEMV tutorials, from basic CSL syntax to multi-PE programs.

Development Guides

CSL Language Guide

Complete reference covering syntax, builtins, types, DSDs, and libraries.

CSL Code Samples

Tutorials and benchmarks from the sdk-examples GitHub repository.

Running SDK on a Wafer-Scale Cluster

Use the SDK in appliance mode on a Cerebras Wafer-Scale Cluster.

Host API Reference

SdkRuntime API

Python host runtime for loading programs, launching functions, and transferring data.

SdkLayout API

Python API for programmatic layout of multi-region SDK programs.

SDK Appliance API

Compile and run SDK programs on a Wafer-Scale Cluster.