kyegomez/VisionMamba

Implementation of Vision Mamba from the paper: "Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model" It's 2.8x faster than DeiT and saves 86.8% GPU memory when performing batch inference to extract features on high-res images

What it solves

It provides an efficient alternative to traditional Vision Transformers (ViTs) for visual representation learning. It addresses the high computational cost and memory usage associated with standard attention mechanisms when processing high-resolution images.

How it works

The project implements a Bidirectional State Space Model (SSM) to process visual data. Unlike standard transformers, this architecture allows for more efficient feature extraction, significantly reducing the GPU memory footprint and increasing inference speed.

Who it’s for

Researchers and developers working on computer vision tasks that require high-resolution image processing with limited GPU memory or a need for higher inference speeds.

Highlights

  • 2.8x faster than DeiT during batch inference.
  • Reduces GPU memory usage by 86.8% when extracting features from high-res images.
  • Easy installation via pip.

Related

  • Project
  • Project
  • Dispatch
  • Dispatch
  • Project