← all repositories
amazon-archives/amazon-dsstne

Amazon’s ‘Destiny’: a sparse tensor engine built for scale, now archived

DSSTNE is Amazon’s C++ engine for training recommendation models with weight matrices too large for one GPU, trading research flexibility for production speed.

4.4k stars C++ ML FrameworksDomain Apps
amazon-dsstne
Not currently ranked — collecting fresh signals.
star history

What it does

DSSTNE trains and deploys deep learning recommendation models with sparse inputs, fully connected hidden layers, and sparse outputs. It spreads computation and storage across multiple GPUs in a model-parallel fashion, letting a single host train weight matrices that exceed one card’s memory. Amazon used it in production to generate personalized product recommendations at scale.

The interesting bit

The library uses custom GPU kernels that operate directly on sparse data without filling in zeroes. That optimization—embracing the emptiness typical of recommendation problems—reflects its stated priority of speed and scale over experimental flexibility.

Key highlights

  • Model-parallel training and prediction across multiple GPUs on a single host
  • Custom sparse GPU kernels that avoid densifying sparse inputs
  • README cites third-party benchmarks reporting near-linear multi-GPU scaling on MovieLens
  • Deployment patterns documented for Spark on AWS EMR and Docker on AWS ECS
  • Built for production deployment rather than research prototyping

Caveats

  • Now housed in the amazon-archives GitHub organization.
  • The framework intentionally sacrifices experimental flexibility; it is purpose-built for large sparse recommendation problems rather than general deep learning.

Verdict

Worth studying if you maintain legacy recommendation pipelines or want to see how Amazon handled industrial-scale sparse tensors years ago. Skip it if you need an active community or the ability to iterate freely on novel architectures.

Frequently asked

What is amazon-archives/amazon-dsstne?
DSSTNE is Amazon’s C++ engine for training recommendation models with weight matrices too large for one GPU, trading research flexibility for production speed.
Is amazon-dsstne open source?
Yes — amazon-archives/amazon-dsstne is open source, released under the Apache-2.0 license.
What language is amazon-dsstne written in?
amazon-archives/amazon-dsstne is primarily written in C++.
How popular is amazon-dsstne?
amazon-archives/amazon-dsstne has 4.4k stars on GitHub.
Where can I find amazon-dsstne?
amazon-archives/amazon-dsstne is on GitHub at https://github.com/amazon-archives/amazon-dsstne.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.