This release is a pre-release and may not be stable for production use.
csl++
csl++ is a place to develop new language features for the Cerebras Software Language (CSL) and to test them at wafer scale. It extends CSL, so every CSL program is also a csl++ program.
The csl++ compiler csl-pp is a drop-in replacement for cslc and takes the same command-line arguments. It translates a program to vanilla CSL and then compiles the result with cslc, the compiler of the Cerebras SDK.
csl++ currently adds async functions and tasks, and automatic allocation of colors, task IDs and queues:
async fn recv_squared(comptime in: fabin_dsd) f32 {
var x: f32 = 0.0;
@fmovs(&x, in, .{ .async = true, .activate = @current_task() });
suspend; // continues here when the value has arrived
x *= x;
return x;
}
async task main() void {
// Receive from both neighbors at the same time.
const r = @await_parallel(recv_squared(west_dsd), recv_squared(east_dsd));
sum = r[0] + r[1];
}
The documentation contains a quickstart, a tutorial and the reference of the language extensions.
Installation
This package installs command-line tools, not a Python library: csl-pp, the language server csl-lsp-server and the csl++ libraries. It is built for x86-64 Linux with glibc 2.28 or newer.
pipx install csl-pp
uv tool install csl-pp and pip install csl-pp in a virtual environment work as well.
csl-pp runs cslc of the Cerebras SDK, which is installed separately; csl++ is tested with SDK 2.10. Put the SDK directory, which contains cslc, on your PATH.
Usage
Call csl-pp instead of cslc, with the same arguments:
csl-pp ./layout.csl --arch=wse3 --fabric-dims=8,3 --fabric-offsets=4,1 \
-o out --memcpy --channels=1
The csl++ libraries are installed with the package; csl-pp and csl-lsp-server find them without --import-path.
Editor support
The VS Code extension CSL Language Server provides diagnostics, hover, completion and go-to-definition for CSL and csl++. It bundles the language server and does not need this package.
Bug reports
Please include the output of csl-pp --version and the backtrace in bug reports. The debug information of the executables of each release is attached to the release in the csl++ repository, so backtraces of crashes can be resolved to source lines.
License
csl++ is under the Apache License v2.0 with LLVM Exceptions. It is developed by the Embedded Systems and Applications Group at the Technical University of Darmstadt and is not a product of Cerebras Systems.
Metadata
Release files for csl-pp 2.0.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| csl_pp-2.0.0rc2-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for csl_pp-2.0.0rc2-py3-none-manylinux_2_28_x86_64.whl |
Release files / csl_pp-2.0.0rc2-py3-none-manylinux_2_28_x86_64.whl
| Download URL | csl_pp-2.0.0rc2-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 12.2 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
0908179e857ff14d5239081fb460b7f6a45b32c34791f3cfdcd744a990445dfd
|
|
BLAKE2b-256 checksum How to use checksums |
fbb8a90d9e2fe086da3529a0aa933869242f883cd7f2824215901300e212ae51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for csl-pp 2.0.0rc2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for csl_pp-2.0.0rc2-py3-none-manylinux_2_28_x86_64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.