BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//HasGeek//NONSGML Funnel//EN
DESCRIPTION:A hands-on workshop on shrinking open models to fit the hardwa
 re you have\, and proving they still work
X-WR-CALDESC:A hands-on workshop on shrinking open models to fit the hardw
 are you have\, and proving they still work
NAME:Break a model\, then fix it
X-WR-CALNAME:Break a model\, then fix it
REFRESH-INTERVAL;VALUE=DURATION:PT12H
SUMMARY:Break a model\, then fix it
TIMEZONE-ID:Asia/Kolkata
X-PUBLISHED-TTL:PT12H
X-WR-TIMEZONE:Asia/Kolkata
BEGIN:VEVENT
SUMMARY:Break a model\, then fix it
DTSTART:20261122T050000Z
DTEND:20261122T093000Z
DTSTAMP:20261205T141525Z
UID:session/Um7pqk1CRwrY4pFvErJsMq@hasgeek.com
SEQUENCE:24
CREATED:20261025T080609Z
DESCRIPTION:A hands-on workshop for platform\, infrastructure\, MLOps and 
 SRE engineers who have been asked to run an open model on hardware the com
 pany already owns\, and need to know what they lose when they make it smal
 ler.\n\nServing an open model is mostly a memory problem. An 8 billion par
 ameter model needs 32 GB at full precision\, 16 GB at 16 bits\, 8 GB at 8 
 bits and 4 GB at 4 bits. Quantisation\, storing every number in the model 
 with fewer bits\, is the lever that decides whether it fits a 24 GB card\,
  a laptop\, or nothing you own. Model pages now list Q4\, Q8 and fp16 side
  by side\, and serving stacks expose it as a single flag. What nobody ship
 s with it is a way to tell whether the smaller model still works.\n\nThis 
 workshop is about finding that out deliberately\, before your users do.\n\
 n**Slides:** https://docs.google.com/presentation/d/1F7SkX8qpZsixJ8JTvNTs-
 EJz6tvrVbKEpjIY5g4OoOk/edit?usp=sharing\n\n# What is this workshop about?\
 n\nThis workshop will help engineers understand what quantisation actually
  does to a model\, where it breaks\, and how to measure the damage instead
  of assuming it.\n\nParticipants learn quantisation from first principles 
 as rounding to a grid: `q = round(w / s)` to store a weight\, and `ŵ = q 
 × s` to get it back. Everything else follows from how the step size `s` i
 s chosen. The workshop covers how to read a weight distribution and predic
 t whether a precision will hold\, how to fix the three most common failure
 s\, and how to build an evaluation that catches a model which has quietly 
 stopped working.\n\n# What will participants work on?\n\nParticipants work
  in one Google Colab notebook on the free tier with a T4 GPU\, using a sma
 ll open model (Qwen3 0.6B). They write the quantiser themselves in about t
 wenty lines of PyTorch\, then use it on the real model.\n\nLink: https://c
 olab.research.google.com/drive/1R_wJOs2tLKhuLClrOJc2oVYw1or2myDz?usp=shari
 ng\n\nThrough this setup\, participants will examine:\n\n* **Memory agains
 t accuracy:** how much memory each bit saves\, and where the accuracy clif
 f sits for this model.\n* **Small weights:** what happens to a wide layer 
 when the grid is too coarse for its weights.\n* **Outliers:** what one ver
 y large weight does to the precision of every other weight\, and why clipp
 ing it can break a model even at 16 bits.\n* **Silent failure:** whether a
  benchmark score can tell a cautious model from a dead one.\n* **Before an
 d after:** memory\, perplexity\, ARC-Easy and the BFCL wagon wheel for the
  same model at 16\, 8\, 6\, 5 and 4 bits.\n\n# Target audience\n\n* Platfo
 rm and infrastructure engineers asked to serve an open model on-prem or on
  a fixed budget\, who need it to fit the hardware they already have.\n* ML
 Ops\, SRE and serving engineers who own the inference stack\, the rollout 
 and the rollback. A precision change alters the model without changing its
  version number.\n* Anyone looking at Q4_K_M\, Q8_0 and fp16 on the same m
 odel page with no way to choose between them.\n\nBasic Python\, and having
  opened a notebook before\, is assumed. No machine learning or quantisatio
 n background is needed.\n\n# Learning outcomes\n\nBy the end of the worksh
 op\, participants will be able to:\n\n1. Explain quantisation as rounding 
 to a grid\, and choose a step size for a given set of weights.\n2. Quantis
 e an open model to 8\, 6 and 4 bits and measure memory\, perplexity\, ARC-
 Easy and tool calling at each.\n3. Read a weight distribution and predict 
 whether a precision will hold\, before paying for an evaluation run.\n4. D
 iagnose and fix the three common failures: weights rounding to zero\, outl
 iers that stretch the grid\, and a score that hides a broken model.\n5. Bu
 ild an evaluation that pairs a capability score with a liveness check\, an
 d use it as a go or no-go gate for a precision change.\n6. Take a table of
  memory\, score and call rate for their own model to whoever owns the GPU 
 budget.\n\n# Workshop contents: hands-on experiments\n\nEach experiment st
 arts with a prediction written down before anything runs\, and ends with a
  measured result.\n\n### 1. Shrink a real model and measure it\n\nWe quant
 ise the model to 16\, 8\, 6 and 4 bits with the quantiser built in the fir
 st block. The expectation: 8 bits costs almost nothing\, and below that sm
 all models fall off first. We find out whether that holds.\n\nWe measure: 
 memory\, WikiText perplexity\, ARC-Easy (60 questions) and tool calling on
  the BFCL wagon wheel at each precision. The wheel has nine spokes from th
 e Berkeley Function Calling Leaderboard: Irrelevance\, and Simple\, Multip
 le\, Parallel and Parallel Multiple\, each as AST and as Exec. We take 12 
 samples from each\, and every setting gets its own wheel. (The Exec spokes
  are matched against the correct call rather than executed.) Speed does no
 t change when we simulate a smaller model. Real speed comes from runtimes 
 that store and multiply the small integers directly.\n\nFor reference\, Qw
 en3 0.6B in the notebook with one scale per row (BFCL average out of 100\,
  ARC-Easy percentage\, perplexity):\n\n* 16 bits (the original): BFCL 79\,
  ARC 62\, perplexity 28.4\n* 8 bits: BFCL 78\, ARC 62\, perplexity 28.7\n*
  6 bits: BFCL 74\, ARC 57\, perplexity 29.7\n* 5 bits: BFCL 59\, ARC 63\, 
 perplexity 31.1\n* 4 bits: BFCL 11\, ARC 48\, perplexity 58.1\n\nThe cliff
  for this model sits between 6 and 5 bits\, and ARC and perplexity barely 
 show it. With a different way of choosing the step size it moves a long wa
 y: 8 bits with one scale per tensor already drops BFCL from 79 to 68.\n\n#
 ## 2. Break one: small weights round to zero\n\nWe quantise a wide layer a
 t 3 bits on a fixed grid. Wide layers have small weights\, and every one o
 f them lands in the bucket that rounds to zero. It looks like too few bits
 . The cause is where the grid sits.\n\nWe measure: the fraction of weights
  that became zero\, before and after fitting the grid to the weights.\n\n#
 ## 3. Break two: one big weight gets clipped\n\nA few weights sit about 20
  to 40 times further from zero than a typical weight\, and they are among 
 the most important in the layer. With one scale for the whole tensor\, the
  largest weight sets the step size for every other weight. The tempting fi
 x is to clip them. Clipping the top 0.01% of weights left ARC-Easy at 62 b
 ut cut the BFCL average from 79 to 36\, even at 16 bits\, where precision 
 is plainly not the problem.\n\nWe find which layers hold the outliers\, th
 en give every row its own scale\, so one big weight only stretches the gri
 d for its own row.\n\nWe measure: perplexity\, ARC-Easy and the wagon whee
 l before and after\, with one scale per tensor against one per row.\n\n###
  4. Break three: the score says fine\n\nWe compress too far and look at th
 e wheel. At 4 bits the model in the notebook scores 100 on Irrelevance and
  0 on every other spoke. Irrelevance only asks whether the model called no
 thing\, so a model that has stopped calling tools passes every case for fr
 ee\, and that 100 props the average up.\n\nWe measure: score and call rate
  side by side\, and build the check that refuses to ship a model when eith
 er one drops.\n\n# Session plan (3.5 hours)\n\n* **0:00** Setup check\, an
 d why memory decides what you can serve (20 min)\n* **0:20** Build the qua
 ntiser\, about twenty lines (35 min)\n* **0:55** Shrink a real model and m
 easure it (30 min)\n* **1:25** Break (15 min)\n* **1:40** The three breaks
 \, on purpose (45 min)\n* **2:25** Diagnose from the weights (30 min)\n* *
 *2:55** Build the eval\, score before and after (35 min)\n\nThe last block
  doubles as overflow. If earlier blocks run long\, the eval is demonstrate
 d instead of built together.\n\n**Joining late or falling behind:** each b
 lock opens with a one minute recap\, and the instructor and volunteers hel
 p anyone who needs to catch up.\n\n# Trade-offs we work through\n\n* **Mem
 ory against accuracy.** Each bit removed saves about 12% of weight memory.
  The first few are free\, the last few are not\, and where the cliff sits 
 depends on the model.\n* **Quantise after training\, or retrain.** Quantis
 ing a trained model takes minutes and needs no data. Training with quantis
 ation in the loop buys one or two more bits and costs a training run.\n* *
 *One scale or many.** A scale per tensor is the cheapest\, but one large w
 eight sets the step for the whole layer. A scale per row costs well under 
 1% more memory and\, in our run\, kept 8 and 6 bit models working where a 
 per-tensor scale did not.\n* **Cheap checks against full benchmarks.** Per
 plexity and ARC-Easy cost a small fraction of a tool-calling run and catch
  gross failures. At 5 bits perplexity moved by three points and ARC-Easy d
 id not move\, while the BFCL average fell from 79 to 59\, because neither 
 can tell you the output has stopped being a valid tool call.\n\n# What you
  take back to work\n\n* **A cost model for your own stack.** Memory and sc
 ore at each precision for the model you actually serve\, which turns a GPU
  purchase argument into a table.\n* **A go or no-go rule.** Inspect a chec
 kpoint and predict whether a precision will hold\, before paying for an ev
 aluation sweep.\n* **An eval that catches silence.** A capability metric w
 ith a liveness metric beside it\, useful for anything on your platform tha
 t can fail by going quiet.\n* **Fewer vendor numbers.** Open weights and o
 pen tooling on hardware you own\, with figures you measured yourself.\n\nI
 n the final minutes\, participants point the notebook at a model their own
  team serves and leave with its numbers.\n\n# Tooling & prerequisites\n\n*
 *Bring**\n\n* A laptop with a browser\, a Google account for Colab\, and h
 opefully stable wifi\n\n**Provisioned in the notebook**\n\n* Python 3.10 o
 r newer\, PyTorch\, Hugging Face Transformers\, NumPy\, Matplotlib\n* The 
 model checkpoint and three small datasets (BFCL\, ARC-Easy\, WikiText-2)\,
  downloaded in the setup cell\n\nThe notebook uses the free Colab T4 GPU (
 Runtime\, Change runtime type\, T4 GPU). No paid cloud account and nothing
  to install.\n\n# Before the workshop\n\nThe slides include a short primer
  on what a weight is\, what a token is\, and why a model that fits in memo
 ry is cheaper to serve. No maths beyond division. The notebook stays publi
 c afterwards.\n\n# Reference material\n\n* A Visual Guide to Quantization\
 , Maarten Grootendorst: https://newsletter.maartengrootendorst.com/p/a-vis
 ual-guide-to-quantization\n* Hugging Face Transformers\, quantization over
 view: https://huggingface.co/docs/transformers/main/en/quantization/overvi
 ew\n* LLM.int8()\, on outlier features in large models: https://arxiv.org/
 abs/2208.07339\n* SmoothQuant: https://arxiv.org/abs/2211.10438\n* GPTQ: h
 ttps://arxiv.org/abs/2210.17323\n* AWQ: https://arxiv.org/abs/2306.00978\n
 * Berkeley Function Calling Leaderboard: https://gorilla.cs.berkeley.edu/l
 eaderboard.html\n* llama.cpp\, for the GGUF quant types you see on model p
 ages: https://github.com/ggml-org/llama.cpp\n\n# About the instructor\n\nA
 losh Denny is an AI engineer and researcher from Kerala. He heads AI at Al
 eddo Technologies and runs LLMOps at Intensors\, and previously built agen
 tic security systems at Discern Security and Malayalam language models at 
 Eduport. Over the past year he has run close to 900 training and quantisat
 ion experiments on how few bits a language model needs\, and he designs op
 en source AI accelerator hardware. He has seven peer reviewed publications
  across IEEE and Springer\, and has spoken at IndiaFOSS and GHCI.\n\n## Ho
 w to attend this workshop\nThis workshop is open to Rootconf members: http
 s://hasgeek.com/rootconf#memberships and ticket holders of Rootconf 2026 A
 nnual Conference: https://hasgeek.com/rootconf/2026/#tickets\n\nThe worksh
 op is open to 30 in-person participants\, with hybrid access available for
  remote attendees. Seats for in-person participants will be available on a
  first-come\, first-served basis.\n\n## Contact information\nFor inquiries
  about the workshop\, contact +91-7676332020 or write to info@hasgeek.com
LAST-MODIFIED:20261122T090217Z
LOCATION:Bangalore - https://hasgeek.com/rootconf/quantization-workshop/
ORGANIZER;CN=Rootconf:MAILTO:no-reply@hasgeek.com
URL:https://hasgeek.com/rootconf/quantization-workshop/
BEGIN:VALARM
ACTION:display
DESCRIPTION:Break a model\, then fix it in 5 minutes
TRIGGER:-PT5M
END:VALARM
END:VEVENT
END:VCALENDAR
