aorabdel commited on
Commit
57fe86b
·
verified ·
1 Parent(s): 41cc016

Sync model repo (text/metadata)

Browse files
.python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.13
README.md ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pipeline_tag: text-generation
4
+ library_name: llama.cpp
5
+ tags:
6
+ - arm
7
+ - arm-optimized
8
+ - premium-smartphone
9
+ - llamacpp
10
+ - gguf
11
+ base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
12
+ base_model_relation: quantized
13
+ ---
14
+
15
+ # DeepSeek-R1-Distill-Qwen-1.5B optimized for Arm-based Premium Smartphone
16
+
17
+ DeepSeek-R1-Distill-Qwen-1.5B text generation, quantized to a Q4_K_M GGUF for the llama.cpp runtime and optimized for Arm-based Premium Smartphone systems.
18
+
19
+ ## Summary
20
+
21
+ This repository contains an Arm-optimized version of deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B for text generation. The model is provided as a GGUF `.gguf` file for the llama.cpp runtime, targeting Premium Smartphone systems.
22
+
23
+ The recipe is a mixed llama.cpp k-quant, not a uniform 4-bit one. Weights are 4-bit (Q4_K) for the default tensor type and the token embeddings and 6-bit (Q6_K) for the output weight. Activations are not stored in the file: the llama.cpp CPU kernels dynamically quantize them to 8-bit per block at runtime. Weights are quantized with an importance matrix (imatrix-weighted k-quant), per-group and asymmetric.
24
+
25
+ This version is intended to demonstrate efficient inference on Arm-based platforms while preserving the original model's intended behavior. Arm has evaluated this model on MATH-500 and measured performance with llama-bench synthetic tokens on a Vivo X300.
26
+
27
+ The model is reasoning-distilled: the embedded chat template opens the assistant turn with a think tag, the model emits a chain of thought, and the final answer follows the closing think tag. It needs a large generation budget to be useful.
28
+
29
+ **Key results**
30
+
31
+ | Area | Result |
32
+ |---|---|
33
+ | Model format | GGUF `.gguf` (llama.cpp) |
34
+ | Target device class | Premium Smartphone |
35
+ | Reference device | Vivo X300 (C1-Ultra, C1-Premium, C1-Pro; android Android 16 / OriginOS 6) |
36
+ | Primary performance result | 41.21 tokens/sec decode, 2655.50 ms prefill |
37
+ | Accuracy result | MATH-500 80.0% |
38
+ | Size / memory result | 1065.56 MB model size, 3.19x smaller than the f16 baseline |
39
+ | Precision | Mixed: 4-bit weights (Q4_K default tensor type and token embeddings), 6-bit output weight (Q6_K); activations dynamically quantized to 8-bit at runtime |
40
+
41
+ ## Original model
42
+
43
+ | Field | Value |
44
+ |---|---|
45
+ | Original model | deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B |
46
+ | Original source | Hugging Face |
47
+ | Original developer | DeepSeek AI |
48
+ | Original model card | [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B) |
49
+ | Original license | [MIT](https://opensource.org/licenses/MIT) |
50
+
51
+ ## Model files
52
+
53
+ | File | Description |
54
+ |---|---|
55
+ | `deepseek-ai__DeepSeek-R1-Distill-Qwen-1.5B_llamacpp_Q4_K_M.gguf` | Arm-optimized model for deployment |
56
+ | `example.py` | Minimal inference example |
57
+ | `pyproject.toml` | Pinned runtime dependencies for `example.py`, resolved with uv |
58
+ | `uv.lock` | Locked dependency resolution for `pyproject.toml` |
59
+ | `config.yaml` | Model I/O contract used by the example |
60
+ | `benchmarks/` | F16 baseline and Arm-optimized benchmark records |
61
+
62
+ ## Performance
63
+
64
+ Performance was measured on the reference configuration below. Results are intended to make the optimization reproducible but do not guarantee identical performance on every Arm-based system.
65
+
66
+ **Reference configuration**
67
+
68
+ | Field | Value |
69
+ |---|---|
70
+ | Device / platform | Vivo X300 |
71
+ | CPU / accelerator | C1-Ultra, C1-Premium, C1-Pro (8 cores), cpu |
72
+ | OS | android — Android 16 / OriginOS 6 |
73
+ | Runtime | llama.cpp |
74
+ | Backend / delegate | cpu, ggml-cpu-repack |
75
+ | Batch size | 1 |
76
+ | Precision | Mixed: 4-bit weights (Q4_K default tensor type and token embeddings), 6-bit output weight (Q6_K); activations dynamically quantized to 8-bit at runtime; imatrix-weighted k-quant, per-group, asymmetric |
77
+ | Runs | 5 measured |
78
+
79
+ **Performance results**
80
+
81
+ | Metric | Original / baseline | Arm-optimized | Improvement |
82
+ |---|---:|---:|---:|
83
+ | Decode throughput | 10.01 tokens/sec | 41.21 tokens/sec | 4.12x |
84
+ | Prefill time | 19284.20 ms | 2655.50 ms | 7.26x faster |
85
+ | p50 latency | 32073.58 ms | 5761.18 ms | 5.57x faster |
86
+ | Model size | 3395.48 MB | 1065.56 MB | 3.19x smaller |
87
+ | Peak memory | 3529.36 MB | 2012.06 MB | 1.75x less |
88
+
89
+ Latency here is the arithmetic consequence of the two measured llama-bench throughputs at the benched shape (512-token prompt, 128 generated tokens), not a directly timed wall-clock figure. Peak memory is Android USS (private clean plus private dirty), not peak RSS.
90
+
91
+ ## Accuracy
92
+
93
+ Accuracy was evaluated using the same preprocessing, input resolution, and evaluation protocol described below. Where possible, the optimized model is compared against the original model under the same evaluation conditions.
94
+
95
+ **Evaluation setup**
96
+
97
+ | Field | Value |
98
+ |---|---|
99
+ | Dataset | MATH-500 |
100
+ | Split | 0-shot |
101
+ | Number of samples | 250 |
102
+ | Metric(s) | MATH-500 accuracy (pass@1) |
103
+ | Evaluation runtime | llama.cpp |
104
+
105
+ The accuracy run was executed on AWS Graviton4, not on the Vivo X300 used for the performance figures above; quality was never scored on device. Quantization is deterministic, so the accuracy figure carries across hosts, but the two blocks describe the same artifact measured on two different machines.
106
+
107
+ **Accuracy results**
108
+
109
+ | Metric | Original / baseline | Arm-optimized | Change |
110
+ |---|---:|---:|---:|
111
+ | MATH-500 accuracy | 82.8% | 80.0% | -2.80 pp |
112
+
113
+ Accuracy was measured using the evaluation setup described above. Users should re-evaluate the model on their own data before production use.
114
+
115
+ ## Arm optimization approach
116
+
117
+ Arm optimized this model for efficient inference on Arm-based platforms using a hardware-aware conversion and validation flow.
118
+
119
+ For this release, Arm used:
120
+
121
+ | Optimization area | Applied? | Notes |
122
+ |---|---|---|
123
+ | Model conversion | Yes | Converted to GGUF `.gguf` for llama.cpp |
124
+ | Quantization | Yes | Imatrix-weighted llama.cpp k-quant, per-group and asymmetric. Mixed weight precision: 4-bit (Q4_K) default tensor type and token embeddings, 6-bit (Q6_K) output weight; activations dynamically quantized to 8-bit at runtime by the CPU kernels. Importance matrix calibrated on 32 randomly selected WikiText-2 samples |
125
+ | Runtime/backend selection | Yes | llama.cpp CPU backend with ggml-cpu-repack, built with -march=armv8.6-a+dotprod+i8mm |
126
+ | Graph/runtime compatibility updates | Yes | Performed as part of the llama.cpp GGUF conversion pipeline |
127
+ | Accuracy validation | Yes | Compared against the original model or published baseline |
128
+ | Performance validation | Yes | Measured on the reference Arm platform |
129
+
130
+ The goal of this process is to improve deployment characteristics such as latency, memory use, model size, and runtime compatibility while preserving the model's intended behavior. Detailed conversion scripts, calibration configuration, or backend-specific implementation details may be provided separately where appropriate.
131
+
132
+ ## Using this model
133
+
134
+ ### Install dependencies
135
+
136
+ Dependencies are declared in `pyproject.toml`, which ships with this repository. Resolve and install them into a local virtual environment with uv:
137
+
138
+ ```bash
139
+ uv python install
140
+ uv sync --frozen
141
+ ```
142
+
143
+ ### Run the example
144
+
145
+ ```bash
146
+ uv run example.py
147
+ ```
148
+
149
+ ### Expected input
150
+
151
+ | Property | Value |
152
+ |---|---|
153
+ | Input shape | [1, T], where T is the runtime sequence length |
154
+ | Input type | int32 token ids |
155
+ | Input range | vocabulary ids, 0 to 151935 |
156
+ | Preprocessing | Apply the deepseek_r1 chat template, then tokenize with the BPE tokenizer embedded in the `.gguf` (add_bos, bos id 151646) |
157
+
158
+ ### Expected output
159
+
160
+ | Property | Value |
161
+ |---|---|
162
+ | Output shape | Token ids generated one at a time |
163
+ | Output type | int32 token ids, decoded to text by llama.cpp |
164
+ | Postprocessing | Decode with the embedded tokenizer; the final answer is the span after the closing think tag (id 151649); stop on the EOS token (id 151643) or max_tokens |
165
+
166
+ ## Intended use
167
+
168
+ This model is intended for developers evaluating text-generation workloads on Arm-based platforms. It is suitable as a reference implementation for benchmarking, prototyping, and integration exploration.
169
+
170
+ ## Limitations
171
+
172
+ - Performance depends on the target device, runtime version, backend/delegate support, memory configuration, and system load.
173
+ - Accuracy was evaluated on MATH-500 (250-problem stratified subset) and may not generalize to all domains.
174
+ - This release preserves the original model's intended task and behavior, but users should validate it for their own application, data, and deployment environment.
175
+ - This repository is not a replacement for the original model documentation.
176
+
177
+ ## Additional notes
178
+
179
+ - Peak memory is Android USS read from /proc/<pid>/smaps_rollup, not the peak RSS that server-class evaluators report. The two are not interchangeable across targets.
180
+ - Reasoning budget matters. Traces are long and the reported score was obtained with max_tokens 12288 at n_ctx 14336, while the shipped serving window is n_ctx 4096, sized for the phone's KV-cache budget. Smaller budgets truncate traces, and a truncated trace yields no answer at all. DeepSeek advises against a system prompt and against greedy decoding for the R1-distill family.
181
+
182
+ ## About this version
183
+
184
+ This repository contains a converted version of the deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B model, originally developed by DeepSeek AI.
185
+ Arm has converted the model to enable efficient execution on Arm-based platforms. No changes have been made to the model's intended behavior.
186
+
187
+ ## Original model and documentation
188
+
189
+ For full details of the original model, please refer to the original [model card](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B).
190
+
191
+ ## Purpose of this release
192
+
193
+ This version is provided by Arm as a reference implementation to demonstrate performance on Arm-based systems. It is not a production-ready or supported solution. Users should evaluate the model independently for their use-case. Arm provides no warranties or ongoing support for this version.
benchmarks/deepseek-r1-distill-qwen-1-5b-llamacpp-vivo-x300-fp32.yaml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: 1.2.0
2
+ report_type: llm-generative
3
+ profile: Baseline
4
+ created_at: '2026-08-11T03:16:44Z'
5
+ context:
6
+ target_ref: vivo-x300
7
+ runtime:
8
+ name: llama.cpp
9
+ execution_backend: cpu
10
+ config:
11
+ n_threads: 4
12
+ optimisations:
13
+ - ggml-cpu-repack
14
+ compile_flags:
15
+ - -march=armv8.6-a+dotprod+i8mm
16
+ - GGML_CPU_KLEIDIAI=ON
17
+ dataset:
18
+ name: llama-bench synthetic tokens
19
+ sample_count: 5
20
+ slice: -p 512 -n 128 -r 5 -t 4
21
+ benchmark:
22
+ batch_size: 1
23
+ prompt_length_tokens: 512
24
+ generation_length_tokens: 128
25
+ deployment_mode: chat
26
+ num_runs: 5
27
+ performance:
28
+ end_to_end_latency_ms:
29
+ p50: 32073.58
30
+ prefill_encode_time_ms: 19284.2
31
+ tokens_per_second: 10.008307
32
+ peak_memory_mb: 3529.35546875
benchmarks/deepseek-r1-distill-qwen-1-5b-llamacpp-vivo-x300-int4.yaml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: 1.2.0
2
+ report_type: llm-generative
3
+ profile: Arm-Optimized
4
+ created_at: '2026-08-11T03:16:44Z'
5
+ context:
6
+ target_ref: vivo-x300
7
+ runtime:
8
+ name: llama.cpp
9
+ execution_backend: cpu
10
+ config:
11
+ n_threads: 4
12
+ optimisations:
13
+ - ggml-cpu-repack
14
+ compile_flags:
15
+ - -march=armv8.6-a+dotprod+i8mm
16
+ - GGML_CPU_KLEIDIAI=ON
17
+ dataset:
18
+ name: llama-bench synthetic tokens
19
+ sample_count: 5
20
+ slice: -p 512 -n 128 -r 5 -t 4
21
+ benchmark:
22
+ batch_size: 1
23
+ prompt_length_tokens: 512
24
+ generation_length_tokens: 128
25
+ deployment_mode: chat
26
+ num_runs: 5
27
+ performance:
28
+ end_to_end_latency_ms:
29
+ p50: 5761.18
30
+ prefill_encode_time_ms: 2655.5
31
+ tokens_per_second: 41.214719
32
+ peak_memory_mb: 2012.0625
config.yaml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ input:
2
+ shape: [1, "T"]
3
+ dtype: int32
4
+ name: tokens
5
+ preprocessing:
6
+ - apply_chat_template: deepseek_r1 # <|begin_of_sentence|>{system}<|User|>{prompt}<|Assistant|><think>\n
7
+ - tokenize:
8
+ tokenizer: embedded in the .gguf (tokenizer.ggml.*, BPE / gpt2 model, qwen2 pre-tokenizer)
9
+ add_bos: true # bos id 151646
10
+ notes: |
11
+ `T` is the runtime sequence length. The GGUF carries its own vocab, merges
12
+ and chat template, so no external tokenizer files are needed — llama.cpp
13
+ tokenizes the prompt string internally. `[1, 4096]` in the run report is the
14
+ pipeline's nominal export shape, not a fixed graph input: the trained
15
+ context is 131072 tokens and the served window is whatever `n_ctx` the
16
+ runtime is started with (4096 in the shipped recipe).
17
+
18
+ output:
19
+ format: "Token ids generated one at a time; decoded to text by llama.cpp"
20
+ postprocessing:
21
+ decode:
22
+ tokenizer: embedded in the .gguf
23
+ reasoning_trace:
24
+ opening_tag: "<think>" # id 151648, emitted by the generation prompt
25
+ closing_tag: "</think>" # id 151649
26
+ note: "final answer is the span after </think>"
27
+ stop_on:
28
+ - eos_token # id 151643 (<|end_of_sentence|>)
29
+ - max_tokens
30
+
31
+ generation:
32
+ # Sampling settings the reported MATH-500 pass@1 was measured under.
33
+ temperature: 0.6
34
+ top_p: 0.95
35
+ max_tokens: 12288
36
+ # n_ctx below is the shipped serving window, sized for the phone's KV-cache
37
+ # budget. The MATH-500 evaluation ran at n_ctx 14336 instead — a 12288-token
38
+ # generation budget does not fit in 4096.
39
+ n_ctx: 4096
40
+ n_threads: 4
41
+
42
+ model:
43
+ format: gguf
44
+ architecture: qwen2
45
+ num_layers: 28
46
+ hidden_size: 1536
47
+ feed_forward_length: 8960
48
+ num_attention_heads: 12
49
+ num_kv_heads: 2
50
+ rope_freq_base: 10000.0
51
+ vocab_size: 151936
52
+ trained_context_length: 131072
53
+
54
+ quantization:
55
+ variant: Q4_K_M # general.file_type = 15 (MOSTLY_Q4_K_M)
56
+ method: llama.cpp k-quant, imatrix-weighted
57
+ default_tensor_type: Q4_K
58
+ output_weight_type: Q6_K # llama-quantize's own Q4_K_M default
59
+ token_embd_type: Q4_K # ditto
60
+ fp32_tensors: norms and attention biases
61
+ imatrix_entries: 196
62
+ imatrix_chunks: 256
63
+ source_precision: f16
64
+
65
+ runtime:
66
+ name: llama.cpp
67
+ execution_backend: cpu
68
+ target_hardware: vivo_x300
69
+ build_flags: -march=armv8.6-a+dotprod+i8mm, GGML_CPU_KLEIDIAI=ON
70
+ kleidiai_engaged: false # no Q4_K tensor is eligible; ggml's own repack path runs instead
example.py ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Run one chat turn against the Q4_K_M GGUF of DeepSeek-R1-Distill-Qwen-1.5B with llama.cpp."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import json
7
+ from pathlib import Path
8
+
9
+ from llama_cpp import Llama
10
+
11
+
12
+ HERE = Path(__file__).resolve().parent
13
+ MODEL_FILENAME = "deepseek-ai__DeepSeek-R1-Distill-Qwen-1.5B_llamacpp_Q4_K_M.gguf"
14
+
15
+ DEFAULT_PROMPT = (
16
+ "What is the smallest positive integer that is divisible by every integer "
17
+ "from 1 to 10? Put your final answer in \\boxed{}."
18
+ )
19
+
20
+ # The sampling settings the published MATH-500 pass@1 was measured under.
21
+ TEMPERATURE = 0.6
22
+ TOP_P = 0.95
23
+ MAX_TOKENS = 12288
24
+ # N_CTX is the shipped serving window, not the evaluation one: MATH-500 ran at
25
+ # 14336 so the whole 12288-token budget fits. Raise this to reproduce that
26
+ # contract — at 4096 a long trace hits the context wall before max_tokens.
27
+ N_CTX = 4096
28
+ N_THREADS = 4
29
+
30
+ THINK_CLOSE = "</think>"
31
+
32
+
33
+ def resolve_model_path(explicit: str | None) -> Path:
34
+ """Find the GGUF next to this script, or one directory up."""
35
+ if explicit:
36
+ path = Path(explicit).expanduser().resolve()
37
+ if not path.is_file():
38
+ raise FileNotFoundError(f"No GGUF at {path}")
39
+ return path
40
+
41
+ for candidate in (HERE / MODEL_FILENAME, HERE.parent / MODEL_FILENAME):
42
+ if candidate.is_file():
43
+ return candidate
44
+
45
+ raise FileNotFoundError(
46
+ f"{MODEL_FILENAME} not found in {HERE} or {HERE.parent}. "
47
+ "Pass --model with an explicit path."
48
+ )
49
+
50
+
51
+ def split_reasoning(text: str) -> tuple[str, str]:
52
+ """Separate the chain of thought from the final answer.
53
+
54
+ Returns ``(reasoning, answer)``. When the trace was cut off before
55
+ ``</think>`` the whole output is reasoning and the answer is empty — that is
56
+ a truncation, not a refusal, and it means the token budget was too small.
57
+ """
58
+ if THINK_CLOSE in text:
59
+ reasoning, answer = text.split(THINK_CLOSE, 1)
60
+ return reasoning.strip(), answer.strip()
61
+ return text.strip(), ""
62
+
63
+
64
+ def main() -> None:
65
+ parser = argparse.ArgumentParser(description=__doc__)
66
+ parser.add_argument("--model", default=None, help="Path to the .gguf file")
67
+ parser.add_argument("--prompt", default=DEFAULT_PROMPT)
68
+ parser.add_argument("--max-tokens", type=int, default=MAX_TOKENS)
69
+ parser.add_argument("--temperature", type=float, default=TEMPERATURE)
70
+ parser.add_argument("--top-p", type=float, default=TOP_P)
71
+ parser.add_argument("--n-ctx", type=int, default=N_CTX)
72
+ parser.add_argument("--threads", type=int, default=N_THREADS)
73
+ args = parser.parse_args()
74
+
75
+ model_path = resolve_model_path(args.model)
76
+ print(f"Loading {model_path.name} ({model_path.stat().st_size / 1024**2:.2f} MB)")
77
+
78
+ llm = Llama(
79
+ model_path=str(model_path),
80
+ n_ctx=args.n_ctx,
81
+ n_threads=args.threads,
82
+ verbose=False,
83
+ )
84
+
85
+ # create_chat_completion applies the chat template stored in the GGUF, which
86
+ # is what appends the opening <think> tag that puts the model in reasoning
87
+ # mode. Hand-building the prompt string without it changes the behaviour.
88
+ completion = llm.create_chat_completion(
89
+ messages=[{"role": "user", "content": args.prompt}],
90
+ temperature=args.temperature,
91
+ top_p=args.top_p,
92
+ max_tokens=args.max_tokens,
93
+ )
94
+
95
+ text = completion["choices"][0]["message"]["content"]
96
+ finish_reason = completion["choices"][0]["finish_reason"]
97
+ reasoning, answer = split_reasoning(text)
98
+
99
+ print(f"\nPrompt: {args.prompt}")
100
+ print(f"\nReasoning ({len(reasoning)} chars, truncated below):\n{reasoning[:800]}")
101
+ print(f"\nFinal answer:\n{answer or '(none — the trace was truncated)'}")
102
+ print(f"\nfinish_reason: {finish_reason}")
103
+ print(f"tokens: {completion['usage']}")
104
+
105
+ output_path = HERE / "generation.json"
106
+ output_path.write_text(
107
+ json.dumps(
108
+ {
109
+ "model": model_path.name,
110
+ "prompt": args.prompt,
111
+ "reasoning": reasoning,
112
+ "answer": answer,
113
+ "finish_reason": finish_reason,
114
+ "usage": completion["usage"],
115
+ "sampling": {
116
+ "temperature": args.temperature,
117
+ "top_p": args.top_p,
118
+ "max_tokens": args.max_tokens,
119
+ "n_ctx": args.n_ctx,
120
+ "n_threads": args.threads,
121
+ },
122
+ },
123
+ indent=2,
124
+ ),
125
+ encoding="utf-8",
126
+ )
127
+ print(f"\nWrote {output_path}")
128
+
129
+
130
+ if __name__ == "__main__":
131
+ main()
metadata.yaml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version: 1.0.0
2
+ report_type: llm-generative
3
+ task_type: text-generation
4
+ title: DeepSeek-R1-Distill-Qwen-1.5B optimized for Arm-based Premium Smartphone
5
+ description: DeepSeek-R1-Distill-Qwen-1.5B text generation optimized as a Q4_K_M GGUF model for the llama.cpp runtime on Arm-based
6
+ Premium Smartphone systems.
7
+ id: Arm/deepseek-r1-distill-qwen-1-5b-q4-k-m-llamacpp-vivo-x300
8
+ filename: deepseek-ai__DeepSeek-R1-Distill-Qwen-1.5B_llamacpp_Q4_K_M.gguf
9
+ base_model_id: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
10
+ vendor: DeepSeek
11
+ base_model_url: https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
12
+ profile: Arm-Optimized
13
+ weight_dtype: q4_k_m
14
+ quantization:
15
+ method: K-quant
16
+ symmetric: false
17
+ weight_granularity: per-group
18
+ variant: Q4_K_M
19
+ fp32_layers:
20
+ - attn_norm.weight
21
+ - ffn_norm.weight
22
+ - output_norm.weight
23
+ - attn_q.bias
24
+ - attn_k.bias
25
+ - attn_v.bias
26
+ calibration:
27
+ dataset_name: WikiText-2
28
+ sample_count: 32
29
+ selection: random
30
+ model_size_mb: 1065.56
31
+ parameter_count: 1777088000
32
+ format: gguf
pyproject.toml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "deepseek-r1-distill-qwen-1-5b-q4-k-m-llamacpp-vivo-x300-runtime"
3
+ version = "0.1.0"
4
+ requires-python = ">=3.13,<3.14"
5
+ # example.py imports llama_cpp and nothing else outside the standard library.
6
+ # llama-cpp-python publishes no wheels on PyPI, so this builds from the sdist,
7
+ # which vendors llama.cpp and compiles it with scikit-build-core.
8
+ dependencies = [
9
+ "llama-cpp-python==0.3.35",
10
+ ]
11
+
12
+ [tool.uv]
13
+ package = false
14
+
15
+ [tool.ai-portal.deployment]
16
+ schema-version = "1"
17
+ runtime = "llama.cpp"
18
+ # Tokens reported by llama_cpp.llama_print_system_info(). REPACK is the
19
+ # ggml-cpu-repack path this deliverable actually runs on; KleidiAI is
20
+ # deliberately absent because no Q4_K tensor is eligible for it
21
+ # (config.yaml: kleidiai_engaged: false). llama_supports_gpu_offload() is False.
22
+ required-capabilities = ["CPU", "REPACK"]
23
+
24
+ [tool.ai-portal.deployment.ubuntu]
25
+ # Stock Ubuntu 24.04 (noble) arm64 versions. ninja is resolved as a PyPI wheel
26
+ # by scikit-build-core, so it is not an apt requirement; a C++ compiler is not
27
+ # available from PyPI and always is.
28
+ packages = [
29
+ "cmake=3.28.3-1build7",
30
+ "g++=4:13.2.0-7ubuntu1",
31
+ ]
32
+
33
+ [tool.ai-portal.deployment.raspbian]
34
+ # Raspbian bookworm armhf versions, confirmed against the archive package index.
35
+ packages = [
36
+ "cmake=3.25.1-1",
37
+ "g++=4:12.2.0-3+rpi1",
38
+ ]
39
+
40
+ [tool.ai-portal.deployment.files]
41
+ expected = []
uv.lock ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version = 1
2
+ revision = 3
3
+ requires-python = "==3.13.*"
4
+
5
+ [[package]]
6
+ name = "deepseek-r1-distill-qwen-1-5b-q4-k-m-llamacpp-vivo-x300-runtime"
7
+ version = "0.1.0"
8
+ source = { virtual = "." }
9
+ dependencies = [
10
+ { name = "llama-cpp-python" },
11
+ ]
12
+
13
+ [package.metadata]
14
+ requires-dist = [{ name = "llama-cpp-python", specifier = "==0.3.35" }]
15
+
16
+ [[package]]
17
+ name = "diskcache"
18
+ version = "5.6.3"
19
+ source = { registry = "https://pypi.org/simple" }
20
+ sdist = { url = "https://files.pythonhosted.org/packages/3f/21/1c1ffc1a039ddcc459db43cc108658f32c57d271d7289a2794e401d0fdb6/diskcache-5.6.3.tar.gz", hash = "sha256:2c3a3fa2743d8535d832ec61c2054a1641f41775aa7c556758a109941e33e4fc", size = 67916, upload-time = "2023-08-31T06:12:00.316Z" }
21
+ wheels = [
22
+ { url = "https://files.pythonhosted.org/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl", hash = "sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19", size = 45550, upload-time = "2023-08-31T06:11:58.822Z" },
23
+ ]
24
+
25
+ [[package]]
26
+ name = "jinja2"
27
+ version = "3.1.6"
28
+ source = { registry = "https://pypi.org/simple" }
29
+ dependencies = [
30
+ { name = "markupsafe" },
31
+ ]
32
+ sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" }
33
+ wheels = [
34
+ { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" },
35
+ ]
36
+
37
+ [[package]]
38
+ name = "llama-cpp-python"
39
+ version = "0.3.35"
40
+ source = { registry = "https://pypi.org/simple" }
41
+ dependencies = [
42
+ { name = "diskcache" },
43
+ { name = "jinja2" },
44
+ { name = "numpy" },
45
+ { name = "typing-extensions" },
46
+ ]
47
+ sdist = { url = "https://files.pythonhosted.org/packages/1a/71/5ecdad726b87527b361d9d95313c6591f27bb3fad79c9ab524ad4250b4c9/llama_cpp_python-0.3.35.tar.gz", hash = "sha256:1139dbb54509074b70893fab8554e3b079aa9f4d312058ce4018ef0019e3de12", size = 74868054, upload-time = "2026-08-17T09:41:34.939Z" }
48
+
49
+ [[package]]
50
+ name = "markupsafe"
51
+ version = "3.0.3"
52
+ source = { registry = "https://pypi.org/simple" }
53
+ sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313, upload-time = "2025-09-27T18:37:40.426Z" }
54
+ wheels = [
55
+ { url = "https://files.pythonhosted.org/packages/38/2f/907b9c7bbba283e68f20259574b13d005c121a0fa4c175f9bed27c4597ff/markupsafe-3.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795", size = 11622, upload-time = "2025-09-27T18:36:41.777Z" },
56
+ { url = "https://files.pythonhosted.org/packages/9c/d9/5f7756922cdd676869eca1c4e3c0cd0df60ed30199ffd775e319089cb3ed/markupsafe-3.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219", size = 12029, upload-time = "2025-09-27T18:36:43.257Z" },
57
+ { url = "https://files.pythonhosted.org/packages/00/07/575a68c754943058c78f30db02ee03a64b3c638586fba6a6dd56830b30a3/markupsafe-3.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6", size = 24374, upload-time = "2025-09-27T18:36:44.508Z" },
58
+ { url = "https://files.pythonhosted.org/packages/a9/21/9b05698b46f218fc0e118e1f8168395c65c8a2c750ae2bab54fc4bd4e0e8/markupsafe-3.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676", size = 22980, upload-time = "2025-09-27T18:36:45.385Z" },
59
+ { url = "https://files.pythonhosted.org/packages/7f/71/544260864f893f18b6827315b988c146b559391e6e7e8f7252839b1b846a/markupsafe-3.0.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9", size = 21990, upload-time = "2025-09-27T18:36:46.916Z" },
60
+ { url = "https://files.pythonhosted.org/packages/c2/28/b50fc2f74d1ad761af2f5dcce7492648b983d00a65b8c0e0cb457c82ebbe/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1", size = 23784, upload-time = "2025-09-27T18:36:47.884Z" },
61
+ { url = "https://files.pythonhosted.org/packages/ed/76/104b2aa106a208da8b17a2fb72e033a5a9d7073c68f7e508b94916ed47a9/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc", size = 21588, upload-time = "2025-09-27T18:36:48.82Z" },
62
+ { url = "https://files.pythonhosted.org/packages/b5/99/16a5eb2d140087ebd97180d95249b00a03aa87e29cc224056274f2e45fd6/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12", size = 23041, upload-time = "2025-09-27T18:36:49.797Z" },
63
+ { url = "https://files.pythonhosted.org/packages/19/bc/e7140ed90c5d61d77cea142eed9f9c303f4c4806f60a1044c13e3f1471d0/markupsafe-3.0.3-cp313-cp313-win32.whl", hash = "sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed", size = 14543, upload-time = "2025-09-27T18:36:51.584Z" },
64
+ { url = "https://files.pythonhosted.org/packages/05/73/c4abe620b841b6b791f2edc248f556900667a5a1cf023a6646967ae98335/markupsafe-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5", size = 15113, upload-time = "2025-09-27T18:36:52.537Z" },
65
+ { url = "https://files.pythonhosted.org/packages/f0/3a/fa34a0f7cfef23cf9500d68cb7c32dd64ffd58a12b09225fb03dd37d5b80/markupsafe-3.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485", size = 13911, upload-time = "2025-09-27T18:36:53.513Z" },
66
+ { url = "https://files.pythonhosted.org/packages/e4/d7/e05cd7efe43a88a17a37b3ae96e79a19e846f3f456fe79c57ca61356ef01/markupsafe-3.0.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73", size = 11658, upload-time = "2025-09-27T18:36:54.819Z" },
67
+ { url = "https://files.pythonhosted.org/packages/99/9e/e412117548182ce2148bdeacdda3bb494260c0b0184360fe0d56389b523b/markupsafe-3.0.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37", size = 12066, upload-time = "2025-09-27T18:36:55.714Z" },
68
+ { url = "https://files.pythonhosted.org/packages/bc/e6/fa0ffcda717ef64a5108eaa7b4f5ed28d56122c9a6d70ab8b72f9f715c80/markupsafe-3.0.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19", size = 25639, upload-time = "2025-09-27T18:36:56.908Z" },
69
+ { url = "https://files.pythonhosted.org/packages/96/ec/2102e881fe9d25fc16cb4b25d5f5cde50970967ffa5dddafdb771237062d/markupsafe-3.0.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025", size = 23569, upload-time = "2025-09-27T18:36:57.913Z" },
70
+ { url = "https://files.pythonhosted.org/packages/4b/30/6f2fce1f1f205fc9323255b216ca8a235b15860c34b6798f810f05828e32/markupsafe-3.0.3-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6", size = 23284, upload-time = "2025-09-27T18:36:58.833Z" },
71
+ { url = "https://files.pythonhosted.org/packages/58/47/4a0ccea4ab9f5dcb6f79c0236d954acb382202721e704223a8aafa38b5c8/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f", size = 24801, upload-time = "2025-09-27T18:36:59.739Z" },
72
+ { url = "https://files.pythonhosted.org/packages/6a/70/3780e9b72180b6fecb83a4814d84c3bf4b4ae4bf0b19c27196104149734c/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb", size = 22769, upload-time = "2025-09-27T18:37:00.719Z" },
73
+ { url = "https://files.pythonhosted.org/packages/98/c5/c03c7f4125180fc215220c035beac6b9cb684bc7a067c84fc69414d315f5/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009", size = 23642, upload-time = "2025-09-27T18:37:01.673Z" },
74
+ { url = "https://files.pythonhosted.org/packages/80/d6/2d1b89f6ca4bff1036499b1e29a1d02d282259f3681540e16563f27ebc23/markupsafe-3.0.3-cp313-cp313t-win32.whl", hash = "sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354", size = 14612, upload-time = "2025-09-27T18:37:02.639Z" },
75
+ { url = "https://files.pythonhosted.org/packages/2b/98/e48a4bfba0a0ffcf9925fe2d69240bfaa19c6f7507b8cd09c70684a53c1e/markupsafe-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218", size = 15200, upload-time = "2025-09-27T18:37:03.582Z" },
76
+ { url = "https://files.pythonhosted.org/packages/0e/72/e3cc540f351f316e9ed0f092757459afbc595824ca724cbc5a5d4263713f/markupsafe-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287", size = 13973, upload-time = "2025-09-27T18:37:04.929Z" },
77
+ ]
78
+
79
+ [[package]]
80
+ name = "numpy"
81
+ version = "2.5.2"
82
+ source = { registry = "https://pypi.org/simple" }
83
+ sdist = { url = "https://files.pythonhosted.org/packages/9a/80/db0b4559e57ec36362bedbb05530a87fafbcb6067708c946967a41d449e7/numpy-2.5.2.tar.gz", hash = "sha256:d482d171c406ae88c5b19cad3b6a1c4c5209f886ab74bc44c2c865c23f52d860", size = 20773161, upload-time = "2026-08-09T13:48:27.962Z" }
84
+ wheels = [
85
+ { url = "https://files.pythonhosted.org/packages/f5/d2/6b24738a0ef4557d189b150046cd07823c50e4273e8aebd651222e24306f/numpy-2.5.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8e4cb9a754c8a0c62eaa88273a5fba3391f4a610d1dee893c0755da31c083f15", size = 16886595, upload-time = "2026-08-09T13:45:27.323Z" },
86
+ { url = "https://files.pythonhosted.org/packages/65/60/f2d208d366f263f39c6e69ed309290717aab41078b6d04c9be2a84fa2a07/numpy-2.5.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:52c808f96484f5571a5cc863775ce50247c17dfb3b0361f8ed6b4b0456f80080", size = 11896845, upload-time = "2026-08-09T13:45:31.638Z" },
87
+ { url = "https://files.pythonhosted.org/packages/3c/79/81e0bf24f4d020a2b1d5cd297a9f60c3f24eeb116f9bba5870443f7b6a4a/numpy-2.5.2-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:29d81e97f668489cba8ebfd796b9bdd453525d35dd9e162e2daec94bf3fc7740", size = 5343880, upload-time = "2026-08-09T13:45:34.373Z" },
88
+ { url = "https://files.pythonhosted.org/packages/ba/cc/e3141cf06d1a8a2c7e107543fe1269c1d1af760d4d683c0794a4ee1127c2/numpy-2.5.2-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:afb3f0632d6b2e3ba04dbce8d1e48d321b369138b73830b5ca371a0e8d479d56", size = 6682264, upload-time = "2026-08-09T13:45:36.7Z" },
89
+ { url = "https://files.pythonhosted.org/packages/29/f1/2a64a307d92c5d98f5255a4014eb43bb6103ee477087b61ecae44a3aa9b9/numpy-2.5.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0aadf13b60048d501e05fa699efaf7734e2494f3498a4c2a5521d822640324f3", size = 15609566, upload-time = "2026-08-09T13:45:39.518Z" },
90
+ { url = "https://files.pythonhosted.org/packages/7b/44/59a1eb68e773c4098d107ef34a0dbdeca501d72ffcfbff9a7707343921ce/numpy-2.5.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:29b86ff8a6cc556b47ec6b64b194815cc80e6bf5eedcc6cddfd65318cb0b4eee", size = 16709995, upload-time = "2026-08-09T13:45:43.661Z" },
91
+ { url = "https://files.pythonhosted.org/packages/8a/4c/3e54d4ddbc359a1295f8b633e8106bcd4d7d4a206e82df051bdfb3058755/numpy-2.5.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6950c4b7dd562453090548ba7f5da7e59f57f85663f15d5dcc60e249192f7e59", size = 16972511, upload-time = "2026-08-09T13:45:47.094Z" },
92
+ { url = "https://files.pythonhosted.org/packages/f2/9f/02e371638ebf19b66d46231e4be52999e87f32d1961b113bc45656608b22/numpy-2.5.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b9727f472d2f3888053b8a75ab0cb94745a9de224bb5846dbadc0092101bc71d", size = 18465609, upload-time = "2026-08-09T13:45:50.808Z" },
93
+ { url = "https://files.pythonhosted.org/packages/eb/ae/ad6645abc7a3510fe48e8ea1ab4598166f500057ef4ebf38bfad4f1577de/numpy-2.5.2-cp313-cp313-win32.whl", hash = "sha256:4f9744f9fbdcea0bc552e8f19e1f141f811a3f9bc2be2cc6e86d982cab23e3f4", size = 6070204, upload-time = "2026-08-09T13:45:54.111Z" },
94
+ { url = "https://files.pythonhosted.org/packages/15/20/f3489f86d81ea460b2bcdceaed094142ca6579f6be0ec527b781d39afe68/numpy-2.5.2-cp313-cp313-win_amd64.whl", hash = "sha256:85aaccb24182c25df891ad0ec333585967e115269d5f1b17f2c9ae005bc96657", size = 12460532, upload-time = "2026-08-09T13:45:57.167Z" },
95
+ { url = "https://files.pythonhosted.org/packages/d5/21/35b31dde1b283b79de828b80f876afd8c94e28fe1e9c375f89e261cc4c0d/numpy-2.5.2-cp313-cp313-win_arm64.whl", hash = "sha256:bd68ece1553d2023c09a4226d9e41c586ad2d20594d1a456186c33513d2cb3f2", size = 10396725, upload-time = "2026-08-09T13:46:00.478Z" },
96
+ ]
97
+
98
+ [[package]]
99
+ name = "typing-extensions"
100
+ version = "4.16.0"
101
+ source = { registry = "https://pypi.org/simple" }
102
+ sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
103
+ wheels = [
104
+ { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
105
+ ]