Drishti-2B GGUF + 4 Lossless Hot-Swappable LoRAs

Drishti-2B-GGUF (1 Base GGUF + 4 Lossless Hot-Swappable LoRAs)

Authors: Shashank Rathore & Mayank Rathore (Welltech AI)

Local llama.cpp-native release of Drishti-2B (by Welltech AI) (welltech-vlm-main-v7-soup). Load the 1.20 GiB (Q4_K_M) or 1.87 GiB (Q8_0) base model once into VRAM/RAM, then hot-swap all 4 specialist F16 LoRAs in ~1 ms via POST /lora-adapters with 228/228 LM tensors and 0 dropped layers.


Verified GGUF Artifacts & Checksums

File Role / Quant Size Tensors / Dropped SHA256 Prefix
drishti-2b-Q8_0.gguf (tag: v7-soup) Base LLM (Q8_0, Near-Lossless Reference) 1.87 GiB (2,012,010,112 B) Full Qwen3.5-2B 4d87129c
drishti-2b-Q6_K_XL-opt.gguf (recommended) Base LLM (Q6_K + Q8_0 hybrid backbone, imatrix) 1.62 GiB (1,739,635,040 B) Full Qwen3.5-2B 674f44b7
drishti-2b-Q4_K_M-opt.gguf (recommended 4-bit) Base LLM (BPW-V2 + Q8_0 hybrid backbone, imatrix) 1.20 GiB (1,284,397,408 B) Full Qwen3.5-2B 75074ada
drishti-2b-Q4_K_M.gguf Base LLM (Stock llama-quantize Q4_K_M) 1.20 GiB (1,285,207,680 B) Full Qwen3.5-2B 35df4e5e
mmproj-drishti-2b-Q8_0.gguf Vision Projector (Q8_0) 347.8 MiB (364,663,840 B) Qwen3.5 ViT 80e6aad3
mmproj-drishti-2b-F16.gguf Vision Projector (F16) 637.3 MiB (668,226,592 B) Qwen3.5 ViT e0fdff39
drishti-2b-lora-doc_mmstar_v7-F16.gguf DocVQA LoRA (r=64, SVD) 92.3 MiB (96,746,880 B) 228 / 0 b6e02d28
drishti-2b-lora-formula_hme_v7-F16.gguf OCRBench/HME LoRA (r=32) 46.1 MiB (48,381,312 B) 228 / 0 8743c43f
drishti-2b-lora-indic_ocr_v7-F16.gguf 22-Script IndicOCR (r=32) 46.1 MiB (48,381,312 B) 228 / 0 b4fbdd88
drishti-2b-lora-tool_bfcl_v7-F16.gguf BFCL Tool Calling (r=64, SVD) 92.3 MiB (96,746,880 B) 228 / 0 7c0ee155
drishti-2b-dflash-Q8_0.gguf DFlash Block-Diffusion Drafter (Q8_0, 5 layers / block_size=16, Apache-2.0) 276.2 MiB (289,577,344 B) taobao-mnn/Qwen3.5-2B-Dflash c830dd72

Quantization Fidelity (WikiText-2 PPL & KL Divergence vs. F16)

Measured on NVIDIA RTX A5000 (24 GiB) using llama-perplexity (build 12823, -c 512 -b 512 -ub 512 -ngl 999 -fa on) on wikitext-2-raw/wiki.test.raw:

  • Full WikiText-2 Perplexity: All 580 chunks (~297k tokens)
  • KL Divergence (KLD) vs. F16: First 64 chunks (16,320 scored tokens over 32,768 context tokens; base 64-chunk PPL = 11.9407)
Variant Size Full PPL (580 chunks) ฮ”PPL vs F16 Mean KLD 99% KLD Max KLD Same Top-1 Token RMS ฮ”p
F16 (reference) 3.52 GiB 12.6082 ยฑ 0.09349 0.0000 0.000000 โ€” โ€” 100.000% 0.000%
Q8_0 1.87 GiB 12.6226 ยฑ 0.09363 +0.0144 0.001312 ยฑ 0.000013 0.006920 0.042822 97.751 ยฑ 0.116% 0.961 ยฑ 0.013%
Q6_K_XL-opt 1.62 GiB 12.6204 ยฑ 0.09362 +0.0122 0.002644 ยฑ 0.000034 0.016040 0.224201 97.175 ยฑ 0.130% 1.324 ยฑ 0.020%
Q4_K_M-opt 1.20 GiB 12.8241 ยฑ 0.09524 +0.2159 0.023501 ยฑ 0.000271 0.153226 0.835270 91.581 ยฑ 0.217% 3.878 ยฑ 0.071%
Q4_K_M (stock) 1.20 GiB 12.9812 ยฑ 0.09655 +0.3730 0.040249 ยฑ 0.000432 0.250030 1.753358 89.890 ยฑ 0.236% 4.918 ยฑ 0.091%

Why Q4_K_M-opt Cuts KLD by 41.6% at the Exact Same 1.20 GiB Footprint

  1. Fixes llama.cpp's Qwen3.5 ssm_beta blind spot: llama-quantize skips quantizing ssm_beta.weight, missing Qwen3.5's fused ssm_beta_alpha.weight (2.36 MB). Stock Q4_K_M quantized all 18 DeltaNet decay/update gates to Q4_K for only 0.59 MB savings; -opt locks ssm_beta_alpha.weight at F16.
  2. Protects Qwen3.5's hybrid backbone: Locks all 18 recurrent ssm_out.weight projections (80.2 MB) and all 6 full-attention layers (attn_{q,k,v,output}.weight, 93.6 MB) at Q8_0, plus tied 248,320-vocab token_embd.weight at Q6_K (Q4_K_M-opt) or Q8_0 (Q6_K_XL-opt).
  3. Held-out multi-domain imatrix (ctx=1024, 90 chunks): Calibrated strictly on held-out wikitext-2-raw/wiki.train.raw, 12 Indic scripts, LaTeX math, invoice JSON, <tool_call> schemas, GUI coordinates, and Python code (zero overlap with wiki.test.raw).
  4. BPW-V2 activation-weighted solver: Optimizes ffn_down, ffn_gate, ffn_up, and attn_qkv_gate per tensor (Q5_K/IQ4_XS mix in Q4_K_M-opt; Q8_0/Q6_K/Q5_K mix in Q6_K_XL-opt), cutting Q4 peak KLD spikes by 52.4% (1.753 โ†’ 0.835) and matching Q8_0 perplexity at 1.62 GiB (Q6_K_XL-opt). Both optimized builds verified cleanly with llama-mtmd-cli + drishti-2b-lora-indic_ocr_v7-F16.gguf.

Lossless Speculative Decoding (DFlash, RTX A5000)

Pair any Drishti-2B target GGUF with drishti-2b-dflash-Q8_0.gguf (converted from taobao-mnn/Qwen3.5-2B-Dflash, Apache-2.0, 5 layers / block_size=16) using --spec-type draft-dflash in llama.cpp (ctx=8192, -fa on, RTX A5000):

Target Quant Baseline + DFlash (n_max=7) Speedup Math JSON / Code Hindi Draft Acc
drishti-2b-Q8_0.gguf 252.29 tok/s 412.10 tok/s +63.3% (88.2 ms TTFT) 615.3 tok/s 516.5 tok/s 285.7 tok/s 33.4%
drishti-2b-Q6_K_XL-opt.gguf 276.27 tok/s 389.87 tok/s +41.1% 570.9 tok/s 497.3 tok/s 270.4 tok/s 29.5%
drishti-2b-Q4_K_M-opt.gguf 308.25 tok/s 444.85 tok/s +44.3% 649.0 tok/s 542.5 tok/s 322.4 tok/s 32.0%
  • At --spec-draft-n-max 11, drishti-2b-Q4_K_M-opt.gguf peaks at 700.8 tok/s on math and 586.6 tok/s on JSON/code.
  • Exact distribution preservation: greedy and sampled logprobs match baseline within floating-point tolerance (ฮ”logprob = 0.00119 on voice assistant prompts, 0.00237 on Hindi prompts).
  • Multimodal + LoRA compatible: verified alongside mmproj-drishti-2b-Q8_0.gguf and drishti-2b-lora-indic_ocr_v7-F16.gguf (ok=True).
llama-server -m drishti-2b-Q4_K_M-opt.gguf --mmproj mmproj-drishti-2b-Q8_0.gguf \
  -md drishti-2b-dflash-Q8_0.gguf --spec-type draft-dflash --spec-draft-n-max 7 -ngld 999 \
  -ngl 99 -fa on -c 8192

1-Command Quickstart (llama.cpp Server + ~1 ms LoRA Hot-Swap)

Instant try directly from Hugging Face (zero manual download)

# Auto-downloads Q8_0 GGUF + vision projector from Hugging Face:
llama-server -hf Welltech-AI/Drishti-2B-GGUF:Q8_0 --ctx-size 32768 -ngl 999 -fa on --jinja --port 8080

Start llama-server with all 4 specialist LoRAs preloaded

llama-server \
  -m drishti-2b-Q8_0.gguf \
  --mmproj mmproj-drishti-2b-Q8_0.gguf \
  --ctx-size 32768 --n-gpu-layers 999 --flash-attn on --jinja --parallel 1 \
  --lora-init-without-apply \
  --lora drishti-2b-lora-doc_mmstar_v7-F16.gguf \
  --lora drishti-2b-lora-formula_hme_v7-F16.gguf \
  --lora drishti-2b-lora-indic_ocr_v7-F16.gguf \
  --lora drishti-2b-lora-tool_bfcl_v7-F16.gguf \
  --port 8080

Hot-swap active LoRA dynamically (~1 ms overhead)

# Inspect assigned adapter IDs:
curl -s http://127.0.0.1:8080/lora-adapters

# Activate adapter ID 1 (formula_hme_v7) and disable the others:
curl -s -X POST http://127.0.0.1:8080/lora-adapters \
  -H "Content-Type: application/json" \
  -d '[{"id":0,"scale":0.0},{"id":1,"scale":1.0},{"id":2,"scale":0.0},{"id":3,"scale":0.0}]'

Single-shot CLI verification (llama-mtmd-cli)

llama-mtmd-cli \
  -m drishti-2b-Q8_0.gguf \
  --mmproj mmproj-drishti-2b-Q8_0.gguf \
  --lora drishti-2b-lora-indic_ocr_v7-F16.gguf \
  --image receipt_hindi.png \
  -p "Transcribe all Devanagari text line by line." \
  --temp 0

Live Local RTX A5000 Benchmarks (Q8_0 GGUF)

1. Live Multimodal + Hot-Swap Capture (llama-server)

Task Active LoRA Swap Latency Inference Time & Speed Outcome
Integral + Series โ†’ LaTeX formula_hme_v7 19.8 ms (cold) 1.21s (195.0 tok/s) Exact two-equation LaTeX
Invoice PNG โ†’ Strict JSON doc_mmstar_v7 1.11 ms 1.46s (187.9 tok/s) Exact vendor / id / date / 1485.50
Hindi Devanagari Receipt OCR indic_ocr_v7 0.93 ms 0.53s (189.9 tok/s) 100% CER accuracy (1.000)
Desktop UI "Deploy Model" Click Base (0.0) 0.89 ms 0.36s (241.7 tok/s) Predicted (1068, 593) px โ€” 2.8 px from center

2. Local Pi Coding + Vision Agentic Harness (6 Tasks, Q8_0)

  • Drishti-2B Base (think=off): 5 / 6 passed (94.4% mean score, 30.2s total) โ€” dominates LFM3-VL-2B (66.7% OFF / 53.1% MED).
  • Per-Task Routing Guidance (Verified):
    • Keep Base for multi-turn agentic coding / bash / file-write loops (94.4%, code_fix 1.0, vision_indic_ocr 1.0, vision_invoice 1.0, vision_geometry_py 1.0, tool_abstention 1.0).
    • doc_mmstar_v7 (vision_invoice 1.0 in 3.33s) and formula_hme_v7 (vision_geometry_py 1.0 in 5.44s) also preserve clean tool calls in agentic loops.
    • Route indic_ocr_v7 and tool_bfcl_v7 for single-turn specialist transcription (0.53s) & BFCL function-calling (87.0%), rather than multi-step bash file editing.

Ollama & LM Studio Notes

  • Ready-to-use Modelfile.q8_0 and Modelfile.q4_k_m are provided in ollama/.
  • Because llama.cpp gives native Qwen3.5 mmproj vision plus instant POST /lora-adapters hot-swapping, we recommend llama-server (or LM Studio backed by recent llama.cpp) for the full multi-LoRA vision experience.
Downloads last month
1,617
GGUF
Model size
48.4M params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Welltech-AI/Drishti-2B-GGUF

Finetuned
Qwen/Qwen3.5-2B
Adapter
(466)
this model

Spaces using Welltech-AI/Drishti-2B-GGUF 2

Collection including Welltech-AI/Drishti-2B-GGUF