Back to directory

WeeLLM

A layer-streaming inference tool that runs large diffusion image, image-editing and video-generation models on GPUs with as little as 4 GB of VRAM, without quantizing the model weights.

WeeLLM

WeeLLM dynamically determines how many layers of a diffusion model's text encoder and transformer fit in the available VRAM, pins that many blocks on the GPU, and streams the remaining layers from disk in the background layer by layer, so models that would otherwise require far more memory can still run at full precision. It supports a wide range of image-generation and image-editing model families, including several Stable Diffusion versions, Flux variants, Qwen Image, HiDream and others, plus two text-to-video and image-to-video models.

Running it requires explicitly passing the available VRAM and RAM budgets to the command line so it stays within hardware limits; it is optimized for local machines with fast NVMe storage and modern GPUs, and the project notes it will be slower on typical cloud instances with restricted disk speed.

It is written in Python, installable from source or with pip, and runnable in Kaggle or Colab notebooks.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.