Manuscript Offprint
arXiv:2609.05881Broken on Arrival: Silently Defective LLM Artifacts in Public Model Registries and How to Catch Them
Aditi Patodiya
Independent Researcher
Email: aditi.patodia31@gmail.com
Abstract—Developers increasingly run large language models locally by pulling quantized GGUF artifacts from public registries, yet nothing in the distribution pipeline functionally tests these conversions before they reach users. We executed 327 quantized code-capable model artifacts: 305 from the official Ollama library, spanning 15 model lines at every eligible quantization level at or under 8GB, and 22 from the most-downloaded community repositories on HuggingFace. Each ran a 15-task smoke suite calibrated so that healthy artifacts pass while a known-broken one fails; suspects then faced full 164-task evaluation, a second inference backend, an independent distributor's conversion of the same model and quantization as referee, and, for community files, re-testing under the template the artifact itself ships. The official library carries five silently defective artifacts, a batch of four Qwen2.5-Coder-3B conversions and one phi3.5-mini conversion, that solve zero of 164 tasks and zero of the smoke suite on both backends while independent conversions of the same models work: 1.6% of official artifacts, 2 of 29 model-and-size conversion groups. The adjudication chain matters in every direction. It cleared small-model artifacts that a naive threshold would condemn as broken when they are merely collapsed by extreme quantization, and it exposed two older community conversions that degrade badly on CUDA yet pass on Metal: not defective files but backend-dependent failures, a third phenomenon no registry currently tests for. Two confirmed defects produce output whose surface statistics sit inside the healthy range, invisible to any low-noise heuristic short of execution. We release the audit dataset, the quantcheck acceptance-testing tool, and disclosure reports for every confirmed defect (https://github.com/aditi-p31/quantcheck), and argue that model registries need the acceptance gate that package registries already run.
Index Terms—large language models, quantization, model registries, data veracity, supply chain, functional testing
I. INTRODUCTION
Millions of developers now pull quantized large language models from public registries and run them locally. The artifact that arrives is a conversion of the model its authors evaluated, usually to the GGUF format at 2 to 8 bits per weight, produced by registry operators or community volunteers, and no stage of this pipeline executes a single functional test before the file reaches users. What registries count is downloads.
That this gap matters is not hypothetical. In April 2024 a llama.cpp maintainer discovered that the pre-tokenization applied by every BPE-based GGUF conversion to that date was, in the maintainer's words, wrong in almost all cases, silently degrading a whole generation of distributed artifacts [1]; the defect propagated into curated registries [2]. A recent controlled measurement of one model family found an official controlled measurement of one model family found an official registry artifact that streams fluent text at normal speed while solving almost none of the programming tasks its 4-bit sibling solves at two-thirds [3]. Model reuse studies report systematic discrepancies between claimed and actual behavior of hub-distributed models [4], and quantization research shows aggregate metrics hide exactly this kind of damage [5], [6]. What nobody has established is how common silently defective artifacts actually are.
This paper measures that. We conduct a functional census of 327 quantized code-capable LLM artifacts: 305 from the official Ollama library, covering essentially every eligible instruct variant at or under 8GB across 15 registry model lines, plus 22 conversions from the most-downloaded community GGUF repositories on HuggingFace, over a terabyte of artifacts in total. Each artifact runs a 15-task functional smoke suite calibrated so that, on ground truth from 24 fully benchmarked configurations of one model family, every healthy configuration passes all 15 tasks while a known-defective artifact passes none. A low score alone convicts nobody here. Before an artifact is called defective it must fail the complete 164-task suite, fail on a second inference backend, and fail where an independent distributor's conversion of the same model and quantization succeeds, a chain of evidence that separates a broken file from a limitation of the model or the precision.
Four questions structure the study. RQ1: how many distributed artifacts are silently defective, and where? RQ2: can lightweight output statistics detect defects without executing tests? RQ3: how do the two distribution channels compare, and through what mechanisms do failures arise? RQ4: does a calibrated fifteen-task screen hold up prospectively as an acceptance test? Framed in Big Data terms, the study treats model artifacts as first-class data objects whose veracity dimension registries currently measure by download count alone.
This paper makes five contributions. First, to our knowledge it is the first ecosystem-scale functional census of distributed quantized LLM artifacts, executing hundreds of third-party conversions rather than inspecting their metadata. Second, it finds five confirmed silent defects in the official channel and establishes a lower-bound prevalence with confidence intervals. Third, its adjudication chain separates three phenomena a naive threshold conflates: genuine distribution defects, capability collapse of small models at low precision,
This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.
and backend-dependent failures, artifacts that work on one inference stack and fail on another. Fourth, it shows that surface statistics cannot substitute for execution, because one defect class produces statistically normal output. Fifth, it releases the quantcheck acceptance-testing tool, the full audit dataset with every transcript, and a disclosure report for every confirmed defect.
A. The quantized artifact supply chain
An LLM reaches a local user through a pipeline the research community has begun to call the LLM supply chain [7]: training, release, conversion, and distribution, each stage run by different actors. Quantization itself is well studied as a method, from Hessian-based weight quantization [8] to outlier-aware 8-bit inference [9], but for local deployment the dominant last mile is the GGUF format [10], produced from released checkpoints by registry operators or community volunteers and served through llama.cpp-based runtimes. The population downstream of this pipeline is large and exposed. A 2025 internet-wide measurement found over 320,000 publicly reachable self-hosted LLM services, with Ollama alone answering more than a third of unauthenticated probes [11]. Security research has begun to treat model hubs as a threat surface. Jiang et al. derived threat models for the pre-trained model supply chain and judged existing hub defenses insufficient [12]; the MalHug study scanned 705K Hugging Face models and found 91 carrying malicious payloads [13]; serialization-level exploits have been demonstrated at scale [14]. This line of work targets deliberately malicious artifacts. Accidentally broken ones, which reach far more users, have not been measured, and GGUF's serialization safety does not imply conversion correctness.
B. Trust and quality on model hubs
Mining studies of Hugging Face document how model reuse actually works. Practitioners struggle with missing attributes and with discrepancies between claimed and actual performance [4], while artifact names carry most of the provenance signal and still mislead [15]. Large fractions of uploaded models are effectively unmaintained [16], so a conversion-era bug can persist indefinitely, and the users least equipped to diagnose one get the least guidance [17]. All of these studies characterize artifacts through their metadata. None executes them. The Big Data quality literature supplies the missing vocabulary: veracity as a first-class quality dimension [18], and the observation that undervalued data plumbing produces compounding downstream harm [19]. Its tooling surveys catalogue quality dimensions and instruments for datasets [20], with no analogue for the model artifacts that datasets produce. Registries today measure volume, downloads and uploads, while nobody measures whether the bytes behave.
C. Package registries had this problem first
The software supply-chain community has taxonomized 107 attack vectors over package ecosystems [21], measured weak links across 1.63M npm packages [22], and shown that unguarded registries reliably deliver bad artifacts to end users through normal installation flows [23]. The remedies that followed, registry-side checks and continuous integration, are standard practice for code packages. Model registries occupy the same structural position with none of the gates. Our study transposes both the measurement method (ecosystem-scale prevalence with defined risk signals) and the remedy (an inexpensive acceptance test at publication time) from packages to model artifacts.
D. Quantization failures and testing ML artifacts
Quantization research defines what well-executed compression should look like across model families and abilities [24], and it also supplies our motivation twice over. Dutta et al. show that compressed models matching aggregate accuracy still flip a large fraction of individual answers [5], and Marchisio et al. find that automatic metrics severely underestimate real quantization damage [6]. The fp16-to-quantized behavioral gap can even be weaponized adversarially, first against generic quantization [25] and recently against GGUF itself [26]. Closest in spirit, Husom et al. profile 28 quantized Ollama models on a Raspberry Pi for energy, latency, and benchmark accuracy, including HumanEval [27]; theirs is an efficiency characterization of one device with no notion of artifact defect, no adjudication against reference conversions, and no registry-level sampling frame, which is precisely the layer this census adds. The published work closest to ours evaluates llama.cpp quantization formats on a single model converted in-house under ideal conditions [28]. Distribution reality is messier: llama.cpp's maintainers discovered in 2024 that every BPE-based GGUF converted to that date used pre-tokenization that was wrong in almost all cases [1], and the defect propagated into the curated Ollama library before being caught [2]. On the testing side, behavioral testing [29], ML smoke testing [30], and miniaturized benchmarks [31] together establish that small, cheap, capability-oriented test suites can catch severe defects and estimate performance reliably. A separate line of work studies faults in deep learning model conversion itself: converting trained models to ONNX or CoreML measurably changes behavior [32], converter failures can be localized to specific conversion stages [33], and an analysis of 200 ONNX converter issues found roughly a third produced semantically incorrect models [34]. That literature examines first-party conversions under the researcher's control. Nobody has turned the same question on the conversions users actually download. To our knowledge no prior work executes distributed quantized artifacts at ecosystem scale and asks how many are silently broken; this census does exactly that.
III. CENSUS DESIGN
A. Sampling frame
The frame covers two distribution channels. For the official Ollama library we enumerated every instruct, code-capable tag with an explicit quantization suffix and a file size of at most 8 GB, which yields 305 artifacts across 15 registry model lines;
this is a census of the eligible population rather than a sample. For community distribution we selected the most-downloaded GGUF conversion repositories on HuggingFace and drew 22 representative files. The inventory was frozen, with pull dates recorded, before any testing.
B. A calibrated functional smoke suite
Full benchmark evaluation of hundreds of artifacts is unnecessary for detecting broken ones, and the quantization schemes under test are the standard GGUF k-quants [10] applied to instruction-tuned code models [35]. From prior ground truth (24 configurations of one family, each evaluated on 542 EvalPlus [36] tasks), we identified the 39 HumanEval+ [37], [36] tasks solved by every healthy configuration, including the weakest 0.5B 3-bit model, and selected the first 15 by task identifier. On this calibration set the suite separates perfectly: every healthy configuration passes 15 of 15, the known-defective artifact passes 0 of 15. The calibration family is Qwen2.5-Coder and the known defect is its 3B q3_K_M build, so the suite's separation properties are demonstrated on that family and prospectively tested on the other twelve; we flag below which census findings this calibration already anticipated. Screening then proceeds in two stages with fixed constants. Stage one flags any artifact passing fewer than 9 of 15 suite tasks; on the census this flags 50 of 305 official artifacts (16.4%). Stage two compares each flagged artifact against the median smoke score of its own model and size at high precision (q6_K, q8_0, fp16). Scores at or above 60% of that baseline are healthy. Scores at or below 2 of 15 from a family whose baseline is at least 8 become defect suspects, while low scores from families that are weak even at high precision are recorded as capability collapse rather than defects. The seven resulting suspects receive full 164-task evaluation, backend replication, referee comparison, and manual transcript inspection before any defect label is applied. The suite is deliberately easy: it certifies basic functional competence, not capability, in the way a smoke test certifies that software starts.
C. Measurement protocol
The audit runs on two hardware backends. The bulk sweep executes on a Linux server with an RTX 4090 (CUDA), pulling each artifact from its registry, running the smoke suite, extracting output statistics, and deleting the artifact before the next pull; disk usage stays bounded while total network churn exceeds a terabyte. Every confirmed defect is replicated on a consumer Apple-Silicon laptop (Metal backend), and a defect claim requires the same verdict on both, which rules out GPU-kernel interactions; when the backends disagree, the artifact is recorded as a backend-dependent failure, not a defect. Both backends share one pinned Ollama release (v0.32.6, llama.cpp core), recorded in the released harness, so defects specific to other runtime versions remain out of scope. Decoding is greedy with a fixed seed, 2,048-token context, and at most 768 new tokens; on this stack outputs reproduce byte-for-byte across runs. Generations are scored with EvalPlus against its plus-strengthened test suites [36], which add roughly eighty times the tests of the original benchmark [37], and all transcripts are archived in the released dataset. Alongside execution results we record four cheap output statistics per generation: the largest repeated 6-gram share, the fraction of prompt lines echoed verbatim, the fraction of generations hitting the token cap, and the presence of a function definition. These features power the detector analysis of RQ2. Community HuggingFace artifacts run through the same pipeline, with the chat template copied verbatim from the corresponding official registry entry so that template choice cannot differ between channels. For every defect suspect we additionally test an independent distributor's conversion of the same model at the same quantization level, or at the nearest available level when the exact one is not published. A suspect is confirmed defective only when it scores at or under 2 of 15 while the referee reaches at least 5 of 15 and exceeds the suspect by at least 4 tasks; when the referee fails comparably, the verdict is capability collapse instead. One referee measurement can serve adjacent quantization levels of the same model, which Table II marks explicitly. Two further controls address the obvious harness objections. Community artifacts are re-run under whatever template their own file embeds, so that a defect verdict never rests on a template we chose. And because full evaluation is triggered only by a flag, we separately evaluate a random sample of unflagged artifacts on tasks held out of the suite, which is the only way to observe what the screen would have missed.
D. Defect handling
For every artifact labeled defective we prepare a disclosure report with reproduction instructions and transcripts; the reports accompany the released dataset and registry issues are filed with the affected distributors, with links added to the dataset as they go live.
IV. RESULTS
The census covers 305 code-capable instruct artifacts from the official Ollama library across 15 registry model lines, spanning every eligible quantization level at or under 8GB, plus 22 community conversions and seven cross-distributor referee artifacts. The family-relative classifier assigns each official artifact to a state against its own family's high-precision baseline (Table I); most are healthy, and that background of health is what lets the failures read as defects rather than noise.
A. RQ1: how many artifacts are silently defective
Seven official artifacts from capable families score at or near zero on a suite their siblings pass comfortably. A low score alone is not a defect verdict, so each suspect faces a full 164-task evaluation, a second backend, and a cross-distributor referee. Five are confirmed defective (Table II). The four Qwen2.5-Coder-3B artifacts solve 0 of 164 tasks while independent conversions of the identical model and quantization level solve 8 to 14 of 15 smoke tasks at the same or nearest quantization level; the four span a contiguous
TABLE I
CLASSIFICATION OF THE 305 OFFICIAL-LIBRARY ARTIFACTS AGAINST PER-FAMILY HIGH-PRECISION BASELINES. NO-BASELINE DENOTES FAMILIES WHOSE REFERENCE BUILDS EXCEED THE 8 GB FRAME; THESE ARE ADJUDICATED BY REFEREE AND FULL-RUN INSTEAD.
| State | Count |
|---|---|
| Healthy (pass rate ≥ 60% of family baseline) | 271 |
| Degraded (20-60%) | 3 |
| Collapsed (weak/small family, < 20%) | 6 |
| Defect suspect (≤ 2/15, capable family) | 7 |
| No in-frame baseline | 18 |
TABLE II
CONFIRMED DEFECTIVE OFFICIAL-LIBRARY ARTIFACTS. EVERY ROW FAILS IDENTICALLY ON THE CUDA AND METAL BACKENDS. FULL = PASS@1 OVER ALL 164 HUMANÉVAL+ TASKS; REFEREE = AN INDEPENDENT DISTRIBUTOR'S CONVERSION OF THE SAME MODEL AT THE SAME (OR NEAREST LOW-BIT) QUANTIZATION ON THE 15-TASK SUITE.
| Artifact | Smoke | Full-164 | Referee |
|---|---|---|---|
| Official (Ollama library) | |||
| qwen2.5-coder:3b q2_K | 0/15 | 0/164 | 14/15 |
| qwen2.5-coder:3b q3_K_S | 0/15 | 0/164 | 8/15 |
| qwen2.5-coder:3b q3_K_M | 0/15 | 0/164 | 8/15 |
| qwen2.5-coder:3b q3_K_L | 0/15 | 0/164 | 8/15 |
| phi3.5-mini q2_K | 0/15 | 0/164 | 6/15 |
nearest available independent low-bit conversion.
run of low-bit levels from a single model and size, a pattern consistent with one bad conversion batch. The phi3.5-mini q2_K artifact is a separate, isolated case: 0 of 164 where an independent q2_K conversion scores 6 of 15. One of the four batch artifacts, the q3_K_M build, is the defect that was known beforehand and used to calibrate the suite (Section III-B); its three batch siblings and everything else reported here are new discoveries of this census. Figure 1 shows the whole census at a glance and makes the two phenomena visually separable. As census facts, 5 of 305 official artifacts (1.6%) are defective. Among the 281 artifacts outside the 24-configuration calibration study, 4 are (1.4%). Counted as defect events rather than files, 2 of the 29 model-and-size conversion groups carry an incident, one batch and one singleton (6.9%; Wilson 95% CI 1.9% to 22.0%). Read as a draw from the underlying conversion process, a Wilson interval on the artifact rate spans 0.7% to 3.8%; the exposure figure for a user pulling artifacts is the per-artifact rate, while the incident rate is the inferential one, and the batch structure means per-artifact counts overstate independent failures.
The remaining two suspects are instructive. The llama3.2-1B artifacts at 2- and 3-bit score near zero, but independent conversions at the same levels fail just as badly (0 and 3 of 15). The failure travels with the model and precision, not the distributor, so these are capability collapse of a one-billion-parameter model at extreme compression, not distribution defects. Without the referee they would read as defects; the cross-distributor comparison is what tells the two apart.

Fig. 1. Functional smoke score (out of 15) for every official-library artifact, by model and quantization level. Grey cells are tags the library does not offer at or under 8GB: newer lines such as gamma3 ship only a handful of quantization tags, and for the largest models only the low-bit files fit the size frame. The failure modes are visually distinct: the qwen2.5-coder:3b row drops to zero across four adjacent low-bit levels and returns to full health at 4-bit (a conversion defect); llama3.2:1b declines smoothly toward low precision (capability collapse); deepseek-coder:1.3b sits near the floor at every level including fp16 (a weak model, not a defect); and the phi3.5:3.8b q2_K cell is an isolated zero.
B. RQ2: what defects look like, and whether cheap signals catch them
The confirmed failures split into distinct signatures: runaway generation that fills the entire token budget (the Qwen-3B q2_K artifact hits the cap on every task), repetitive degeneration that loops short non-code fragments, and a quieter mode that re-types the problem statement in fluent, well-formed prose and never writes a body. We evaluate whether the four recorded signals can flag the five official defects without execution, using the 300 non-defective official artifacts as negatives. Truncation fraction at a 0.2 threshold catches 2 of 5 with 11 false positives; repeated-6-gram share at 0.2 catches 3 of 5 with 4 false positives; prompt-echo fraction and missing-function-definition rate are useless at any threshold, firing on most healthy chatty models before catching a single additional defect. The best low-noise rule we found, truncation at or above 0.3 or repetition share at or above 0.3, catches 3 of 5 at a 2.3% false-positive rate. The remaining two, the Qwen-3B q3_K_M and q3_K_L artifacts, sit at the 94th percentile of healthy repetition share and at or below the 3rd percentile on every other signal. They are close enough to normal that any threshold catching them also fires on at least 6% of healthy artifacts. Signals are a useful pre-filter for the noisy failure modes, and they cannot replace running the code.
C. RQ3: channels, and a backend surprise
The five confirmed defects all live in the official library, and there they cluster: four of the five share one model and size across adjacent low-bit levels, the signature of a single bad conversion run rather than independent failures. The community channel came out cleaner than we expected, 20 of 22 sampled conversions healthy, and the two exceptions turned into the strangest finding of the census. TheBloke's deepseek-coder-6.7B at q3_K_M and q4_K_M score 5 and 6 of 15 on our CUDA server, against the 13 of 15 that Ollama's conversion of the identical model and quantization achieves. Had we stopped there, the census would have recorded two badly degraded community conversions and drawn the wrong lesson about the channel. The prespecified second-backend replication said otherwise: on Apple Metal, under the same runtime release and the same supplied template, the same two files score 13 of 15 and 15 of 15. A defective file should fail everywhere. What the pair exhibits is backend-dependent failure: the same file works on one inference stack and quietly loses most of its capability on another.
Two controls sharpen the picture. The files embed no prompt template, so the runtime, asked to use the native template, falls back to the raw prompt; on CUDA in that condition 87% and 94% of generations run to the token cap and the pair scores 6 and 4 of 15 (22 and 16 of the full 164 tasks). No choice of prompting rescues the CUDA side, and the missing template is a real gap in what the file publishes about itself. Both files were published months before the llama.cpp BPE pre-tokenization fix [1], [2], but a defect confined to the stored tensors should degrade both backends alike; the Metal pass points instead at an interaction between these older files and one backend's execution path. We do not claim the mechanism, and an alternative reading stays open, a nonconforming file that one backend's path happens to tolerate; even on that reading the pair does not meet our fails-everywhere bar for a distribution defect. What we can say is that the artifact alone does not determine what a user gets. The same file, same runtime version, and same prompt yield a healthy coder on a MacBook and a mostly useless one on a CUDA box, a failure mode no registry page, model card, or single-stack benchmark currently surfaces.
D. RQ4: does the fifteen-task screen hold up
The 15-task suite was calibrated on one family; its behavior on 304 unseen artifacts is the real test. Every artifact confirmed defective by the full 164-task evaluation had been flagged by the screen, and the screen's mistakes all fell on the safe side: it over-triggered on weak small models, which the family-relative second stage then resolved to capability collapse and the cross-distributor referee settled in the hardest cases.
Because full evaluation was only applied to flagged artifacts, the census by itself cannot bound the screen's miss rate, so we additionally evaluated a stratified random sample of ten unflagged artifacts on 49 tasks held out of the suite. All ten solve between 22% and 59% of those tasks (median 44%), none resembling the 0 of 164 that every confirmed defect scores, so the sample contains no missed defect. With ten artifacts the resulting bound is loose, a Wilson 95% interval on the miss rate of 0% to 27.8%, and we report it as such rather than as a strong sensitivity claim. The two-stage design, a quick screen followed by baseline-relative and cross-distributor adjudication, keeps per-artifact acceptance testing affordable without losing precision. Screening inference for one artifact takes 12 seconds to 7 minutes on a commodity GPU (median 30 seconds; the slow tail is runaway defects filling the token budget), excluding download time, and this pipeline is what quantcheck packages.
E. A day-zero vignette
To probe the freshest slice of the ecosystem, we tried community GGUF conversions of a 30B open-weight model released three days before our run. Of the five attempted, four failed to parse in the pinned stable runtime, the architecture having outrun runtime support, and the fifth could not be retrieved. We report this as an observation rather than a defect count, since a load error is a visible failure and arguably a runtime support gap, but it shows the same structural problem from the opposite direction: conversions reach users before any pipeline exists that could validate them.
V. Discussion
For registries. The census demonstrates that a curated model registry can carry functionally dead artifacts for months with no signal reaching users. The remedy is neither novel nor expensive. Screening one artifact takes seconds to minutes of commodity GPU time, on the order of a cent at cloud spot prices, and the package-registry world has run far heavier checks at publication time for a decade [21], [22]. A registry that runs fifteen easy tasks before publishing a conversion would have caught every defect we found. Until registries do, the check has to run on the consumer side, and quantcheck exists to make that a one-command habit.
For practitioners. Three habits follow from the data. First, functionally test any artifact you download, especially low-bit variants of small models, where genuine capability collapse and conversion defects live in the same score range. Second, test on the stack you will deploy on, because the deepseek pair shows the same file can be healthy on Metal and crippled on CUDA, and a benchmark number measured on someone else's hardware silently assumes the interaction away. Third, do not trust fluency: the most deceptive defect class we found produces confident, well-structured, wrong output whose surface statistics sit inside the healthy range, and only running the code exposed it.
For evaluation research. The distribution layer deserves the scrutiny the training layer already gets. Our detector analysis
(RQ2) shows output statistics alone miss the fluent-but-wrong defect class entirely while over-flagging healthy models; execution is the only reliable discriminator. Given tinyBenchmarkstyle suite compression [31] and the calibration approach used here, per-artifact acceptance testing is light enough to run at ecosystem scale, and we release everything needed to reproduce or extend the census.
VI. THREATS TO VALIDITY
Construct. The smoke suite tests Python code generation only. An artifact broken for other uses can still pass a code suite, so defects invisible to code tasks escape us entirely and our prevalence figures are lower bounds on functional defects overall. Suite tasks are deliberately easy, which is what lets them separate breakage from weakness, but a subtler defect that degrades quality without collapsing it would evade the screen. Internal. Verdicts could in principle reflect our harness rather than the artifacts. Four controls argue otherwise: healthy siblings run under the identical pipeline; generations are deterministic within each backend; registry templates were inspected directly; and independent distributors' conversions of the same models serve as referees. Every confirmed defect fails identically on both the CUDA and Metal stacks, and the only cross-stack disagreements, two files from a single community repository, were recorded as backend-dependent failures rather than as defects. Both backends share one pinned llama.cpp-based release, so a defect that only manifests under this runtime version would be indistinguishable from a broken file, a limitation we accept because this stack is what the artifact's users overwhelmingly run. External. The census covers one registry's code-capable instruct artifacts at or under 8 GB plus a small popularity-weighted community sample, a scope the reader should carry to every prevalence figure; prevalence may differ for chat models, larger artifacts, or other registries. All runs use one pinned llama.cpp-based runtime; defects specific to other runtimes are invisible to us. A defect verdict here is a property of the file under that runtime, and deliberately not of any single hardware backend: the dual-backend rule exists so that no one GPU stack decides what counts as broken.
VII. CONCLUSION
We executed a functional census of the quantized LLM artifact ecosystem: 327 artifacts across 15 registry model lines and two distribution channels, tested with a 15-task calibrated smoke suite, with every defect verdict earned against family baselines, a second backend, and an independent distributor's conversion of the same models. We confirmed five silent functional defects, all in the official library (1.6% of its artifacts), and showed that superficially similar low-bit failures of small models are capability collapse rather than defects. The census also surfaced two community conversions that fail on one backend while passing on the other, behavior that would have been misattributed to the files themselves without the dual-backend rule. The failures fall into distinct classes with distinct signatures, and the most dangerous class is invisible to everything except execution. Model registries occupy the position package registries held before continuous integration became standard, and the fix costs minutes per artifact. We release the quantcheck tool, the full audit dataset with every transcript, and reports filed for every confirmed defect.
ACKNOWLEDGMENT
AI assistance (Claude, Anthropic) was used throughout the preparation of this paper. The author designed the study, verified all reported results against the raw data and primary sources, and takes full responsibility for the content.
DATA AVAILABILITY
The audit dataset (per-artifact transcripts, signature features, verdicts, and scoring outputs), the quantcheck tool, and all harness and analysis code are publicly available at https://github.com/aditi-p31/quantcheck. An archival DOI will accompany publication.
REFERENCES
[1] G. Gerganov et al., “llama : improve BPE pre-processing + LLaMa 3 and Deepseek support,” llama.cpp pull request #6920, merged 2024-04-29, https://github.com/ggml-org/llama.cpp/pull/6920, 2024.
[2] sealad886 et al., “Some Ollama models apparently affected by llama.cpp BPE pretokenization issue,” Ollama GitHub issue #4126, opened 2024-05-03, https://github.com/ollama/ollama/issues/4126, 2024.
[3] A. Patodiya, “Four bits are enough: An empirical study of quantized code LLMs on consumer hardware,” in Proc. SAI Computing Conference, 2027, to appear.
[4] W. Jiang, N. Synovic, M. Hyatt, T. R. Schorlemmer, R. Sethi, Y.-H. Lu, G. K. Thiruvathukal, and J. C. Davis, “An empirical study of pre-trained model reuse in the Hugging Face deep learning model registry,” in Proc. ICSE, 2023, arXiv:2303.02552.
[5] A. Dutta, S. Krishnan, N. Kwatra, and R. Ramjee, “Accuracy is not all you need,” in Proc. NeurIPS, 2024, arXiv:2407.09141.
[6] K. Marchisio, S. Dash, H. Chen, D. Aumiller, A. Üstün, S. Hooker, and S. Ruder, “How does quantization affect multilingual LLMs?” in Findings of EMNLP, 2024, arXiv:2407.03211.
[7] S. Wang, Y. Zhao, X. Hou, and H. Wang, “Large language model supply chain: A research agenda,” ACM Transactions on Software Engineering and Methodology, 2024, arXiv:2404.12736.
[8] E. Frantar, S. Ashkboos, T. Hoefler, and D. Alistarh, “GPTQ: Accurate post-training quantization for generative pre-trained transformers,” in Proc. ICLR, 2023, arXiv:2210.17323.
[9] T. Dettmers, M. Lewis, Y. Belkada, and L. Zettlemoyer, “LLM.int8(): 8-bit matrix multiplication for transformers at scale,” in Proc. NeurIPS, 2022, arXiv:2208.07339.
[10] I. Kawrakow, “k-quants,” llama.cpp pull request #1684, https://github.com/ggml-org/llama.cpp/pull/1684, 2023.
[11] X. Hou, J. Han, Y. Zhao, and H. Wang, “Unveiling the landscape of LLM deployment in the wild: An empirical study,” arXiv:2505.02502, 2025.
[12] W. Jiang, N. Synovic, R. Sethi, A. Indarapu, M. Hyatt, T. R. Schorlemmer, G. K. Thiruvathukal, and J. C. Davis, “An empirical study of artifacts and security risks in the pre-trained model supply chain,” in Proc. ACM Workshop on Software Supply Chain Offensive Research and Ecosystem Defenses (SCORED), 2022.
[13] J. Zhao, S. Wang, Y. Zhao, X. Hou, K. Wang, P. Gao, Y. Zhang, C. Wei, and H. Wang, “Models are codes: Towards measuring malicious code poisoning attacks on pre-trained model hubs,” in Proc. ASE, 2024, arXiv:2409.09368.
[14] B. Casey, J. C. S. Santos, and M. Mirakhorli, “A large-scale exploit instrumentation study of AI/ML supply chain attacks in Hugging Face models,” arXiv:2410.04490, 2024.
[15] W. Jiang, M. Kim, C. Cheung, H. Kim, G. K. Thiruvathukal, and J. C. Davis, “I see models being a whole other thing”: An empirical study of pre-trained model naming conventions and a tool for enhancing naming consistency,” Empirical Software Engineering, vol. 30, p. 155, 2025, arXiv:2310.01642.
[16] J. Castaño, S. Martínez-Fernández, X. Franch, and J. Bogner, “Analyzing the evolution and maintenance of ML models on Hugging Face,” in Proc. MSR, 2024, arXiv:2311.13380.
[17] M. Taraghi, G. Dorcelus, A. Foundjem, F. Tambon, and F. Khomh, “Deep learning model reuse in the HuggingFace community: Challenges, benefit and trends,” in Proc. SANER, 2024, arXiv:2401.13177.
[18] L. Cai and Y. Zhu, “The challenges of data quality and data quality assessment in the big data era,” Data Science Journal, vol. 14, p. 2, 2015.
[19] N. Sambasivan, S. Kapania, H. Highfill, D. Akrong, P. K. Paritosh, and L. M. Aroyo, “Everyone wants to do the model work, not the data work”: Data cascades in high-stakes AI,” in Proc. CHI, 2021.
[20] Y. Zhou, F. Tu, K. Sha, J. Ding, and H. Chen, “A survey on data quality dimensions and tools for machine learning,” in Proc. IEEE AITest, 2024, arXiv:2406.19614.
[21] P. Ladisa, H. Plate, M. Martinez, and O. Barais, “SoK: Taxonomy of attacks on open-source software supply chains,” in Proc. IEEE S&P, 2023, pp. 1509–1526, arXiv:2204.04008.
[22] N. Zahan, T. Zimmermann, P. Godefroid, B. Murphy, C. Maddila, and L. Williams, “What are weak links in the npm supply chain?” in Proc. ICSE-SEIP, 2022, arXiv:2112.10165.
[23] W. Guo, Z. Xu, C. Liu, C. Huang, Y. Fang, and Y. Liu, “An empirical study of malicious code in PyPI ecosystem,” in Proc. ASE, 2023, arXiv:2309.11021.
[24] S. Li, X. Ning, L. Wang, T. Liu, X. Shi, S. Yan, G. Dai, H. Yang, and Y. Wang, “Evaluating quantized large language models,” in Proc. ICML, 2024, arXiv:2402.18158.
[25] K. Egashira, M. Vero, R. Staab, J. He, and M. Vechev, “Exploiting LLM quantization,” arXiv:2405.18137, 2024.
[26] K. Egashira, R. Staab, M. Vero, J. He, and M. Vechev, “Mind the gap: A practical attack on GGUF quantization,” in Proc. ICML, 2025, arXiv:2505.23786.
[27] E. J. Husom, A. Goknil, M. Astekin, L. K. Shar et al., “Sustainable LLM inference for edge AI: Evaluating quantized LLMs for energy efficiency, output accuracy, and inference latency,” arXiv:2504.03360, 2025.
[28] U. Kurt, “Which quantization should I use? a unified evaluation of llama.cpp quantization on Llama-3.1-8B-Instruct,” arXiv:2601.14277, 2026.
[29] M. T. Ribeiro, T. Wu, C. Guestrin, and S. Singh, “Beyond accuracy: Behavioral testing of NLP models with CheckList,” in Proc. ACL, 2020, arXiv:2005.04118.
[30] S. Herbold and T. Haar, “Smoke testing for machine learning: simple tests to discover severe bugs,” Empirical Software Engineering, vol. 27, 2022, arXiv:2009.01521.
[31] F. Maia Polo, L. Weber, L. Choshen, Y. Sun, G. Xu, and M. Yurochkin, “tinyBenchmarks: evaluating LLMs with fewer examples,” in Proc. ICML, 2024, arXiv:2402.14992.
[32] M. Openja, A. Nikanjam, A. Haj Yahmed, F. Khomh, and Z. M. J. Jiang, “An empirical study of challenges in converting deep learning models,” in Proc. ICSME, 2022, arXiv:2206.14322.
[33] N. Louloudakis, P. Gibson, J. Cano, and A. Rajan, “Fault localization for buggy deep learning framework conversions in image recognition,” in Proc. ASE, 2023, arXiv:2306.06157.
[34] P. Jajal, W. Jiang, A. Tewari, E. Kocinare, J. Woo, A. Sarraf, Y.-H. Lu, G. K. Thiruvathukal, and J. C. Davis, “Interoperability in deep learning: A user survey and failure analysis of ONNX model converters,” in Proc. ISSTA, 2024, arXiv:2303.17708.
[35] B. Hui, J. Yang, Z. Cui, J. Yang et al., “Qwen2.5-Coder technical report,” arXiv:2409.12186, 2024.
[36] J. Liu, C. S. Xia, Y. Wang, and L. Zhang, “Is your code generated by ChatGPT really correct? rigorous evaluation of large language models for code generation,” in Proc. NeurIPS, 2023, arXiv:2305.01210.
[37] M. Chen, J. Tworek, H. Jun, Q. Yuan et al., “Evaluating large language models trained on code,” arXiv:2107.03374, 2021.