CannyLab/tsne-cuda

GPU Accelerated t-SNE for CUDA with Python bindings

What it solves

t-SNE (t-Distributed Stochastic Neighbor Embedding) is a popular tool for visualizing high-dimensional data, but standard CPU-based implementations can be extremely slow on large datasets. TSNE-CUDA solves this performance bottleneck by providing a heavily optimized GPU-accelerated version of the FIt-SNE algorithm, generating embeddings significantly faster than traditional tools while maintaining comparable quality.

How it works

The library leverages GPU acceleration via CUDA (and AMD ROCm via source builds) to perform the heavy computations required for t-SNE. It offers Python wrappers that follow the standard Scikit-Learn API (sklearn.manifold.TSNE), making it drop-in compatible with existing workflows while executing tasks like processing MNIST in under 7 seconds.

Who it’s for

This project is designed for data scientists, machine learning practitioners, and researchers who work with large high-dimensional datasets and need fast dimensionality reduction and visualization without sacrificing embedding quality.

Highlights

  • Up to 1200x faster than Scikit-Learn and up to 50x faster than Multicore-TSNE on compatible GPUs.
  • Drop-in Python API matching sklearn.manifold.TSNE.
  • Supports binary installation via Conda and pip for multiple CUDA versions, alongside source builds for AMD GPUs (ROCm).

Related

  • Project
  • Project
  • Project
  • Project
  • Project