selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

inclusionAI logo

LBS-27B

inclusionAI·Instruct·released 26 Oct 2026

Apache 2.027B256K ctx ≈19 GB
Your GPU
llama-server -hf bartowski/LBS-27B-GGUF:Q4_K_M
All 3 runners ↓

LBS-27B is an agentic vision-language model based on Qwen3.8-27b. It learns to select and inspect image regions through GUI grounding, then transfers this observation policy to general-domain visual question answering and high-resolution perception.

Notify me when

How much VRAM does LBS-27B need?

At Q4_K_M LBS-27B needs about 19 GB with an 8K context (19 GB at Q4, 55 GB at full precision). Pick your GPU to see what fits and how fast it runs.

--vram
any
--gpus
--quant

Needs: ≈19 GB · Q4_K_M · 8K context — Pick a GPU to check the fit.

Change quant, context or KV cache to compare
Advanced: context 8K · KV cache 16-bit
Context
KV cache

Smallest GPU for each quant and context (KV cache 16-bit)

Quantisation8K16K32K64K128K256K
Q3_K_M
Q4_K_M
Q5_K_M
Q6_K
Q8_0
FP16

≤16 GB card24–32 GB48–96 GBmore

QuantisationQualityWeightsKV cacheTotal
Q2_KHeavy lossSmallest, noticeably worse qualityHeavy loss9.9 GB file2.0 GB≈13 GB
Q3_K_MNoticeable lossSmall, some quality lossNoticeable loss12 GB file2.0 GB≈15 GB
Q4_K_MrecommendedSmall lossRecommended default for local useSmall loss16 GB file2.0 GB≈19 GB
Q5_K_MNear-losslessNear-lossless for most tasksNear-lossless19 GB file2.0 GB≈23 GB
Q6_KNear-losslessPractically losslessNear-lossless22 GB file2.0 GB≈26 GB
Q8_0LosslessLossless in practice, twice the size of Q4Lossless27 GB file2.0 GB≈31 GB
FP16 / BF16LosslessFull precision, as releasedLossless50 GB file2.0 GB≈55 GB

Estimates for 8K tokens of context: weights + KV cache + runtime overhead. Speed assumes memory-bound decoding at your GPU’s bandwidth. Pick a GPU above and the fit column checks every row against it. Weights marked “file” use the real GGUF download size; “est.” rows are computed from the parameter count.

How to pick a quant

Take the biggest quant that fits with room left for context. Q4_K_M is the usual sweet spot. Below Q4 quality drops fast, above Q6 you mostly pay memory for nothing. Big models (70B+, large MoE) tolerate low quants better than small ones.

  • LosslessF16, Q8_0
  • Near-losslessQ6_K, Q5_K_M
  • Small lossQ5_K_S, Q4_K_M, IQ4_NL, IQ4_XS, Q4_K_S
  • Noticeable lossQ4_0, Q3_K_L, Q3_K_M, IQ3_M
  • Heavy lossIQ3_XXS, Q3_K_S, IQ2_M, Q2_K

Typical quality loss, not measured per model. Tiers come from KL divergence against FP16 on Llama 3 8B: llama.cpp perplexity README: LLaMA 3 8B scoreboard (KLD and ΔPPL vs FP16, Wikitext-2); llama.cpp quantize tool: ΔPPL per quant type @ Llama-3-8B

How much context fits?

Model quant
KV cache

At 8K context, Q4_K_M needs ≈19 GB(16 GB weights + 2.0 GB KV cache + 1.3 GB overhead). Pick a GPU above to see how much context fits.

0204060801001K2K4K8K16K32K64K128K256KGB

Weights + overheadKV cache

Can the Tesla P40 run LBS-27B? →

Speed vs quality per quant

Smaller quants run faster and fit in less memory, but lose quality.

Q2_KQ3_K_MQ4_K_MQ5_K_MQ6_KQ8_0F16

Fits in VRAMTight fitCPU offload✕ won't runQuality is typical KL divergence vs FP16, not measured for this model.

Real-world speed of LBS-27B

Tokens per second measured by people running it at home. A GPU shows a median once 3 reports agree on the same setup. Reports far from our estimate wait for a review. Measure yours with llama-bench →

No medians yet. Be one of the first 3 to report a setup.

All reports

Run LBS-27B locally

--quantQ4_K_Mdefault; pick your GPU to tailor itbartowski/LBS-27B-GGUF

OpenAI-compatible server with a web UIdocs
llama-server -hf bartowski/LBS-27B-GGUF:Q4_K_M

Downloads the GGUF on first run. Installed through llama.app? The same flags work with `llama serve`.

Install llama.cpp

Serve an OpenAI-compatible APIdocs
vllm serve inclusionAI/LBS-27B
Docker Compose (NVIDIA)docs
yaml
services:
  vllm:
    image: vllm/vllm-openai:latest
    command: inclusionAI/LBS-27B
    ports:
      - "8000:8000"
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

API on port 8000.

Install vLLM

Serve an OpenAI-compatible APIdocs
sglang serve inclusionAI/LBS-27B --host 0.0.0.0 --port 30000
Docker Compose (NVIDIA)docs
yaml
services:
  sglang:
    image: lmsysorg/sglang:latest
    command: sglang serve inclusionAI/LBS-27B --host 0.0.0.0 --port 30000
    ports:
      - "30000:30000"
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

API on port 30000.

Install SGLang

Quantised versions and downloads

RepositoryFormatQuantSizeDownloads
bartowski/LBS-27B-GGUFGGUFIQ2_XXS8.6 GB5.4K
bartowski/LBS-27B-GGUFGGUFIQ2_XS8.8 GB5.4K
bartowski/LBS-27B-GGUFGGUFIQ2_S9.4 GB5.4K
bartowski/LBS-27B-GGUFGGUFIQ2_M10 GB5.4K
bartowski/LBS-27B-GGUFGGUFQ2_K11 GB5.4K
bartowski/LBS-27B-GGUFGGUFIQ3_XXS12 GB5.4K
bartowski/LBS-27B-GGUFGGUFQ3_K_S13 GB5.4K
bartowski/LBS-27B-GGUFGGUFIQ3_XS13 GB5.4K
bartowski/LBS-27B-GGUFGGUFQ3_K_M13 GB5.4K
bartowski/LBS-27B-GGUFGGUFQ3_K_L14 GB5.4K

About LBS-27B

LBS-27B is an agentic vision-language model based on Qwen3.8-27b. It learns to select and inspect image regions through GUI grounding, then transfers this observation policy to general-domain visual question answering and high-resolution perception. Training uses only synthetic GUI grounding data, with no general-domain data or VQA questions: approximately 10K cold-start SFT examples, followed by 80 GRPO steps with a batch size of 64 and 8 rollouts per prompt. • Adaptive observation: zoom into relevant regions, refine previous crops, • and revisit the original image when needed. • Compositional zoom-in: request up to two independent crops per turn, • with a total budget of three crop calls per episode. • Transfer beyond screens: apply the learned observation policy to visual • QA without general-domain VQA training. All LBS scores use agentic zoom-in over complete benchmark runs. PerceptionBench uses a self-hosted Deepseekv4-flash-0731 judge, with zero failed or skipped judgments; repeated judgments may vary. Chart references use different inference setups and GPT-oss-120B for PerceptionBench, so comparisons are not controlled. See comparison notes. More result visualizations are available in the LBS project; we have not performed any additional fine-tuning on general-domain data and welcome further RL experiments in specific subdomains.

Full model card on Hugging Face →

Alternatives to LBS-27B

All alternatives →
Qwen logo

Qwen3.8-27B

Qwen·Vision

≈19 GB

Following the widespread community adoption of the Qwen3.5 and Qwen3.6 series, we are pleased to introduce Qwen3.8, the most capable generation in the Qwen open-model family to date.

27.8B256K ctx Apache 2.0
6.5MAug 2026ollama
google logo

gemma-4-26B-A4B-it

google·Vision

≈18 GB

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on E2B, E4B, and 12B) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants.

25.8BA4B256K ctx Apache 2.0
4.9MMar 2026ollama
Qwen logo

Qwen3.6-27B

Qwen·Vision

≈19 GB

Following the February release of the Qwen3.5 series, we're pleased to share the first open-weight variant of Qwen3.6. Built on direct feedback from the community, Qwen3.6 prioritizes stability and real-world utility, offering developers a more intuitive, responsive, and genuinely productive coding…

27.8B256K ctx Apache 2.0
2.4MApr 2026ollama
google logo

gemma-4-31B-it

google·Vision

≈27 GB

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on E2B, E4B, and 12B) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants.

31.3B256K ctx Apache 2.0
6.1MMar 2026ollama
Qwen logo

Qwen3.5-27B

Qwen·Vision

≈19 GB

Over recent months, we have intensified our focus on developing foundation models that deliver exceptional utility and performance.

27.8B256K ctx Apache 2.0
1.6MFeb 2026ollama
google logo≈18 GB

DiffusionGemma is a generative model built by Google DeepMind. Based on the 26B A4B Mixture-of-Experts (MoE) Gemma 4 architecture, DiffusionGemma generates tokens using discrete diffusion. This open-weights model is multimodal, handling text, image, and video inputs to generate text output.

25.8BA4B256K ctx Apache 2.0
581KJun 2026gguf

LBS-27B FAQ

How much VRAM does LBS-27B need?
About 19 GB at Q4_K_M with an 8K context. Q8_0 needs about 31 GB and full precision about 55 GB. Longer contexts need more memory for the KV cache.
Can LBS-27B run on the Tesla P40?
Yes. It fits at Q5_K_M (about 23 GB), at an estimated 9.9 tokens/s. It fits comfortably on the Radeon RX 7900 XTX, Instinct MI50 32GB, RTX 5090.
Can I use LBS-27B commercially?
Yes. It is released under Apache 2.0. Permissive: use, modify and sell freely; keep the notice and licence text.
What is the context length of LBS-27B?
262,144 tokens (256K). The full window needs far more memory than an 8K context.
How do I run LBS-27B with llama.cpp?
Run llama-server -hf bartowski/LBS-27B-GGUF:Q4_K_M. It downloads the GGUF and starts an OpenAI-compatible server.

Data from Hugging Face, the model card and public leaderboards. Memory and speed figures are estimates; real numbers depend on the runtime, context length and drivers. Always check the licence yourself before commercial use.