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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LLAMA CPP
|
| 2 |
+
|
| 3 |
+
   
|
| 4 |
+
|
| 5 |
+
> Anticloud-hardened packaging of the upstream project `LLAMA_CPP` in category **CHIP QUANTIZATION**. Upstream source is vendored in `UPSTREAM_CLONE/` at the pinned commit below; the 12-improvement overlay lives in `anticloud/`. Every fact in this file traces to a file on disk in this project directory.
|
| 6 |
+
|
| 7 |
+
**Category:** CHIP QUANTIZATION · **Upstream:** https://github.com/ggml-org/llama.cpp · **Upstream pin:** `71ad0590f4808b6202f9213d166913858c73b1bc` · **Vendor:** Anticloud FZ LLE
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
## What This Project Does
|
| 12 |
+
|
| 13 |
+
# llama.cpp
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
|
| 17 |
+
<div align="center">
|
| 18 |
+
|
| 19 |
+
<b>LLM inference in C/C++</b>
|
| 20 |
+
|
| 21 |
+
[](https://opensource.org/licenses/MIT)
|
| 22 |
+
[](https://github.com/ggml-org/llama.cpp/releases?q=tag:v0)
|
| 23 |
+
[](https://github.com/ggml-org/llama.cpp/releases?q=b)
|
| 24 |
+
[](https://github.com/ggml-org/llama.cpp/actions/workflows/server.yml)
|
| 25 |
+
[](https://github.com/ggml-org/llama.cpp/actions/workflows/docker.yml)
|
| 26 |
+
[](https://github.com/ggml-org/llama.cpp/actions/workflows/winget.yml)
|
| 27 |
+
|
| 28 |
+
[ggml](https://github.com/ggml-org/ggml) / [ops](https://github.com/ggml-org/llama.cpp/blob/master/docs/ops.md) / [maintainer PRs](https://github.com/ggml-org/llama.cpp/issues?q=is%3Apr%20is%3Aopen%20draft%3AFalse%20(author%3Argerganov%20OR%20author%3AKitaitiMakoto%20OR%20author%3Adanbev%20OR%20author%3Aaldehir%20OR%20author%3Amax-krasnyansky%20OR%20author%3ACISC%20OR%20author%3Aggerganov%20OR%20author%3Aam17an%20OR%20author%3Ajhen0409%20OR%20author%3Abartowski1182%20OR%20author%3Anikwen%20OR%20author%3Ahipudding%20OR%20author%3Aravi9%20OR%20author%3AServeurpersoCom%20OR%20author%3Apwilkin%20OR%20author%3Areeselevine%20OR%20author%3Angxson%20OR%20author%3Ajeffbolznv%20OR%20author%3Amarty1885%20OR%20author%3A0cc4m%20OR%20author%3ATitaniumtown%20OR%20author%3Aangt%20OR%20author%3AIMbackK%20OR%20author%3Aarthw%20OR%20author%3AJohannesGaessler%20OR%20author%3AORippler%20OR%20author%3Aruixiang63%20OR%20author%3Axctan%20OR%20author%3Aallozaur%20OR%20author%3Ayomaytk%20OR%20author%3Aaendk%20OR%20author%3Awine99%20OR%20author%3Agaugarg-nv%20OR%20author%3Ataronaeo%20OR%20author%3Aforforever73%20OR%20author%3Alhez%20OR%20author%3Anetrunnereve%20OR%20author%3Afairydreaming)%20sort%3Aupdated-desc) / [dev stats](https://github.com/ggml-org/llama.cpp-dev) / [lib llama API](https://github.com/ggml-org/llama.cpp/issues/9289) / [llama-server REST API](https://github.com/ggml-org/llama.cpp/issues/9291)
|
| 29 |
+
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
## Quick start
|
| 33 |
+
|
| 34 |
+
A few options to get `llama.cpp` installed on your machine:
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
# curl
|
| 38 |
+
curl -LsSf https://llama.app/install.sh | sh
|
| 39 |
+
|
| 40 |
+
# powershell
|
| 41 |
+
irm https://llama.app/install.ps1 | iex
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
- Visit https://llama.app and follow the instructions
|
| 45 |
+
- Run with Docker - see our [Docker documentation](docs/docker.md)
|
| 46 |
+
- Download pre-built binaries from the [releases page](https://github.com/ggml-org/llama.cpp/releases)
|
| 47 |
+
- Build from source by cloning this project - check out [our build guide](docs/build.md)
|
| 48 |
+
|
| 49 |
+
Once installed:
|
| 50 |
+
|
| 51 |
+
```sh
|
| 52 |
+
# Download and run a model directly from Hugging Face
|
| 53 |
+
llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF
|
| 54 |
+
|
| 55 |
+
# Launch OpenAI-compatible API server
|
| 56 |
+
llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
<table align="center">
|
| 60 |
+
<tr>
|
| 61 |
+
<td align="center" width=50%>
|
| 62 |
+
<img width="1310" height="888" alt="VLM session with `llama cli`" src="https://github.com/user-attachments/assets/88726b48-1713-48aa-a525-95a02e78afc4" />
|
| 63 |
+
<i>VLM session with <b>llama cli</b></i>
|
| 64 |
+
</td>
|
| 65 |
+
<td align="center">
|
| 66 |
+
<img width="1392" height="958" alt="Built-in web UI against `llama serve` running Qwen 3.6" src="https://github.com/user-attachments/assets/b402f972-2e32-4def-8771-8d849f08cf2e" />
|
| 67 |
+
<i>Built-in web UI against <b>llama serve</b></i>
|
| 68 |
+
</td>
|
| 69 |
+
</tr>
|
| 70 |
+
<table>
|
| 71 |
+
|
| 72 |
+
## Description
|
| 73 |
+
|
| 74 |
+
The main goal of `llama.cpp` is to enable LLM (and VLM) inference with minimal setup and state-of-the-art performance on
|
| 75 |
+
a wide range of hardware - locally and in the cloud.
|
| 76 |
+
|
| 77 |
+
- Plain C/C++ implementation without any dependencies
|
| 78 |
+
- Apple silicon is a first-class citizen - optimized via ARM NEON, Accelerate and Metal frameworks
|
| 79 |
+
- AVX, AVX2, AVX512 and AMX support for x86 architectures
|
| 80 |
+
- RVV, ZVFH, ZFH, ZICBOP and ZIHINTPAUSE support for RISC-V architectures
|
| 81 |
+
- 1.5-bit, 2-bit, 3-bit, 4-bit, 5-bit, 6-bit, and 8-bit integer quantization for faster inference and reduced memory use
|
| 82 |
+
- Custom CUDA kernels for running LLMs on NVIDIA GPUs (support for AMD GPUs via HIP and Moore Threads GPUs via MUSA)
|
| 83 |
+
- Vulkan and SYCL backend support
|
| 84 |
+
- CPU+GPU hybrid inference to partially accelerate models larger than the total VRAM capacity
|
| 85 |
+
|
| 86 |
+
The `llama.cpp` project is build on top of the [ggml](https://github.com/ggml-org/ggml) library.
|
| 87 |
+
|
| 88 |
+
## Supported backends
|
| 89 |
+
|
| 90 |
+
| Backend | Target devices |
|
| 91 |
+
| --- | --- |
|
| 92 |
+
| [BLAS](docs/build.md#blas-build) | All |
|
| 93 |
+
| [BLIS](docs/backend/BLIS.md) | All |
|
| 94 |
+
| [CANN](docs/build.md#cann) | Ascend NPU |
|
| 95 |
+
| [CUDA](docs/build.md#cuda) | Nvidia GPU |
|
| 96 |
+
| [HIP](docs/build.md#hip) | AMD GPU |
|
| 97 |
+
| [Hexagon](docs/backend/snapdragon/README.md) | Snapdragon |
|
| 98 |
+
| [IBM zDNN](docs/backend/zDNN.md) | IBM Z & LinuxONE |
|
| 99 |
+
| [MUSA](docs/build.md#musa) | Moore Threads GPU |
|
| 100 |
+
| [Metal](docs/build.md#metal-build) | Apple Silicon |
|
| 101 |
+
| [OpenCL](docs/backend/OPENCL.md) | Adreno GPU |
|
| 102 |
+
| [OpenVINO [In Progress]](docs/backend/OPENVINO.md) | Intel CPUs, GPUs, and NPUs |
|
| 103 |
+
| [RPC](https://github.com/ggml-org/llama.cpp/tree/master/tools/rpc) | All |
|
| 104 |
+
| [SYCL](docs/backend/SYCL.md) | Intel GPU |
|
| 105 |
+
| [VirtGPU](docs/backend/VirtGPU.md) | VirtGPU APIR |
|
| 106 |
+
| [Vulkan](docs/build.md#vulkan) | GPU |
|
| 107 |
+
| [WebGPU](docs/build.md#webgpu) | All |
|
| 108 |
+
| [ZenDNN](docs/build.md#zendnn) | AMD CPU |
|
| 109 |
+
|
| 110 |
+
## Documentation
|
| 111 |
+
|
| 112 |
+
#### Tools
|
| 113 |
+
|
| 114 |
+
- [cli](tools/cli/README.md)
|
| 115 |
+
- [completion](tools/completion/README.md)
|
| 116 |
+
- [server](tools/server/README.md)
|
| 117 |
+
- [GBNF grammars](grammars/README.md)
|
| 118 |
+
|
| 119 |
+
#### Development
|
| 120 |
+
|
| 121 |
+
- [How to build](docs
|
| 122 |
+
|
| 123 |
+
*(excerpt; full text in `UPSTREAM_CLONE/`)*
|
| 124 |
+
|
| 125 |
+
*Quoted from the upstream `README.md` file in `UPSTREAM_CLONE/`.*
|
| 126 |
+
Project-specific facts detected in this directory:
|
| 127 |
+
|
| 128 |
+
- Ecosystem: **Python** (manifests: pyproject.toml, requirements.txt; scanned in UPSTREAM_CLONE)
|
| 129 |
+
- Top-level source layout: `app/`, `benches/`, `ci/`, `cmake/`, `common/`, `conversion/`, `examples/`, `ggml/`, `gguf-py/`, `grammars/`, `include/`, `licenses/`
|
| 130 |
+
- Snapshot size: **3529 files**, **819358 lines of code** (measured; see Benchmarks)
|
| 131 |
+
- Primary languages: `.cpp` (687), `.ts` (417), `.svelte` (326), `.h` (302), `.py` (225), `.cu` (190)
|
| 132 |
+
- Upstream commit pinned for this packaging: `71ad0590f4808b6202f9213d166913858c73b1bc`
|
| 133 |
+
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
## Installation
|
| 137 |
+
|
| 138 |
+
No installation section was found in the upstream readme, so the commands below are generated from the manifests detected in this project directory.
|
| 139 |
+
|
| 140 |
+
```sh
|
| 141 |
+
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
|
| 142 |
+
pip install -e . # or: pip install -r requirements.txt
|
| 143 |
+
```
|
| 144 |
+
|
| 145 |
+
Overlay install (this project):
|
| 146 |
+
|
| 147 |
+
```sh
|
| 148 |
+
python -m pip install -e anticloud/ # overlay package with the 12 improvements
|
| 149 |
+
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
---
|
| 153 |
+
|
| 154 |
+
## Usage
|
| 155 |
+
|
| 156 |
+
A few options to get `llama.cpp` installed on your machine:
|
| 157 |
+
|
| 158 |
+
```bash
|
| 159 |
+
|
| 160 |
+
*Section quoted from the upstream readme.*
|
| 161 |
+
Anticloud overlay CLI (available in every project):
|
| 162 |
+
|
| 163 |
+
```sh
|
| 164 |
+
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 165 |
+
python anticloud/cli.py checks # run the 16-check suite
|
| 166 |
+
```
|
| 167 |
+
|
| 168 |
+
---
|
| 169 |
+
|
| 170 |
+
## API
|
| 171 |
+
|
| 172 |
+
The upstream API surface is defined by the `LLAMA_CPP` source tree vendored in `UPSTREAM_CLONE/` (Python ecosystem). Public entry points:
|
| 173 |
+
|
| 174 |
+
- Source modules: `app/`, `benches/`, `ci/`, `cmake/`, `common/`, `conversion/`, `examples/`, `ggml/`
|
| 175 |
+
- The snapshot declares 130 dependency references across 3 ecosystem(s); see Dependencies below.
|
| 176 |
+
- Overlay API: `anticloud/cli.py` exposes 13 subcommands with JSON stdout; `anticloud/bench/runner.py` runs the 16-check suite; `anticloud/provenance/chain.py` exposes the SHA3-256 + Ed25519 provenance chain.
|
| 177 |
+
|
| 178 |
+
---
|
| 179 |
+
|
| 180 |
+
## Dependencies
|
| 181 |
+
|
| 182 |
+
| Metric | Value |
|
| 183 |
+
|--------|-------|
|
| 184 |
+
| Ecosystem | Python |
|
| 185 |
+
| Manifests detected | pyproject.toml, requirements.txt |
|
| 186 |
+
| Files in snapshot | 3529 |
|
| 187 |
+
| Lines of code | 819358 |
|
| 188 |
+
| Dependency references | 130 |
|
| 189 |
+
| Dependencies by ecosystem | native: 44, npm: 76, pypi: 10 |
|
| 190 |
+
| Upstream license | MIT |
|
| 191 |
+
| Overlay license | Anticommons 0.1.0 |
|
| 192 |
+
|
| 193 |
+
Top dependency references recorded in the benchmark snapshot:
|
| 194 |
+
|
| 195 |
+
| Ecosystem | Name | Version | Source file |
|
| 196 |
+
|-----------|------|---------|-------------|
|
| 197 |
+
| native | ggml | - | CMakeLists.txt |
|
| 198 |
+
| pypi | numpy | (>=2.2.6 | pyproject.toml |
|
| 199 |
+
| pypi | sentencepiece | (>=0.1.98 | pyproject.toml |
|
| 200 |
+
| pypi | transformers | (==4.57.6) | pyproject.toml |
|
| 201 |
+
| pypi | protobuf | (>=4.21.0 | pyproject.toml |
|
| 202 |
+
| pypi | torch | (>=2.6.0 | pyproject.toml |
|
| 203 |
+
| pypi | gguf | @ | pyproject.toml |
|
| 204 |
+
| native | Threads | - | tools/CMakeLists.txt |
|
| 205 |
+
| npm | @chromatic-com/storybook | 5.2.1 | tools/ui/package.json |
|
| 206 |
+
| npm | @eslint/compat | 1.4.1 | tools/ui/package.json |
|
| 207 |
+
| npm | @eslint/js | 9.39.2 | tools/ui/package.json |
|
| 208 |
+
| npm | @internationalized/date | 3.12.2 | tools/ui/package.json |
|
| 209 |
+
| npm | @lucide/svelte | 1.25.0 | tools/ui/package.json |
|
| 210 |
+
| npm | @modelcontextprotocol/sdk | 1.30.0 | tools/ui/package.json |
|
| 211 |
+
| npm | @playwright/test | 1.56.1 | tools/ui/package.json |
|
| 212 |
+
| ... | (115 more) | | |
|
| 213 |
+
|
| 214 |
+
Pinned lockfile: `anticloud/requirements.lock` (hash-pinned, PEP 508). SBOM: `sbom.cdx.json` (CycloneDX 1.5, pinned to the upstream SHA).
|
| 215 |
+
|
| 216 |
+
---
|
| 217 |
+
|
| 218 |
+
## Configuration
|
| 219 |
+
|
| 220 |
+
No configuration section was found in the upstream readme. Configuration-relevant files detected in this project directory:
|
| 221 |
+
|
| 222 |
+
- `CMakeLists.txt`
|
| 223 |
+
- `Makefile`
|
| 224 |
+
- `mypy.ini`
|
| 225 |
+
- `pyproject.toml`
|
| 226 |
+
|
| 227 |
+
Overlay configuration (Anticloud):
|
| 228 |
+
|
| 229 |
+
- `anticloud/` - improvement overlay; environment-driven, no cloud dependency
|
| 230 |
+
- `LEDGERS/` - aioss tamper-evident chain files (per-project, verified with `aioss verify --live`)
|
| 231 |
+
- `ISOLATED_LAB_RESULTS/` - reproducibility record (environment, reproduction steps, result register, evidence)
|
| 232 |
+
- `OFFICIAL_BENCHMARKS/` - 26 framework assessments for this project
|
| 233 |
+
|
| 234 |
+
---
|
| 235 |
+
|
| 236 |
+
## Contributing
|
| 237 |
+
|
| 238 |
+
*Excerpt from upstream `CONTRIBUTING.md`:*
|
| 239 |
+
|
| 240 |
+
# Contributors
|
| 241 |
+
|
| 242 |
+
The project differentiates between 3 levels of contributors:
|
| 243 |
+
|
| 244 |
+
- Contributors: people who have contributed before (no special privileges)
|
| 245 |
+
- Collaborators (Triage): people with significant contributions, who may be responsible for some parts of the code, and are expected to maintain and review contributions for the code they own
|
| 246 |
+
- Maintainers: responsible for reviewing and merging PRs, after approval from the code owners
|
| 247 |
+
|
| 248 |
+
# AI Usage Policy
|
| 249 |
+
|
| 250 |
+
> [!IMPORTANT]
|
| 251 |
+
>
|
| 252 |
+
> AI-generated code is allowed. You are 100% responsible for every line, however it was produced.
|
| 253 |
+
>
|
| 254 |
+
> Undisclosed AI usage may result in your account being permanently banned from contributing to the project.
|
| 255 |
+
>
|
| 256 |
+
> Detailed information regarding permissible and restricted uses of AI can be found in the [AGENTS.md](AGENTS.md) file.
|
| 257 |
+
|
| 258 |
+
If AI is used to generate any portion of the code, contributors must adhere to the following requirements:
|
| 259 |
+
|
| 260 |
+
1. Explicitly disclose the manner in which AI was employed.
|
| 261 |
+
2. Check for an existing PR addressing the same change; if one exists, comment there to work with its author instead of opening a duplicate.
|
| 262 |
+
3. Perform a comprehensive manual review prior to submitting the pull request. A proper code review usually takes something like one hour per 200-400 LOC and you should be spending **at least that much time on code review alone**.
|
| 263 |
+
4. Be prepared to explain every line of code you submit when asked about it by a maintainer.
|
| 264 |
+
5. It is strictly prohibited to use AI to write your posts for you (bug reports, feature requests, pull request descriptions, Github discussions, responding to humans, ...).
|
| 265 |
+
|
| 266 |
+
For more info, please refer to the [AGENTS.md](AGENTS.md) file.
|
| 267 |
+
|
| 268 |
+
# Pull requests (for contributors & collaborators)
|
| 269 |
+
|
| 270 |
+
### Before you start
|
| 271 |
+
|
| 272 |
+
- Search for existing discussions and PRs first - duplicates will likely be closed without questions.
|
| 273 |
+
- Features must begin with an issue, not a PR - let interest accumulate before writing code; niche features may only land as an example/tool, or on a private fork.
|
| 274 |
+
- Bug-fix PRs must include a reproducible issue and a regression test that fails before your change and passes after. Fixes without a test may be closed without review.
|
| 275 |
+
- New CLI or public API additions carry a **higher bar** than internal changes - justify why an existing mechanism doesn't suffice.
|
| 276 |
+
- Meeting all of the above still doesn't guarantee a merge - see [Pull requests (for maintainers)](#pull-requests-for-maintainers).
|
| 277 |
+
- If you are a new contributor
|
| 278 |
+
- Limit you
|
| 279 |
+
|
| 280 |
+
Overlay contributions: run the 16-check suite before opening a pull request:
|
| 281 |
+
|
| 282 |
+
```sh
|
| 283 |
+
python anticloud/bench/runner.py --cwd anticloud
|
| 284 |
+
```
|
| 285 |
+
|
| 286 |
+
---
|
| 287 |
+
|
| 288 |
+
## License
|
| 289 |
+
|
| 290 |
+
**Upstream license: MIT** (evidence: `LICENSE` in the upstream snapshot).
|
| 291 |
+
|
| 292 |
+
License file excerpt:
|
| 293 |
+
|
| 294 |
+
```text
|
| 295 |
+
MIT License
|
| 296 |
+
|
| 297 |
+
Copyright (c) 2023-2026 The ggml authors
|
| 298 |
+
|
| 299 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 300 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 301 |
+
in the Software without restriction, including without limitation the rights
|
| 302 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 303 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 304 |
+
furnished to do so, subject to the following conditions:
|
| 305 |
+
|
| 306 |
+
The above copyright notice and this permission notice shall be included in all
|
| 307 |
+
copies or substantial portions of the Software.
|
| 308 |
+
|
| 309 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 310 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 311 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 312 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 313 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 314 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 315 |
+
```
|
| 316 |
+
|
| 317 |
+
### Anticommons 0.1.0 overlay
|
| 318 |
+
|
| 319 |
+
The Anticloud integration overlay in `anticloud/` - improvements 1 through 12 listed under Benchmarks - is licensed under **Anticommons 0.1.0**. Upstream code remains under its original MIT terms. See `ANTICOMMONS_LICENSE.md` in this directory for the overlay terms and contact.
|
| 320 |
+
|
| 321 |
+
SPDX: `MIT` (upstream) + Anticommons 0.1.0 (overlay, dual).
|
| 322 |
+
|
| 323 |
+
---
|
| 324 |
+
|
| 325 |
+
## Upstream
|
| 326 |
+
|
| 327 |
+
- **Project:** `LLAMA_CPP` (category: CHIP QUANTIZATION)
|
| 328 |
+
- **Upstream URL:** https://github.com/ggml-org/llama.cpp
|
| 329 |
+
- **Pinned commit (SHA):** `71ad0590f4808b6202f9213d166913858c73b1bc`
|
| 330 |
+
- **Branch:** master
|
| 331 |
+
- **Pin provenance:** GitHub API commits/master. The parent-project stamp is explicitly rejected for this project.
|
| 332 |
+
- **Snapshot location:** `UPSTREAM_CLONE/` (vendored, not shipped as-is)
|
| 333 |
+
- **Benchmark snapshot:** `BENCH.json`
|
| 334 |
+
|
| 335 |
+
---
|
| 336 |
+
|
| 337 |
+
## Benchmarks
|
| 338 |
+
|
| 339 |
+
Measured by the Anticloud assurance suite. Every value below is read from this
|
| 340 |
+
project's `BENCH.json`, produced by a real run — the SHA3-256 of that file is
|
| 341 |
+
`8ab7f7a230337ce5bcf72c618ff15cc9ab777c53582a4b61dad5fedf8eee00ce`.
|
| 342 |
+
|
| 343 |
+
| Framework | Controls | Evidence | Coverage | Result |
|
| 344 |
+
|---|---|---|---|---|
|
| 345 |
+
| OWASP Top 10 for LLM Applications | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 346 |
+
| OWASP Top 10 (2021) | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 347 |
+
| SOC 2 Type II readiness | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 348 |
+
| NIST AI Risk Management Framework | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 349 |
+
| NIST SP 800-53 Rev. 5 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 350 |
+
| NIST Cybersecurity Framework 2.0 | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 351 |
+
| FedRAMP Rev. 5 | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 352 |
+
| PCI DSS v4.0.1 | 11 controls mapped | 11 with evidence | 100.0% | PASS |
|
| 353 |
+
| ISO/IEC 27001:2022 | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 354 |
+
| MITRE ATT&CK v16 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 355 |
+
| ML Technology Readiness Level | TRL 8 | 8/8 criteria | | PASS |
|
| 356 |
+
|
| 357 |
+
**Overall: 16/16 checks passing.**
|
| 358 |
+
|
| 359 |
+
See `ISOLATED_LAB_RESULTS/03_Result_Register.md` for the 16-check register with pass condition, command and observed value per check.
|
| 360 |
+
|
| 361 |
+
Framework folders in `OFFICIAL_BENCHMARKS/` state the control set and the
|
| 362 |
+
evidence source bound to each control. This project does not claim an audit
|
| 363 |
+
opinion, a SOC report, a FedRAMP authorisation or a PCI attestation — those are
|
| 364 |
+
issued by an independent assessor.
|
| 365 |
+
|
| 366 |
+
|
| 367 |
+
|
| 368 |
+
## Archives and Permanent Records
|
| 369 |
+
|
| 370 |
+
| Platform | Identifier | Volume |
|
| 371 |
+
|---|---|---|
|
| 372 |
+
| Harvard Dataverse | DOI 10.7910/DVN/YMJKOG | 145 citable datasets |
|
| 373 |
+
| AIOSS verification kit | DOI 10.7910/DVN/OORKNJ | Offline hash verification |
|
| 374 |
+
| DANS (KNAW/NWO, Netherlands) | 10.17026/PT | EU-recognised archive |
|
| 375 |
+
| Zenodo (CERN) | — | 146 records, DOI-registered |
|
| 376 |
+
| OSF | — | 144 preregistered records |
|
| 377 |
+
| Figshare | author 20849885 | Research data and figures |
|
| 378 |
+
| Internet Archive | aioss-format, Anticode | Permanent binary specification |
|
| 379 |
+
| ORCID | 0009-0009-2233-6107 | Permanent researcher ID |
|
| 380 |
+
| Kaggle | pax-millennium-20 | Reproducible T4 benchmark run |
|
| 381 |
+
|
| 382 |
+
|
| 383 |
+
|
| 384 |
+
## Press and Independent Publication
|
| 385 |
+
|
| 386 |
+
The PAX benchmark release was distributed by Newsfile wire to 336 outlets
|
| 387 |
+
(312 Web, 23 Terminal, 1 Application), including Yahoo Finance, The Globe
|
| 388 |
+
and Mail, Business Insider, National Post, Financial Post, StreetInsider,
|
| 389 |
+
Digital Journal, Barchart, International Business Times, and Fox News.
|
| 390 |
+
Wire distribution makes the announcement dated, public, and indexed, which
|
| 391 |
+
makes the claim checkable.
|
| 392 |
+
|