cut_cross_entropy

Anaconda Verified

A memory efficient implementation of linear-cross-entropy loss.

Installation

To install this package, run one of the following:

Conda
$conda install anaconda::cut_cross_entropy

Try This Package Beta

Usage Tracking

25.1.1
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

Cut Cross-Entropy (CCE) is a memory-efficient implementation of the linear-cross-entropy loss used when training large language models. It computes the cross-entropy loss without materializing the full logits matrix in global memory, using custom Triton kernels, which substantially reduces memory usage during training.

About

Summary

A memory efficient implementation of linear-cross-entropy loss.

Last Updated

Jun 24, 2026 at 17:30

License

LicenseRef-Apple

Supported Platforms

linux-64
linux-aarch64
macOS-arm64