allenai / allenai/molmo

Inference speed (~14–15 TPS) with Molmo-7B-D-0924 (4-bit) and no improvement using vLLM

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
933
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Hi team,

I’m currently running inference with Molmo-7B-D-0924 and observing relatively low throughput (~14–15 tokens per second).

Setup

Model: Molmo-7B-D-0924 (fine-tuned checkpoint)

Quantization: 4-bit (bitsandbytes)

Inference type: Image + text prompt (multimodal generation)

Decoding: Standard generate() API

Measured throughput: ~14–15 TPS

vLLM Attempt

I also tried installing and running inference through vLLM (pip install vllm) to see if I could improve decoding throughput.

However:

There are transformer architecture mismatches between vLLM and Molmo’s multimodal wrapper.

After working around loading issues, I still observe roughly the same throughput (~14 TPS).

This suggests that the bottleneck may not be standard transformer decoding, but potentially the multimodal pipeline (vision encoder + fusion).

Questions

Is ~14–15 TPS expected for 4-bit multimodal inference with Molmo-7B-D-0924?

Are there recommended optimizations for increasing inference throughput?

FlashAttention support?

torch.compile compatibility?

Precomputing / caching vision embeddings?

Any internal optimizations used for the demo model?

Is there an officially supported or recommended way to run Molmo with vLLM?

Are there plans for an optimized inference path (e.g., vLLM-compatible export or TensorRT support)?

I’m aiming to increase throughput toward ~50 TPS if possible, but I’m unsure whether that is realistic given the current architecture.

Any guidance would be greatly appreciated.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.