Run this model with HF Jobs

Run LiquidAI/LFM2-24B-A2B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/LiquidAI/LFM2-24B-A2B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/LiquidAI/LFM2-24B-A2B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/LiquidAI/LFM2-24B-A2B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/LiquidAI/LFM2-24B-A2B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Intel Iris Xe Benchmarks (15 GiB RAM, 61.9 GB/s): LFM2-8B-A1B vs. the 8–9 GiB Q4_K_M Weight Cap

#23
by gylotip - opened

Sharing llama-bench (Vulkan) and inferzero gpu_bench measurements from my 15 GiB laptop (i7-1355U, Intel Iris Xe 0xA7A1, 61.9 GB/s peak read bandwidth, 49,152 B shared memory, no matrix cores). I am benchmarking candidate models for a local Rust/TypeScript compiler-fixing CLI (cargo check / tsc / cargo test), targeting Q4_K_M GGUFs to preserve code-editing precision:

Model (llama-bench Vulkan) GGUF Size pp4096 tg128 Measured Notes on 15 GiB Iris Xe
LFM2.5-1.2B (QAD-Q4_0, Short-Conv + GQA) 661 MiB 760.52 t/s 36.56 t/s 1,021.25 t/s at pp512, 351.95 t/s at pp16384.
LFM2-8B-A1B (Q4_0, 8.34B / 1B active, Short-Conv + GQA) 4.41 GiB 341.59 t/s 22.33 t/s 225.60 t/s at pp16384; strong throughput on Iris Xe.
Qwen3.5-9B (Q4_K_M, 8.95B dense, 3:1 DeltaNet + GQA) 5.28 GiB 83.15 t/s 6.62 t/s 104.21 t/s at pp512; 37.5 GB/s decode read.
LiquidCode-2.5-24B-A2B (Q4_K_M) 14.5 GB β€” β€” Not run; exceeds my <= 8.0–9.0 GiB Q4_K_M weight budget on 15 GiB unified RAM alongside OS, 10K f16 KV cache, and compiler processes.

Observed Hardware Constraints (15 GiB Unified RAM / 49,152 B SLM):

  • Target Q4_K_M Weight Budget (<= 8.0–9.0 GiB): On a 15 GiB unified-memory system running OS (Xubuntu), 10K f16 KV cache (--cache-ram 2048), and cargo/tsc builds, 5.28 GiB (Qwen3.5-9B Q4_K_M) leaves comfortable headroom, whereas a 14.5 GB Q4_K_M GGUF leaves almost none.
  • Memory Bandwidth (61.9 GB/s peak): Reading 5.28 GiB per token on dense Qwen3.5-9B yields 6.62 t/s (37.5 GB/s), whereas 1B-active LFM2-8B-A1B reaches 22.33 t/s.
  • Linear / Partial-Linear Hybrid Attention & Head Width (49,152 B SLM): Linear and partial-linear hybrids (LFM2's Short-Conv + GQA, Qwen3.5's 3:1 DeltaNet + GQA, and Granite-4.0-h-tiny's 9:1 Mamba-2 + GQA at 312.89 t/s pp4096) avoid the quadratic O(NΒ²) context drop past 4K. Meanwhile, >= 512-dim global attention heads (Gemma 4 / Nemotron-3.5-Bolt-E4B, 4.70 GiB) dropped -55.8% from pp512 to pp4096 (177.31 -> 78.41 t/s) in llama.cpp Vulkan, making <= 128-dim GQA layers critical on 49,152 B SLM hardware.

Questions for the Liquid AI team:

  1. Before I run end-to-end cargo check / tsc repair loops, how does LFM2-8B-A1B (1B active) hold up against LiquidCode-2.5-24B-A2B on no-think multi-step Rust/TypeScript compiler fixes and strict JSON tool calling?
  2. Are you exploring any linear / partial-linear hybrid (Short-Conv + <= 128-dim GQA) MoE variants that fit inside a <= 8.0–9.0 GiB Q4_K_M GGUF footprint (~12B–15B total parameters) for 15–16 GiB unified-memory laptops?
gylotip changed discussion title from Iris Xe Benchmarks (15 GiB RAM, 61.9 GB/s): LFM2-8B-A1B vs. the 8–9 GiB Q4_K_M Weight Cap to Intel Iris Xe Benchmarks (15 GiB RAM, 61.9 GB/s): LFM2-8B-A1B vs. the 8–9 GiB Q4_K_M Weight Cap

Sign up or log in to comment