okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221bench: community report, 2x RX 6900 XT (gfx1030), seven configurations (#927)cc52598ab

main
20.6 KiB392 linesraw
1[
2  {
3    "label": "warmup",
4    "expected_prompt_tokens": null,
5    "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",
6    "client_ttft_s": 0.3342244499945082,
7    "client_elapsed_s": 0.42381387800560333,
8    "finish_reason": "stop",
9    "usage": {
10      "prompt_tokens": 19,
11      "completion_tokens": 2,
12      "total_tokens": 21,
13      "prompt_tokens_details": {
14        "cached_tokens": 0
15      }
16    },
17    "engine": {
18      "projection": null,
19      "time": 1791191399.482582,
20      "duration_s": 0.4,
21      "finish": "stop",
22      "prompt_tokens": 19,
23      "reused": 0,
24      "output_tokens": 2,
25      "prompt_total": 19,
26      "prompt_read": 19,
27      "engine_generated": 2,
28      "prompt_ms": 293.6,
29      "decode_ms": 126.9,
30      "decode_tok_s": 15.8,
31      "hit_rate": 0.397,
32      "pcie_share": 0.375,
33      "ram_blobs": 0,
34      "file_blobs": 0,
35      "file_mb": 0.0,
36      "drafts_offered": 3,
37      "drafts_accepted": 3
38    },
39    "text": "READY"
40  },
41  {
42    "label": "tokens-4096-run-1",
43    "expected_prompt_tokens": 4096,
44    "request_sha256": "5d94c652067354bbe72930d2bdad3886564f08cf2546b32411af02d33ad3ce05",
45    "client_ttft_s": 9.079632132008555,
46    "client_elapsed_s": 13.438321128007374,
47    "finish_reason": "length",
48    "usage": {
49      "prompt_tokens": 4096,
50      "completion_tokens": 256,
51      "total_tokens": 4352,
52      "prompt_tokens_details": {
53        "cached_tokens": 0
54      }
55    },
56    "engine": {
57      "projection": null,
58      "time": 1791191400.5120306,
59      "duration_s": 13.4,
60      "finish": "length",
61      "prompt_tokens": 4096,
62      "reused": 0,
63      "output_tokens": 256,
64      "prompt_total": 4096,
65      "prompt_read": 4096,
66      "engine_generated": 256,
67      "prompt_ms": 9047.9,
68      "decode_ms": 4381.4,
69      "decode_tok_s": 58.4,
70      "hit_rate": 0.717,
71      "pcie_share": 0.38,
72      "ram_blobs": 0,
73      "file_blobs": 0,
74      "file_mb": 0.0,
75      "drafts_offered": 215,
76      "drafts_accepted": 146
77    },
78    "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (with the last one truncated), that perform deterministic integer transformations. At first glance, the code appears repetitive and verbose, but it serves as an excellent case study for analyzing algorithmic patterns, modular arithmetic, code maintainability, and the trade-offs between explicit definition and programmatic generation.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nEach function in the module accepts a single integer argument, `value`, and returns an integer result. The core logic of every function follows a linear transformation pattern: `(value * multiplier + offset) % modulus`. The modulus is consistently set to `100003`, a prime number. Using a prime modulus is a common practice in cryptography and hashing algorithms because it ensures that the multiplicative group of integers modulo $p$ is cyclic, which can help avoid certain mathematical degeneracies when dealing with large numbers or cryptographic keys.\n\nThe transformation can be generalized as $f_n(x) = (x \\cdot a_n + b_n) \\pmod{100003}$, where $a_n$ is the multiplier and $b_n$ is"
79  },
80  {
81    "label": "tokens-4096-run-2",
82    "expected_prompt_tokens": 4096,
83    "request_sha256": "8da8a04e70e4d916f6630729082bdfb9d6ebbb47117aad60bc0541bce198a213",
84    "client_ttft_s": 8.94553212399478,
85    "client_elapsed_s": 12.898858545988332,
86    "finish_reason": "length",
87    "usage": {
88      "prompt_tokens": 4096,
89      "completion_tokens": 256,
90      "total_tokens": 4352,
91      "prompt_tokens_details": {
92        "cached_tokens": 0
93      }
94    },
95    "engine": {
96      "projection": null,
97      "time": 1791191414.5395615,
98      "duration_s": 12.9,
99      "finish": "length",
100      "prompt_tokens": 4096,
101      "reused": 0,
102      "output_tokens": 256,
103      "prompt_total": 4096,
104      "prompt_read": 4096,
105      "engine_generated": 256,
106      "prompt_ms": 8914.0,
107      "decode_ms": 3976.0,
108      "decode_tok_s": 64.4,
109      "hit_rate": 0.771,
110      "pcie_share": 0.381,
111      "ram_blobs": 0,
112      "file_blobs": 0,
113      "file_mb": 0.0,
114      "drafts_offered": 228,
115      "drafts_accepted": 155
116    },
117    "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (and potentially beyond, given the truncation), that perform deterministic integer transformations. At first glance, the code appears repetitive and verbose, but it serves as an excellent case study for analyzing algorithmic patterns, modular arithmetic, code maintainability, and the trade-offs between explicit definition and programmatic generation.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nEach function in the module follows a strict linear transformation pattern: $f(x) = (a \\cdot x + b) \\pmod m$. Here, $x$ is the input `value`, $a$ is a multiplier, $b$ is an additive constant, and $m$ is the modulus, fixed at `100003` for all functions. This structure is known as a Linear Congruential Generator (LCG) step, commonly used in pseudo-random number generation, though here it is applied deterministically to specific inputs.\n\nThe multiplier $a$ and the additive constant $b$ vary per function. For the first 97 functions (`task_00000` to `task_00"
118  },
119  {
120    "label": "tokens-4096-run-3",
121    "expected_prompt_tokens": 4096,
122    "request_sha256": "946079edb58e764050805886156dc8f877cc29e1ca8d01c84e9a1e7917d49492",
123    "client_ttft_s": 8.941021777995047,
124    "client_elapsed_s": 12.99448712899175,
125    "finish_reason": "length",
126    "usage": {
127      "prompt_tokens": 4096,
128      "completion_tokens": 256,
129      "total_tokens": 4352,
130      "prompt_tokens_details": {
131        "cached_tokens": 0
132      }
133    },
134    "engine": {
135      "projection": null,
136      "time": 1791191428.0315413,
137      "duration_s": 13.0,
138      "finish": "length",
139      "prompt_tokens": 4096,
140      "reused": 0,
141      "output_tokens": 256,
142      "prompt_total": 4096,
143      "prompt_read": 4096,
144      "engine_generated": 256,
145      "prompt_ms": 8908.5,
146      "decode_ms": 4076.6,
147      "decode_tok_s": 62.8,
148      "hit_rate": 0.775,
149      "pcie_share": 0.377,
150      "ram_blobs": 0,
151      "file_blobs": 0,
152      "file_mb": 0.0,
153      "drafts_offered": 220,
154      "drafts_accepted": 149
155    },
156    "text": "The provided Python module represents a synthetic collection of deterministic integer transformation functions, likely generated for benchmarking or testing purposes. The code consists of a series of functions, named sequentially from `task_00000` to `task_00112` (with the last function definition truncated in the input), each accepting a single integer argument `value` and returning an integer result. The core logic within each function follows a consistent linear congruential pattern: `(value * multiplier + addend) % 100003`. This structure offers a rich opportunity to discuss deterministic transforms, modular arithmetic, software engineering principles, and performance considerations.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nAt the heart of this module is the concept of a deterministic transform. A function is deterministic if, given the same input, it always produces the same output. These functions are pure mathematical operations with no side effects, no reliance on external state, and no randomness. This makes them ideal for unit testing, caching, and parallel execution.\n\nThe specific transform used is a linear function modulo a prime number. The formula is $f(x) = (ax + b) \\pmod m$, where $m = 100003$."
157  },
158  {
159    "label": "tokens-32768-run-1",
160    "expected_prompt_tokens": 32768,
161    "request_sha256": "e37cfc2ab9867d91130927440df24a57255a736b8d0d829d07d828e22e3de572",
162    "client_ttft_s": 69.26267456699861,
163    "client_elapsed_s": 73.2305413819995,
164    "finish_reason": "length",
165    "usage": {
166      "prompt_tokens": 32768,
167      "completion_tokens": 256,
168      "total_tokens": 33024,
169      "prompt_tokens_details": {
170        "cached_tokens": 0
171      }
172    },
173    "engine": {
174      "projection": null,
175      "time": 1791191442.1795278,
176      "duration_s": 73.2,
177      "finish": "length",
178      "prompt_tokens": 32768,
179      "reused": 0,
180      "output_tokens": 256,
181      "prompt_total": 32768,
182      "prompt_read": 32768,
183      "engine_generated": 256,
184      "prompt_ms": 69192.9,
185      "decode_ms": 3991.0,
186      "decode_tok_s": 64.1,
187      "hit_rate": 0.743,
188      "pcie_share": 0.362,
189      "ram_blobs": 0,
190      "file_blobs": 0,
191      "file_mb": 0.0,
192      "drafts_offered": 212,
193      "drafts_accepted": 160
194    },
195    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888` (and potentially beyond, given the truncation), each performing a specific linear transformation on an integer input. This analysis explores the mathematical structure, implementation details, and software engineering implications of this codebase.\n\n### Mathematical Structure and Deterministic Transforms\n\nAt its core, every function in this module implements a linear congruential transformation. The general form of the operation is:\n\n$$ f(x) = (a \\cdot x + b) \\pmod m $$\n\nWhere:\n*   $x$ is the input integer (`value`).\n*   $a$ is the multiplier.\n*   $b$ is the additive constant.\n*   $m$ is the modulus, fixed at `100003` for all functions.\n\nThe modulus `100003` is a prime number. In number theory, using a prime modulus ensures that the multiplicative group of integers modulo $m$ is cyclic, which"
196  },
197  {
198    "label": "tokens-32768-run-2",
199    "expected_prompt_tokens": 32768,
200    "request_sha256": "ed2dfaa11aecad9f4563f33bb5f5d4b8704486508700b8fa572722cc1225ee26",
201    "client_ttft_s": 69.30594590399414,
202    "client_elapsed_s": 73.61023822599964,
203    "finish_reason": "length",
204    "usage": {
205      "prompt_tokens": 32768,
206      "completion_tokens": 256,
207      "total_tokens": 33024,
208      "prompt_tokens_details": {
209        "cached_tokens": 0
210      }
211    },
212    "engine": {
213      "projection": null,
214      "time": 1791191516.5322013,
215      "duration_s": 73.6,
216      "finish": "length",
217      "prompt_tokens": 32768,
218      "reused": 0,
219      "output_tokens": 256,
220      "prompt_total": 32768,
221      "prompt_read": 32768,
222      "engine_generated": 256,
223      "prompt_ms": 69237.7,
224      "decode_ms": 4327.0,
225      "decode_tok_s": 59.2,
226      "hit_rate": 0.762,
227      "pcie_share": 0.385,
228      "ram_blobs": 0,
229      "file_blobs": 0,
230      "file_mb": 0.0,
231      "drafts_offered": 211,
232      "drafts_accepted": 144
233    },
234    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888`, each performing a specific linear transformation on an integer input. While the code appears repetitive and trivial at first glance, it serves as a rigorous stress test for several fundamental aspects of software engineering and computer science, including deterministic integer transforms, modulo arithmetic, code maintainability, and computational complexity.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a deterministic integer transform. A deterministic transform is a function where the output is entirely determined by the input, with no randomness or side effects. In this case, the transform is a linear congruential generator (LCG) step, a common primitive in pseudorandom number generation and cryptographic hashing. The general form of the operation is:\n\n$$ f(x) = (a \\cdot x + c) \\pmod m $$\n\nWhere:\n*   $x$ is the input `value`.\n*   $a$ is the multiplier (coefficient).\n*"
235  },
236  {
237    "label": "tokens-32768-run-3",
238    "expected_prompt_tokens": 32768,
239    "request_sha256": "2a3c7342622e80c3cd8b37e062f0a2f64640c119ece8cccbf168639041eac079",
240    "client_ttft_s": 69.34367729199585,
241    "client_elapsed_s": 73.44951869499346,
242    "finish_reason": "length",
243    "usage": {
244      "prompt_tokens": 32768,
245      "completion_tokens": 256,
246      "total_tokens": 33024,
247      "prompt_tokens_details": {
248        "cached_tokens": 0
249      }
250    },
251    "engine": {
252      "projection": null,
253      "time": 1791191591.262336,
254      "duration_s": 73.4,
255      "finish": "length",
256      "prompt_tokens": 32768,
257      "reused": 0,
258      "output_tokens": 256,
259      "prompt_total": 32768,
260      "prompt_read": 32768,
261      "engine_generated": 256,
262      "prompt_ms": 69274.5,
263      "decode_ms": 4128.7,
264      "decode_tok_s": 62.0,
265      "hit_rate": 0.779,
266      "pcie_share": 0.369,
267      "ram_blobs": 0,
268      "file_blobs": 0,
269      "file_mb": 0.0,
270      "drafts_offered": 217,
271      "drafts_accepted": 153
272    },
273    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888` (and potentially beyond, given the truncation), each performing a specific linear transformation on an integer input. While the code appears repetitive and trivial at first glance, it serves as a rigorous stress test for several fundamental aspects of software engineering and computer science, including deterministic integer transforms, modular arithmetic, code maintainability, and computational complexity.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nAt the core of every function in this module is a deterministic linear transform defined by the formula:\n$$ f(x) = (a \\cdot x + b) \\pmod m $$\nwhere $x$ is the input `value`, $a$ is a multiplier, $b$ is an additive constant, and $m$ is the modulus, fixed at `100003` for all functions.\n\nThe choice of `100003` as the modulus is significant. It is a prime number. In number theory, working modulo a prime"
274  },
275  {
276    "label": "tokens-128000-run-1",
277    "expected_prompt_tokens": 128000,
278    "request_sha256": "3235aac3f934cf1d889c25973ca172b355509dc2522fdfb463fbefe979a9075d",
279    "client_ttft_s": 279.623212305989,
280    "client_elapsed_s": 283.8792177899886,
281    "finish_reason": "length",
282    "usage": {
283      "prompt_tokens": 128000,
284      "completion_tokens": 256,
285      "total_tokens": 128256,
286      "prompt_tokens_details": {
287        "cached_tokens": 0
288      }
289    },
290    "engine": {
291      "projection": null,
292      "time": 1791191667.9257479,
293      "duration_s": 283.7,
294      "finish": "length",
295      "prompt_tokens": 128000,
296      "reused": 0,
297      "output_tokens": 256,
298      "prompt_total": 128000,
299      "prompt_read": 128000,
300      "engine_generated": 256,
301      "prompt_ms": 279430.7,
302      "decode_ms": 4279.6,
303      "decode_tok_s": 59.8,
304      "hit_rate": 0.786,
305      "pcie_share": 0.391,
306      "ram_blobs": 0,
307      "file_blobs": 0,
308      "file_mb": 0.0,
309      "drafts_offered": 208,
310      "drafts_accepted": 148
311    },
312    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific constants, creating a deterministic integer transform pipeline.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of every function in this module is the expression:\n`return (value * multiplier + addend) % 100003`\n\nThis is a classic **Linear Congruential Generator (LCG)** step, a fundamental algorithm in pseudo-random number generation and hashing. The operation transforms an input integer `value` into a new integer within the range `[0, 100002]`.\n\n1.  **Multiplier (`a`)**: The multiplier cycles through values from 1 to 97. For example, `task_00000` uses `1`, `task_00001` uses `2`, and so on. When the index reaches `task_0009"
313  },
314  {
315    "label": "tokens-128000-run-2",
316    "expected_prompt_tokens": 128000,
317    "request_sha256": "5f4b8bc9f0afc7765320abd89960c0938e0d7cf5974e962fdbd0613fef31c8d4",
318    "client_ttft_s": 279.4283170609997,
319    "client_elapsed_s": 284.18431252198934,
320    "finish_reason": "length",
321    "usage": {
322      "prompt_tokens": 128000,
323      "completion_tokens": 256,
324      "total_tokens": 128256,
325      "prompt_tokens_details": {
326        "cached_tokens": 0
327      }
328    },
329    "engine": {
330      "projection": null,
331      "time": 1791191954.9390633,
332      "duration_s": 284.0,
333      "finish": "length",
334      "prompt_tokens": 128000,
335      "reused": 0,
336      "output_tokens": 256,
337      "prompt_total": 128000,
338      "prompt_read": 128000,
339      "engine_generated": 256,
340      "prompt_ms": 279236.4,
341      "decode_ms": 4779.5,
342      "decode_tok_s": 53.6,
343      "hit_rate": 0.804,
344      "pcie_share": 0.384,
345      "ram_blobs": 0,
346      "file_blobs": 0,
347      "file_mb": 0.0,
348      "drafts_offered": 209,
349      "drafts_accepted": 126
350    },
351    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or compiler. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific constants, creating a deterministic integer transform pipeline.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of every function in this module is the expression:\n`return (value * multiplier + addend) % 100003`\n\nThis is a classic **Linear Congruential Generator (LCG)** step, a fundamental algorithm in pseudo-random number generation and hashing. The operation transforms an input integer `value` into a new integer within a fixed range.\n\n1.  **Multiplication (`value * multiplier`)**: This scales the input. The multiplier cycles through values from 1 to 97. This cycling suggests a pattern designed to prevent simple caching or optimization by ensuring that consecutive functions do not share identical arithmetic operations, thereby forcing the interpreter to evaluate each function call independently.\n2.  **Addition (`+ addend`)**"
352  },
353  {
354    "label": "tokens-128000-run-3",
355    "expected_prompt_tokens": 128000,
356    "request_sha256": "5c3fb71db9f9f44765f28389d1032f2c8b6687d1bf5ca6f33aeb924072cfa6e4",
357    "client_ttft_s": 279.6365208579955,
358    "client_elapsed_s": 284.1592479520041,
359    "finish_reason": "length",
360    "usage": {
361      "prompt_tokens": 128000,
362      "completion_tokens": 256,
363      "total_tokens": 128256,
364      "prompt_tokens_details": {
365        "cached_tokens": 0
366      }
367    },
368    "engine": {
369      "projection": null,
370      "time": 1791192242.2108586,
371      "duration_s": 284.0,
372      "finish": "length",
373      "prompt_tokens": 128000,
374      "reused": 0,
375      "output_tokens": 256,
376      "prompt_total": 128000,
377      "prompt_read": 128000,
378      "engine_generated": 256,
379      "prompt_ms": 279446.2,
380      "decode_ms": 4546.2,
381      "decode_tok_s": 56.3,
382      "hit_rate": 0.762,
383      "pcie_share": 0.395,
384      "ram_blobs": 0,
385      "file_blobs": 0,
386      "file_mb": 0.0,
387      "drafts_offered": 218,
388      "drafts_accepted": 144
389    },
390    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific constants, creating a deterministic integer transform pipeline.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of every function in this module is the expression `(value * multiplier + offset) % 100003`. This is a classic linear congruential generator (LCG) step, often used in pseudo-random number generation, hashing, and cryptographic primitives. The operation is deterministic: for a given input `value`, the output is always the same, provided the `multiplier` and `offset` remain constant.\n\nThe modulus `100003` is a prime number. Using a prime modulus is significant in number theory because it ensures that the multiplicative group of integers modulo `p` is cyclic. This property is crucial for ensuring that the transformation is bijective (one-to-one) if the multiplier is not a multiple of the"
391  }
392]