RepositoryPython
Jit-Roy

Jit-Roy/WeeLLM

WeeLLM runs large diffusion models with as little as 4 GB of VRAM, without any quantization. It dynamically determines how many layers can fit within the available VRAM and streams the text encoder and transformer layers to the GPU layer by layer, enabling inference on hardware with limited VRAM. It supports both safetensors and GGUF models.

128stars
13forks
0issues
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: qwen-image

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: krea2

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: z-image

#1 Repository Của Tuần

🚀 Chạy mô hình diffusion khổng lồ trên máy tính bán thời gian — chỉ với 4GB VRAM

WeeLLM stream từng layer của text encoder và transformer xuống GPU, cho phép chạy mô hình khổng lồ mà không cần quantization.

WeeLLM là một dự án Python mã nguồn mở cho phép chạy các mô hình diffusion lớn như FLUX.1, SDXL, Qwen-Image hay HiDream-I1 ngay trên phần cứng có VRAM nhỏ (dưới 4GB). Thay vì tải toàn bộ mô hình lên GPU, WeeLLM sẽ xác định số lượng layer có thể vừa đủ trong VRAM và stream phần còn lại từng lớp xuống GPU khi cần thiết — giúp tiết kiệm bộ nhớ tối đa trong khi vẫn duy trì độ chính xác bằng bfloat16.

✨ Điểm nổi bật

  • Stream layer-by-layer: Tự động xác định số layer vừa với VRAM và stream phần còn lại.
  • Hỗ trợ cả safetensors và GGUF: Tương thích với nhiều định dạng mô hình phổ biến.
  • Không quantization: Giữ nguyên độ chính xác đầy đủ bằng cách sử dụng bfloat16.
  • Hỗ trợ đa dạng mô hình: Bao gồm SDXL, FLUX.1, SD 3.5, Qwen-Image, HiDream-I1, Krea-2 Turbo...
  • Hỗ trợ cả video: Chạy được mô hình sinh video như MiniMax-H3 và LTX 2.5.
  • CLI thân thiện: Dễ dàng chạy qua dòng lệnh với các tham số rõ ràng.
  • Tối ưu cho máy local: Hiệu suất tốt nhất khi dùng NVMe SSD và GPU hiện đại.

💡 Vì sao đáng chú ý

WeeLLM khác biệt so với các giải pháp khác ở chỗ nó không cần quantization để giảm kích thước mô hình — thay vào đó, nó sử dụng kỹ thuật streaming layer để vừa tiết kiệm VRAM, vừa giữ nguyên chất lượng đầu ra. Điều này mở ra khả năng chạy các mô hình lớn như FLUX.1-dev (~12B) hoặc Qwen-Image (~20B) trên máy tính cá nhân với chi phí phần cứng thấp. Tuy nhiên, do kiến trúc streaming dựa trên I/O liên tục, hiệu năng có thể giảm trên môi trường đám mây nếu tốc độ đĩa bị hạn chế.


#AI #MachineLearning #StableDiffusion #FLUX #LowVRAM #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
huggingface/diffusers

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

34.8k
Oct 26, 2026
RepositoryPython
bytedance/InfiniteYou

🔥 [ICCV 2025 Highlight] InfiniteYou: Flexible Photo Recrafting While Preserving Your Identity

2.7k
Aug 22, 2025
RepositoryPython
mflux-community/mflux

Apple MLX native implementations of state-of-the-art generative image & video models

2.5k
Oct 20, 2026
RepositoryPython
AUTOMATIC1111/stable-diffusion-webui

Stable Diffusion web UI

165.1k
Mar 2, 2026
RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

143.2k
Oct 26, 2026
RepositoryC++
leejet/stable-diffusion.cpp

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++

7.8k
Oct 22, 2026
Modelimage-to-image
Alissonerdx/BFS-Best-Face-Swap

🧬 BFS — Best Face Swap (Qwen Image Edit 2509/2511, Flux 2 Klein 4b/9b) The BFS (Best Face Swap) LoRA series was created for Qwen Image Edit 2509/2511, Flux 2 Klein 4b/9b, designed to perform high-fidelity face and head swaps with natural tone blend...

♥0
287.0k
Sep 27, 2026
Modeltext-to-image
ByteDance/Hyper-SD

Hyper-SD Official Repository of the paper: Hyper-SD(https://arxiv.org/abs/2404.13686). Project Page: https://hyper-sd.github.io/ !(./hypersdtearser.jpg) News🔥🔥🔥 Aug.26, 2024. 💥💥💥 Our 8-steps and 16-steps FLUX.1-dev-related LoRAs are available...

♥0
69.5k
Dec 5, 2024
Modelimage-to-image
lightx2v/Qwen-Image-Edit-2511-Lightning

Qwen-Image-Edit-2511-Lightning Model Overview Qwen-Image-Edit-2511-Lightning is a collection of optimized models tailored for image editing tasks, leveraging step distillation and quantization techniques to deliver high-efficiency inference performa...

♥0
386.8k
Oct 16, 2026