Runtime p3d (fast2 + dual-NoC decode matmuls): new runtime archive and image pin, re-recorded proofs, p3d evidence; p3c evidence moved to evidence/previous-p3c
Browse filesThis view is limited to 50 files because it contains too many changes. Β See raw diff
- README.md +36 -12
- SHA256SUMS +74 -44
- evidence/http-p3d/exact.json +185 -0
- evidence/http-p3d/long.json +231 -0
- evidence/http-p3d/tput-128/requests-128-c1.json +34 -0
- evidence/http-p3d/tput-128/summary.json +24 -0
- evidence/http-p3d/tput-128/warmup-128.json +16 -0
- evidence/http-p3d/tput-131072/requests-131072-c1.json +34 -0
- evidence/http-p3d/tput-131072/summary.json +24 -0
- evidence/http-p3d/tput-131072/warmup-131072.json +16 -0
- evidence/http-p3d/tput-2048/requests-2048-c1.json +34 -0
- evidence/http-p3d/tput-2048/summary.json +24 -0
- evidence/http-p3d/tput-2048/warmup-2048.json +16 -0
- evidence/http-p3d/tput-261632/requests-261632-c1.json +34 -0
- evidence/http-p3d/tput-261632/summary.json +24 -0
- evidence/http-p3d/tput-261632/warmup-261632.json +16 -0
- evidence/http-p3d/tput-32768/requests-32768-c1.json +34 -0
- evidence/http-p3d/tput-32768/summary.json +24 -0
- evidence/http-p3d/tput-32768/warmup-32768.json +16 -0
- evidence/http-p3d/tput-8192/requests-8192-c1.json +34 -0
- evidence/http-p3d/tput-8192/summary.json +24 -0
- evidence/http-p3d/tput-8192/warmup-8192.json +16 -0
- evidence/{http-p3c β http-p3d}/tput_vs_direct.json +0 -0
- evidence/localmaxxing/p3d-2k/prompt-2k.txt +216 -0
- evidence/localmaxxing/p3d-2k/speed-test.json +212 -0
- evidence/{http-p3c β previous-p3c/http}/exact.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/long.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-128/requests-128-c1.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-128/summary.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-128/warmup-128.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-131072/requests-131072-c1.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-131072/summary.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-131072/warmup-131072.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-2048/requests-2048-c1.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-2048/summary.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-2048/warmup-2048.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-261632/requests-261632-c1.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-261632/summary.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-261632/warmup-261632.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-32768/requests-32768-c1.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-32768/summary.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-32768/warmup-32768.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-8192/requests-8192-c1.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-8192/summary.json +0 -0
- evidence/{http-p3c β previous-p3c/http}/tput-8192/warmup-8192.json +0 -0
- evidence/previous-p3c/http/tput_vs_direct.json +22 -0
- evidence/{localmaxxing/speed-test.json β previous-p3c/localmaxxing-speed-test.json} +0 -0
- evidence/{public-download-verification.json β previous-p3c/public-download-verification.json} +0 -0
- evidence/{public-serving-smoke.json β previous-p3c/public-serving-smoke.json} +0 -0
- evidence/{public-serving-smoke β previous-p3c/public-serving-smoke}/requests-2048-c1.json +0 -0
README.md
CHANGED
|
@@ -28,14 +28,14 @@ All-BFP8: every text matrix (attention, MLP, LM head) is stored as TTNN `bfloat8
|
|
| 28 |
|
| 29 |
`tensors/tensor_cache_bf16/*.tensorbin` holds the exact TTNN host tensors that the runtime uploads to device DRAM. The directory name comes from the runtime's tensor-cache writer. The files are not a regenerable cache: they are the checkpoint. Every file is hashed in the manifest, and the loader refuses to start if any file is missing or changed. The drafter (`gemma-4-12B-it-assistant/`) stores its tensors the same way. Its recorded dtype is `bfp8-lm4`: BFP8 weights and a BFP4 drafter LM head.
|
| 30 |
|
| 31 |
-
The loader requires two proofs, both bound to the manifests:
|
| 32 |
|
| 33 |
- [`gemma-4-12B-it/equivalence.json`](gemma-4-12B-it/equivalence.json): the full logits of the native reload are bit-exact to quantizing the original weights at load time, over 4,093 teacher-forced tokens (`exact_logits_equal: true`).
|
| 34 |
- [`gemma-4-12B-it-assistant/spec_equivalence.json`](gemma-4-12B-it-assistant/spec_equivalence.json): greedy speculative decoding with draft length 5 produced token streams identical to non-speculative greedy decoding on the same proven runtime (`streams_identical: true`, 3,130 tokens compared).
|
| 35 |
|
| 36 |
## Quality versus the original BF16 model
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
| Plan | Weight read | chat dPPL / top-1 | code dPPL / top-1 | 16K book dPPL / top-1 | KL | GSM8K-50 |
|
| 41 |
|---|---:|---:|---:|---:|---:|---:|
|
|
@@ -46,24 +46,42 @@ Teacher-forced comparison against the original model run in BF16 on CPU ([`evide
|
|
| 46 |
|
| 47 |
**Why BFP8 and not BFP4:** with the MLP in BFP4, perplexity rises about 5% and top-1 agreement falls to about 87%. All-BFP4 is worse still. BFP8 stays within about 1β2% of BF16 perplexity.
|
| 48 |
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
## Performance
|
| 52 |
|
| 53 |
-
These numbers were measured over HTTP on one P150 with greedy decoding, 512-token outputs, chat prompts, one user and speculative decoding on ([`evidence/http-
|
| 54 |
|
| 55 |
| Prompt tokens | 128 | 2K | 8K | 32K | 131K | 262K (261,632) |
|
| 56 |
|---|---:|---:|---:|---:|---:|---:|
|
| 57 |
-
| Decode tok/s |
|
| 58 |
-
| TTFT (s) | 0.09 | 0.
|
| 59 |
|
| 60 |
-
|
| 61 |
|
| 62 |
-
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
- **
|
|
|
|
|
|
|
| 67 |
|
| 68 |
## Download and serve
|
| 69 |
|
|
@@ -131,7 +149,13 @@ curl http://127.0.0.1:8000/v1/chat/completions -H 'Content-Type: application/jso
|
|
| 131 |
- [`release-manifest.json`](release-manifest.json): the complete repository inventory with size and sha256 for every file.
|
| 132 |
- [`SHA256SUMS`](SHA256SUMS): file checksums.
|
| 133 |
- [`reproduction.json`](reproduction.json): source, runtime, serving and evidence contract.
|
| 134 |
-
- [`runtime/`](runtime/): source of the runtime image layers, recorded in [`runtime/source.json`](runtime/source.json). It contains
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
- [`native_checkpoint.py`](native_checkpoint.py) and [`provenance/build_native_checkpoint.py`](provenance/build_native_checkpoint.py): the manifest, proof and verification tool, and the checkpoint builder.
|
| 136 |
|
| 137 |
## License and attribution
|
|
|
|
| 28 |
|
| 29 |
`tensors/tensor_cache_bf16/*.tensorbin` holds the exact TTNN host tensors that the runtime uploads to device DRAM. The directory name comes from the runtime's tensor-cache writer. The files are not a regenerable cache: they are the checkpoint. Every file is hashed in the manifest, and the loader refuses to start if any file is missing or changed. The drafter (`gemma-4-12B-it-assistant/`) stores its tensors the same way. Its recorded dtype is `bfp8-lm4`: BFP8 weights and a BFP4 drafter LM head.
|
| 30 |
|
| 31 |
+
The loader requires two proofs, both bound to the manifests and recorded on the current runtime (p3d, see [Runtime](#runtime)):
|
| 32 |
|
| 33 |
- [`gemma-4-12B-it/equivalence.json`](gemma-4-12B-it/equivalence.json): the full logits of the native reload are bit-exact to quantizing the original weights at load time, over 4,093 teacher-forced tokens (`exact_logits_equal: true`).
|
| 34 |
- [`gemma-4-12B-it-assistant/spec_equivalence.json`](gemma-4-12B-it-assistant/spec_equivalence.json): greedy speculative decoding with draft length 5 produced token streams identical to non-speculative greedy decoding on the same proven runtime (`streams_identical: true`, 3,130 tokens compared).
|
| 35 |
|
| 36 |
## Quality versus the original BF16 model
|
| 37 |
|
| 38 |
+
This table is the precision-selection study. It is a teacher-forced comparison against the original model run in BF16 on CPU, measured on the exact (unfused) TT build ([`evidence/quality/quant_table.json`](evidence/quality/quant_table.json)). For the shipped runtime's own gate, see [Runtime](#runtime). dPPL is the perplexity change relative to BF16, top-1 is argmax agreement with BF16, and KL is the mean KL divergence on the short-prompt set:
|
| 39 |
|
| 40 |
| Plan | Weight read | chat dPPL / top-1 | code dPPL / top-1 | 16K book dPPL / top-1 | KL | GSM8K-50 |
|
| 41 |
|---|---:|---:|---:|---:|---:|---:|
|
|
|
|
| 46 |
|
| 47 |
**Why BFP8 and not BFP4:** with the MLP in BFP4, perplexity rises about 5% and top-1 agreement falls to about 87%. All-BFP4 is worse still. BFP8 stays within about 1β2% of BF16 perplexity.
|
| 48 |
|
| 49 |
+
## Runtime
|
| 50 |
+
|
| 51 |
+
The current runtime is **p3d**: image `lottolabs/gemma4-12b-tt-p150:p3d`, ID `sha256:331e79b24fa2575c436158be994c6bc0e184d776d15305e82538d2e4d646f544`. Its Gemma 4 tree is at git commit `061e48d`. On top of the earlier runtime it adds batched speculative verification, a fused GELUΓup kernel, a decode KV write through a rows kernel, and dual-NoC weight reads for the decode matmuls (the TTNN in1 reader overlay, `dn` branch `efc465f`).
|
| 52 |
+
|
| 53 |
+
These fast paths are numerics switches, and the proofs bind them (`runtime_env`: `GEMMA4_VERIFY_SDPA=batched`, `GEMMA4_FUSE_GELU_MUL=1`, `GEMMA4_DECODE_KV_ROWS=1`, `GEMMA4_DECODE_MM_DN=1`). They change floating-point rounding relative to the previous runtime p3c, so greedy outputs are not token-identical to p3c's. Within p3d, speculative output is identical to non-speculative output, and HTTP output is identical to the direct runtime (see below). The checkpoint tensors are byte-identical to the p3c release. Only `equivalence.json` and `spec_equivalence.json` were re-recorded on p3d.
|
| 54 |
+
|
| 55 |
+
**Quality gate for p3d.** Decode-path teacher forcing was compared against the original model in BF16 on CPU ([`evidence/quality/p3d-gate/`](evidence/quality/p3d-gate/)):
|
| 56 |
+
|
| 57 |
+
| Domain | Positions | dPPL vs BF16 | top-1 vs BF16 | argmax agreement with exact build |
|
| 58 |
+
|---|---:|---:|---:|---:|
|
| 59 |
+
| chat | 5,888 | +1.00% | 98.2% | 98.5% |
|
| 60 |
+
| code | 3,328 | +0.61% | 98.7% | 98.9% |
|
| 61 |
+
| long book | 2,048 | +1.15% | 96.5% | 97.9% |
|
| 62 |
+
|
| 63 |
+
GSM8K-100 scored 97/100 on p3d. The exact (unfused) build and the BF16 CPU reference also scored 97/100.
|
| 64 |
+
|
| 65 |
+
**Previous runtime:** p3c, image `lottolabs/gemma4-12b-tt-p150:p3c`, ID `sha256:53428e7f60a705b75b51b5166f44a912b19c3032981013fb788dd1ce9757aa73`. It was published at repo revision [`3d9001d5`](https://huggingface.co/Lottolabs/gemma-4-12B-it-TT-BFP8-P150/tree/3d9001d5f52a5f3350b90e87703440a44255bd95), and its evidence is under [`evidence/previous-p3c/`](evidence/previous-p3c/). On that runtime, HTTP decode ran at 50.6 / 49.3 / 46.9 / 45.1 / 29.7 / 21.8 tok/s at the prompt lengths in the table below. To serve p3c, use the `launch.py` from that revision; each launcher pins its own runtime image.
|
| 66 |
|
| 67 |
## Performance
|
| 68 |
|
| 69 |
+
These numbers were measured on runtime p3d over HTTP on one P150 with greedy decoding, 512-token outputs, chat prompts, one user and speculative decoding on ([`evidence/http-p3d/`](evidence/http-p3d/)):
|
| 70 |
|
| 71 |
| Prompt tokens | 128 | 2K | 8K | 32K | 131K | 262K (261,632) |
|
| 72 |
|---|---:|---:|---:|---:|---:|---:|
|
| 73 |
+
| Decode tok/s | 63.1 | 52.4 | 53.9 | 43.4 | 30.9 | 24.6 |
|
| 74 |
+
| TTFT (s) | 0.09 | 0.65 | 3.2 | 17.0 | 124 | 395 |
|
| 75 |
|
| 76 |
+
Decode speed with speculative decoding depends on how many drafted tokens the content lets the model accept. That is why it does not fall monotonically with prompt length.
|
| 77 |
|
| 78 |
+
**LocalMaxxing, 2K prompt (p3d).** The server reached **53.9 output tok/s** (median of 5), 3,063 tok/s prefill and a 651 ms TTFT, with 1,996 prompt and 256 output tokens. The run was submitted as `cmuosddj10kd1lq010lf2ahkj` and approved as an unverified run ([`evidence/localmaxxing/p3d-2k/speed-test.json`](evidence/localmaxxing/p3d-2k/speed-test.json); the prompt is included).
|
| 79 |
|
| 80 |
+
## Serving correctness (p3d)
|
| 81 |
+
|
| 82 |
+
- **HTTP matches the direct runtime token for token.** All 28 of 28 checks passed ([`evidence/http-p3d/exact.json`](evidence/http-p3d/exact.json)). They cover chat and completion outputs on 10 prompts, request isolation, sampled requests followed by greedy ones, cancellation mid-prefill and mid-decode, and rejection of image input. The 512-token outputs at 32K and 261,632 prompt tokens were also identical to the direct runtime ([`evidence/http-p3d/tput_vs_direct.json`](evidence/http-p3d/tput_vs_direct.json)).
|
| 83 |
+
- **Long context works to the native limit.** Passkeys at the beginning, middle and end of the prompt were retrieved at 32,768, 131,072 and 262,016 prompt tokens. A request totalling 262,145 tokens was rejected with HTTP 400 before generation started ([`evidence/http-p3d/long.json`](evidence/http-p3d/long.json)).
|
| 84 |
+
- **The public package was verified end to end.** It was downloaded fresh, anonymously, and served on a P150 ([`evidence/public-download-verification.json`](evidence/public-download-verification.json), [`evidence/public-serving-smoke.json`](evidence/public-serving-smoke.json)).
|
| 85 |
|
| 86 |
## Download and serve
|
| 87 |
|
|
|
|
| 149 |
- [`release-manifest.json`](release-manifest.json): the complete repository inventory with size and sha256 for every file.
|
| 150 |
- [`SHA256SUMS`](SHA256SUMS): file checksums.
|
| 151 |
- [`reproduction.json`](reproduction.json): source, runtime, serving and evidence contract.
|
| 152 |
+
- [`runtime/`](runtime/): source of the runtime image layers, recorded in [`runtime/source.json`](runtime/source.json). It contains:
|
| 153 |
+
- the Gemma 4 TT model tree (`runtime/gemma4/`, git commit `061e48ddf6a0eab5dac1f958731fcb70768231d1`, byte-identical to the tree in the image);
|
| 154 |
+
- the TTNN overlay (`runtime/ttnn-overlay/`: 1D matmul factory and the dual-NoC in1 reader, `dn` commit `efc465f4b1a44025ae4a33e4dbc7d371b3f9266c`, byte-identical to the image);
|
| 155 |
+
- the vLLM/TT-plugin serving overlay;
|
| 156 |
+
- the Dockerfile chain (p2b β p2c β ttnn-dn1 β fast2 β p3d) and the build script.
|
| 157 |
+
|
| 158 |
+
This is provenance: serving uses the checksum-pinned `runtime-image.tar.gz`.
|
| 159 |
- [`native_checkpoint.py`](native_checkpoint.py) and [`provenance/build_native_checkpoint.py`](provenance/build_native_checkpoint.py): the manifest, proof and verification tool, and the checkpoint builder.
|
| 160 |
|
| 161 |
## License and attribution
|
SHA256SUMS
CHANGED
|
@@ -1,39 +1,66 @@
|
|
| 1 |
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
1c7778066e729cf8e2f302418c63f1640eba7d88a6b943b9681f3819c1579adb evidence/http-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
32904d8e6be2daea2b797cc71b8d587e06605dc23421d96e1912c8593ed4b991 evidence/quality/quant_table.json
|
| 31 |
-
b118bf712e7d70058213f378920c0b129a2366b554f23d489c441ecbb2e5f2ba evidence/quality/runtime-gate-dtf-score.json
|
| 32 |
b6f19209588fcefe41f65b193fad6148446253c470d36e29441ecc5158a54e6d gemma-4-12B-it-assistant/config.json
|
| 33 |
2db4559e6ec51d81a7cd51b003743ca689fed5220d41b6a403b8d6947e1c74b7 gemma-4-12B-it-assistant/drafter_manifest.json
|
| 34 |
02b56bd11e1cd1e363e701a85a2fd7fbaa2992ec3358c1cd7cc44ead7208f505 gemma-4-12B-it-assistant/generation_config.json
|
| 35 |
3279c173daddd7186e79d652ad94022415736d3a1370625696c898429b06d6df gemma-4-12B-it-assistant/model.safetensors
|
| 36 |
-
|
| 37 |
70eb60efff28b3606bbc91b35a3311e7b4ccae3b70e0f3787c9c0b32cc4ebf3c gemma-4-12B-it-assistant/tensors/assistant_tensor_cache_bfp8/final_norm/weight_dtype_BFLOAT16_layout_ROW_MAJOR.tensorbin
|
| 38 |
1179fa4a06ab8e4bae470dce5c4848d5b3b5eca1a3c87d8a02001bfb1aacf02f gemma-4-12B-it-assistant/tensors/assistant_tensor_cache_bfp8/layer_0/layer_0/input_layernorm/weight_dtype_BFLOAT16_layout_ROW_MAJOR.tensorbin
|
| 39 |
bc68d0c960e2782993ff0d354800e3f4d67dd80d1b31f0775dc5574114402787 gemma-4-12B-it-assistant/tensors/assistant_tensor_cache_bfp8/layer_0/layer_0/mlp/down_proj.weight_bfp8_dtype_BFLOAT8_B_layout_TILE.tensorbin
|
|
@@ -84,7 +111,7 @@ a926c8853869f484c379a9d5b3397488c04905b15d90082ac679ecf7e6466479 gemma-4-12B-it
|
|
| 84 |
ba02924ee433b4f9689d504ddadc0e3247d23972021668dc03bd9e27c17670dc gemma-4-12B-it-assistant/tensors/assistant_tensor_cache_bfp8/pre_projection_weight_dtype_BFLOAT8_B_layout_TILE.tensorbin
|
| 85 |
ae53464bf3be25802b3a5b37def7fd89667067d7577049b3b2d74c4d8de4c6d4 gemma-4-12B-it/chat_template.jinja
|
| 86 |
478c46e8d2c52d5c2d85bf67e3b3e8c90e7c9d91086cee27e3c267907e936bd9 gemma-4-12B-it/config.json
|
| 87 |
-
|
| 88 |
a8349d9bd64cc5841297fcb5002f0fdc4749c473c8f1b10ea337f9ce4ee7014e gemma-4-12B-it/generation_config.json
|
| 89 |
007d9f3da8d54363a75e8af84cf0c9b762eafd6edf23679de48b08c62d584d55 gemma-4-12B-it/native_manifest.json
|
| 90 |
612f5da6a29a50dea769db21923d2bd7b828a94f2f25cc41f28a33abac9cb990 gemma-4-12B-it/precision_plan.json
|
|
@@ -622,17 +649,18 @@ e5656d7f88172fb4add6d5969a1c15d5d50f0eb3c5e0223a448c90816ec43e8e gemma-4-12B-it
|
|
| 622 |
dfeaed45d94523cd991122388b8ca2e0cbeeb5fe34d3d3b37c047c26bfc715e3 gemma-4-12B-it/tensors/tensor_cache_bf16/lm_head.weight_bfp8_dtype_BFLOAT8_B_layout_TILE.tensorbin
|
| 623 |
cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f gemma-4-12B-it/tokenizer.json
|
| 624 |
a62f4e85a47c0c136edaaa3a4f591fd6783717299a9def47e5ad03a49f6a5eb9 gemma-4-12B-it/tokenizer_config.json
|
| 625 |
-
|
| 626 |
cc507fe91c3279813aa4bdf697e7a2a811d5f67ea25afe90206830ec4c3db9cd native_checkpoint.py
|
| 627 |
3aa234a04e768e734a8ede9cdd9da1716366b06ea47b22a5ca466a49ad4fb56f provenance/build_native_checkpoint.py
|
| 628 |
-
|
| 629 |
-
|
| 630 |
-
|
| 631 |
-
|
| 632 |
-
|
| 633 |
46eb8d5cca3549b243d6014e9aa6eca8e1d7ac940c32d423f480eca69b96290c runtime/Dockerfile.p2b
|
| 634 |
91fdd9a2cae0bffb6715422bfda322e47e9b05d40d99e3a6cc962aba89132b9e runtime/Dockerfile.p2c
|
| 635 |
-
|
|
|
|
| 636 |
93ce271364dd8bac7ccd0e01e1d20fa3f950ce279ca076b6a272ee3ea039073a runtime/build.sh
|
| 637 |
8a8a3b18e19e275cd5039ea176d0931a6a5f3797985472c8d03366613b99ecc2 runtime/gemma4/README.md
|
| 638 |
501d5b563ca412fa21db82bf39117b5480ecf99bcaf11996b9c3d5f1093bb9a8 runtime/gemma4/__init__.py
|
|
@@ -679,15 +707,15 @@ adbf13ab702a97058e31b3822d2bede9aac7f76dd109c86286061e2522f4e392 runtime/gemma4
|
|
| 679 |
0e3247c34a359a73bd4c8ecc7365e028372084554eeeba41682d1fd818c296af runtime/gemma4/tt/assistant/model.py
|
| 680 |
df24b2bf4311ffaee781692ff8f465dea0f415e2323cf87fba4ce22227edb8ae runtime/gemma4/tt/attention/__init__.py
|
| 681 |
01b0f3e14c31aae5ed01104aee7f4cb03913007c0d0018f9d35d341d3fe049ef runtime/gemma4/tt/attention/config.py
|
| 682 |
-
|
| 683 |
3a1e9f520cdde61dd49550dbfca1072d009ee34878bafe5923c655821c09bff7 runtime/gemma4/tt/attention/kv_cache.py
|
| 684 |
9074a2d1de4b3a65d11271370f1fce39a78e5523b841752bcaa87dccb4b56470 runtime/gemma4/tt/attention/kv_cache_hybrid.py
|
| 685 |
-
|
| 686 |
32c6e1c9423b9c22f14558c33d76d9164cb8a27c939cb5d1ccb6da039b7c831f runtime/gemma4/tt/attention/prefill.py
|
| 687 |
3ec94d60c6d1085bed0bf83fbc450aa9599a476341d3c6d77466b1b2e17c00d6 runtime/gemma4/tt/attention/weights.py
|
| 688 |
3580f2e25950381465e55dd2886d2832c33d8d6fc618b5a2b94088d0b1a91105 runtime/gemma4/tt/ccl.py
|
| 689 |
e4369b067c3c2e7930fb538a34ab04b237940048e771f2f8f0560776f03a578f runtime/gemma4/tt/common.py
|
| 690 |
-
|
| 691 |
567aef533a30a692e4c0b28695c15d13e2cfc024ee621e4147c836b63220d5c3 runtime/gemma4/tt/experts/__init__.py
|
| 692 |
80bd7d18ffd0e0b6bd969d05a8e9972ff8473dc63631f1cb6de0bd619a50f33b runtime/gemma4/tt/experts/config.py
|
| 693 |
112b9df4b88e8395053fdbf69315e3a43e9f3f4877e699ca5a48462ccd8e804b runtime/gemma4/tt/experts/decode.py
|
|
@@ -727,9 +755,11 @@ fb0ab8fe2667f410bbe1afa8f09d3a3bbd2d159908d39ceccc4dd07068ccbd05 runtime/servin
|
|
| 727 |
0925cd2054f881f59625c2cc31ddb8a8f7dc29a661acf720f303a2cb50366705 runtime/serving-overlay/home/container_app_user/vllm/vllm/config/speculative.py
|
| 728 |
d0ab1698eab1d59203c777555e4457a6e11b3d141c898ffe2befcf8b972dbf65 runtime/serving-overlay/home/container_app_user/vllm/vllm/v1/engine/detokenizer.py
|
| 729 |
e7e004902362d832cfea5f4e22eedcc530494c3e42ea1e720159712ae6d8e1d3 runtime/serving-overlay/home/container_app_user/vllm/vllm/v1/engine/output_processor.py
|
| 730 |
-
|
| 731 |
288c44040187729651e90de21e4d270750eda3d05be109a699404327738e8e4a runtime/tools/compare_gen.py
|
| 732 |
cc507fe91c3279813aa4bdf697e7a2a811d5f67ea25afe90206830ec4c3db9cd runtime/tools/native_checkpoint.py
|
| 733 |
-
|
| 734 |
-
|
|
|
|
|
|
|
| 735 |
a9ae81f0f28d1f5c7c093817485cd72d28df4072714a1a30672c43e0166a88d9 serve_native.py
|
|
|
|
| 1 |
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
| 2 |
+
fb17f137237deb11b801ab11ca09a446b02e6a35c9a278f294daee9a82faedfb README.md
|
| 3 |
+
2d2a52c8c9dab817a10c4bec4c9d483ee1214b3a22cc883fb754549dac8dbf0e evidence/http-p3d/exact.json
|
| 4 |
+
4ae89585c639211abecfb7347a476c18d43f809385b0eb2a8077d3e994e80c8e evidence/http-p3d/long.json
|
| 5 |
+
534ef3c7105f7f2d8fc7e0bad4836b6d5507139c0a18a0b97377d4a8051ba035 evidence/http-p3d/tput-128/requests-128-c1.json
|
| 6 |
+
4d213e69b02e4b71062c358b3cda4a8db94a615b43c16f3dfd619c053788dac6 evidence/http-p3d/tput-128/summary.json
|
| 7 |
+
7a94e4f69a9e5ac6de2d96cd7eb9647fda3c50ba406cdaa2c68bba7aba5c74ad evidence/http-p3d/tput-128/warmup-128.json
|
| 8 |
+
2bbf64804564dfaf71c0f5b78db64db026eaf16ab5d515125e295f145c137548 evidence/http-p3d/tput-131072/requests-131072-c1.json
|
| 9 |
+
3b5fc67ff3e95a6ba8fc59f721fb79ba6df82993af27b8f6b1ef280cdd134ddf evidence/http-p3d/tput-131072/summary.json
|
| 10 |
+
3b0071bad4dda913079bd8d853d419220e5c6cb58b34618f3059d3e4c305d0a4 evidence/http-p3d/tput-131072/warmup-131072.json
|
| 11 |
+
2f6176f102977e953ddd33a8d938fe0cbf1661c1466a287e406c2f1ac7215174 evidence/http-p3d/tput-2048/requests-2048-c1.json
|
| 12 |
+
4206f0885321e0cd121e2efbbb91daf2c87bb3343081e81709fb2f80b9d7fcb0 evidence/http-p3d/tput-2048/summary.json
|
| 13 |
+
cc417c28c2a3952197e27e516b10c358665bd9792ef1cebb990de8037287292f evidence/http-p3d/tput-2048/warmup-2048.json
|
| 14 |
+
1cfdf00f237dccc9e9ddfed7d0f64f224f574b048d5b395edb0f81ced7a0dfdb evidence/http-p3d/tput-261632/requests-261632-c1.json
|
| 15 |
+
bad5d6e144e98944b706ad12b62017d4355f4148b3ff2d6ee72543f3cefe72c8 evidence/http-p3d/tput-261632/summary.json
|
| 16 |
+
c6a74eafe2f81e64b185d4327d79ca49bcc52f52a9572d353d55cf054656c196 evidence/http-p3d/tput-261632/warmup-261632.json
|
| 17 |
+
91e11398058527c1d04f3911de6218b2f3f183dfadd3977280e738dd59907aa2 evidence/http-p3d/tput-32768/requests-32768-c1.json
|
| 18 |
+
89effe9fecb4560388df68a68cba91117c9861f68be7991c3f89773c1e515117 evidence/http-p3d/tput-32768/summary.json
|
| 19 |
+
7de3bc8246a36dfcd42b9802f4312874fa5a4919f93c01552326727bcb14b3e3 evidence/http-p3d/tput-32768/warmup-32768.json
|
| 20 |
+
7aa5cf9a79ccd791f80a4ddb1350d3da0ecc7a14901a4cee7ec81df8e2fc1fa3 evidence/http-p3d/tput-8192/requests-8192-c1.json
|
| 21 |
+
2657f8971531b9f9bb940856f83740aebf1fdd7f1c6f313356ad13c102b54ac3 evidence/http-p3d/tput-8192/summary.json
|
| 22 |
+
5df2100d05536b268b8a811e814d66628320eca6016f7968d46f9747eeba74a1 evidence/http-p3d/tput-8192/warmup-8192.json
|
| 23 |
+
1c7778066e729cf8e2f302418c63f1640eba7d88a6b943b9681f3819c1579adb evidence/http-p3d/tput_vs_direct.json
|
| 24 |
+
cd754ee70eca7fe4db4c243e6ca985e46e46dd89157735b8ebadd92dafcff4a1 evidence/localmaxxing/p3d-2k/prompt-2k.txt
|
| 25 |
+
e341a88dd41612504017df8c950b3670d8dc01b057887f697a8b761dd8a32106 evidence/localmaxxing/p3d-2k/speed-test.json
|
| 26 |
+
dcd509a51cd400fd48f042a8147c99df5381132386b53347b7b37a5f48b16094 evidence/previous-p3c/http/exact.json
|
| 27 |
+
67124b62e2fd13138863abda1b821e6e66e066541e572e5ec321a4b275b0e959 evidence/previous-p3c/http/long.json
|
| 28 |
+
dfc6acee93d6a341f92e453592fd2ee5b52329a229be413fa4407f7bb681c7c0 evidence/previous-p3c/http/tput-128/requests-128-c1.json
|
| 29 |
+
316fb623119a50661ae7e768c3bf8ad8733683ceb56953cdbdf2a2d963a5df9f evidence/previous-p3c/http/tput-128/summary.json
|
| 30 |
+
44bdcbb47481b62ab615f72a2bc29c2a4d2524a4ec318f8fd19159ef4ac00c5f evidence/previous-p3c/http/tput-128/warmup-128.json
|
| 31 |
+
fdb5caa830280f0ba36b1045a905cfeb02bee98e54d72bfa8a0f54f712ea4c20 evidence/previous-p3c/http/tput-131072/requests-131072-c1.json
|
| 32 |
+
ea4fa34dd27a8011fe1cdad7cf26f5acd3af67c0d7cab5c1dd8a3f7c680005c4 evidence/previous-p3c/http/tput-131072/summary.json
|
| 33 |
+
9aa37602c1c2ddfbe18be1c210ed50c953a20eda00f1a94b14fb3e2c249dedbd evidence/previous-p3c/http/tput-131072/warmup-131072.json
|
| 34 |
+
d73bc532e74a494cb908c00f98f3745e465472e6fa66290b3de69ea0d673849a evidence/previous-p3c/http/tput-2048/requests-2048-c1.json
|
| 35 |
+
b0b79e75d5f23f31261ff91863a7737dc9e0849476eac663e7577b587daa7cf8 evidence/previous-p3c/http/tput-2048/summary.json
|
| 36 |
+
abc0819a5df996ee123cba52233fc2d81c16df49fffc0c2e1bd8e934eb28333c evidence/previous-p3c/http/tput-2048/warmup-2048.json
|
| 37 |
+
e211831e0530c7b1cd1aa356a95beaec3a2215a7fe77d9908e858b9f3b453c05 evidence/previous-p3c/http/tput-261632/requests-261632-c1.json
|
| 38 |
+
9ebdbacd8886c3faf8e2753fb010cd2a87d00d3da3a085051b9663265b6bcff5 evidence/previous-p3c/http/tput-261632/summary.json
|
| 39 |
+
94a93fe15d162528cb287df6f4ff7f95244e05ea8cfaae89076b4b518eaf39d4 evidence/previous-p3c/http/tput-261632/warmup-261632.json
|
| 40 |
+
37e1fc84216f03c5db76d35995054e367adc55c4fa6f2892dabb61ed6be1c12b evidence/previous-p3c/http/tput-32768/requests-32768-c1.json
|
| 41 |
+
6862ec9e00ddad920c0324a442ee5d28737a2e839de8e89c693c0cd809df1774 evidence/previous-p3c/http/tput-32768/summary.json
|
| 42 |
+
e4f3cc40e54e56410341d29bd26d9102f06dbd00e35901c4a05b2a05f085c3bd evidence/previous-p3c/http/tput-32768/warmup-32768.json
|
| 43 |
+
e67e8fbe22e47880715b26cee62f0d999a6395388d36774117c880f6ff6e4842 evidence/previous-p3c/http/tput-8192/requests-8192-c1.json
|
| 44 |
+
af278ee14869619894a8ff9a4c12c69f155d35c26f3b7868190d9559ec001981 evidence/previous-p3c/http/tput-8192/summary.json
|
| 45 |
+
957010a8c724f2a1f82ce7ffc5dcbdabfeb2e1420c5a9274fda0faa8c85c05bb evidence/previous-p3c/http/tput-8192/warmup-8192.json
|
| 46 |
+
1c7778066e729cf8e2f302418c63f1640eba7d88a6b943b9681f3819c1579adb evidence/previous-p3c/http/tput_vs_direct.json
|
| 47 |
+
f03041863057e793e816ded6f048899034e04f11a3a4dd0fd102a04d40e7b5de evidence/previous-p3c/localmaxxing-speed-test.json
|
| 48 |
+
92c92f98fb43b89ff04bd970974f23a3647264a722da2e674b033cf0d8523a32 evidence/previous-p3c/public-download-verification.json
|
| 49 |
+
791d5b2dff0a130024200ab016e671c1d74495229b3461f83464bb35124478a9 evidence/previous-p3c/public-serving-smoke.json
|
| 50 |
+
07b8133a548b886bc30794b9f984f0a5dee9b9301f7c90ff671806cbb4ce766c evidence/previous-p3c/public-serving-smoke/requests-2048-c1.json
|
| 51 |
+
a386aef5e382c304cc3c5315b8021166dfadec3d256b6af7887acf35383262e2 evidence/previous-p3c/public-serving-smoke/summary.json
|
| 52 |
+
3cb6e6002631824144551034aeed233081c44182771b51d8c3ade48555ff7426 evidence/previous-p3c/public-serving-smoke/warmup-2048.json
|
| 53 |
+
b118bf712e7d70058213f378920c0b129a2366b554f23d489c441ecbb2e5f2ba evidence/previous-p3c/runtime-gate-dtf-score.json
|
| 54 |
+
156ecb1746f24b3c6c7d6143e74034caf533b286270baab8f9bb7ad117fc8750 evidence/quality/p3d-gate/book-2048-score.json
|
| 55 |
+
51c580756dd62962bcad40d1cf53100319f8d9615902f2a5db24f78af42f510a evidence/quality/p3d-gate/dtf-score.json
|
| 56 |
+
9bb6af5e16abd148f7b7d528e045587bec96b94249a89be227352840257fb703 evidence/quality/p3d-gate/gsm8k-100-exact-build.json
|
| 57 |
+
82c012ee2d4dd6f5986f7a7bbbec425589405c98e487b93747457b0180e220ab evidence/quality/p3d-gate/gsm8k-100.json
|
| 58 |
32904d8e6be2daea2b797cc71b8d587e06605dc23421d96e1912c8593ed4b991 evidence/quality/quant_table.json
|
|
|
|
| 59 |
b6f19209588fcefe41f65b193fad6148446253c470d36e29441ecc5158a54e6d gemma-4-12B-it-assistant/config.json
|
| 60 |
2db4559e6ec51d81a7cd51b003743ca689fed5220d41b6a403b8d6947e1c74b7 gemma-4-12B-it-assistant/drafter_manifest.json
|
| 61 |
02b56bd11e1cd1e363e701a85a2fd7fbaa2992ec3358c1cd7cc44ead7208f505 gemma-4-12B-it-assistant/generation_config.json
|
| 62 |
3279c173daddd7186e79d652ad94022415736d3a1370625696c898429b06d6df gemma-4-12B-it-assistant/model.safetensors
|
| 63 |
+
1c09aae0f94d18ae7075800ccf55a7866769bec1fe41475ec781c054ad4ee489 gemma-4-12B-it-assistant/spec_equivalence.json
|
| 64 |
70eb60efff28b3606bbc91b35a3311e7b4ccae3b70e0f3787c9c0b32cc4ebf3c gemma-4-12B-it-assistant/tensors/assistant_tensor_cache_bfp8/final_norm/weight_dtype_BFLOAT16_layout_ROW_MAJOR.tensorbin
|
| 65 |
1179fa4a06ab8e4bae470dce5c4848d5b3b5eca1a3c87d8a02001bfb1aacf02f gemma-4-12B-it-assistant/tensors/assistant_tensor_cache_bfp8/layer_0/layer_0/input_layernorm/weight_dtype_BFLOAT16_layout_ROW_MAJOR.tensorbin
|
| 66 |
bc68d0c960e2782993ff0d354800e3f4d67dd80d1b31f0775dc5574114402787 gemma-4-12B-it-assistant/tensors/assistant_tensor_cache_bfp8/layer_0/layer_0/mlp/down_proj.weight_bfp8_dtype_BFLOAT8_B_layout_TILE.tensorbin
|
|
|
|
| 111 |
ba02924ee433b4f9689d504ddadc0e3247d23972021668dc03bd9e27c17670dc gemma-4-12B-it-assistant/tensors/assistant_tensor_cache_bfp8/pre_projection_weight_dtype_BFLOAT8_B_layout_TILE.tensorbin
|
| 112 |
ae53464bf3be25802b3a5b37def7fd89667067d7577049b3b2d74c4d8de4c6d4 gemma-4-12B-it/chat_template.jinja
|
| 113 |
478c46e8d2c52d5c2d85bf67e3b3e8c90e7c9d91086cee27e3c267907e936bd9 gemma-4-12B-it/config.json
|
| 114 |
+
824b1705373431eb0a79dd3774eaf1890a1849cc1de06375b1506a2f2073abd2 gemma-4-12B-it/equivalence.json
|
| 115 |
a8349d9bd64cc5841297fcb5002f0fdc4749c473c8f1b10ea337f9ce4ee7014e gemma-4-12B-it/generation_config.json
|
| 116 |
007d9f3da8d54363a75e8af84cf0c9b762eafd6edf23679de48b08c62d584d55 gemma-4-12B-it/native_manifest.json
|
| 117 |
612f5da6a29a50dea769db21923d2bd7b828a94f2f25cc41f28a33abac9cb990 gemma-4-12B-it/precision_plan.json
|
|
|
|
| 649 |
dfeaed45d94523cd991122388b8ca2e0cbeeb5fe34d3d3b37c047c26bfc715e3 gemma-4-12B-it/tensors/tensor_cache_bf16/lm_head.weight_bfp8_dtype_BFLOAT8_B_layout_TILE.tensorbin
|
| 650 |
cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f gemma-4-12B-it/tokenizer.json
|
| 651 |
a62f4e85a47c0c136edaaa3a4f591fd6783717299a9def47e5ad03a49f6a5eb9 gemma-4-12B-it/tokenizer_config.json
|
| 652 |
+
22186ea9c0c9fb94823f666c740555459728d5750278315ac2ab364ccbb4cbfb launch.py
|
| 653 |
cc507fe91c3279813aa4bdf697e7a2a811d5f67ea25afe90206830ec4c3db9cd native_checkpoint.py
|
| 654 |
3aa234a04e768e734a8ede9cdd9da1716366b06ea47b22a5ca466a49ad4fb56f provenance/build_native_checkpoint.py
|
| 655 |
+
8d60ffcd6654cce863901b4f0a5f0d5fc25b46d0fa65c58911a1832486460f04 release-manifest.json
|
| 656 |
+
2f916687347fd9b47ddb7dc18585a80a7285aacf4bb727db4fe8b52218d203fa reproduction.json
|
| 657 |
+
59074c4431d616cd56e0a001684f320825cb3f5ade7d16d6e3e58667d127e6ce runtime-image.tar.gz
|
| 658 |
+
7d4c57f97b7ab4f2f353b4e4dffcd56899b24e73a459d5fc14578aaf48ae59e9 runtime-release.json
|
| 659 |
+
b99769e8cd55f06640377a142de2199d0a2cda7830081cab5a1974c15915d14d runtime/Dockerfile.fast2
|
| 660 |
46eb8d5cca3549b243d6014e9aa6eca8e1d7ac940c32d423f480eca69b96290c runtime/Dockerfile.p2b
|
| 661 |
91fdd9a2cae0bffb6715422bfda322e47e9b05d40d99e3a6cc962aba89132b9e runtime/Dockerfile.p2c
|
| 662 |
+
70c93a67b96223c1f0bcfdee039ba1ffb2e17ed1725678d9bad98fb1dd19ee18 runtime/Dockerfile.p3d
|
| 663 |
+
005744b93e3b95864bd6152c3084226c448b48aa124311855fa4896dbfaa6fe6 runtime/Dockerfile.ttnn-dn1
|
| 664 |
93ce271364dd8bac7ccd0e01e1d20fa3f950ce279ca076b6a272ee3ea039073a runtime/build.sh
|
| 665 |
8a8a3b18e19e275cd5039ea176d0931a6a5f3797985472c8d03366613b99ecc2 runtime/gemma4/README.md
|
| 666 |
501d5b563ca412fa21db82bf39117b5480ecf99bcaf11996b9c3d5f1093bb9a8 runtime/gemma4/__init__.py
|
|
|
|
| 707 |
0e3247c34a359a73bd4c8ecc7365e028372084554eeeba41682d1fd818c296af runtime/gemma4/tt/assistant/model.py
|
| 708 |
df24b2bf4311ffaee781692ff8f465dea0f415e2323cf87fba4ce22227edb8ae runtime/gemma4/tt/attention/__init__.py
|
| 709 |
01b0f3e14c31aae5ed01104aee7f4cb03913007c0d0018f9d35d341d3fe049ef runtime/gemma4/tt/attention/config.py
|
| 710 |
+
df1f33dce05739d867ff0f4f11facabfa5625818118d8cf4d5fc8e97df36c4ac runtime/gemma4/tt/attention/decode.py
|
| 711 |
3a1e9f520cdde61dd49550dbfca1072d009ee34878bafe5923c655821c09bff7 runtime/gemma4/tt/attention/kv_cache.py
|
| 712 |
9074a2d1de4b3a65d11271370f1fce39a78e5523b841752bcaa87dccb4b56470 runtime/gemma4/tt/attention/kv_cache_hybrid.py
|
| 713 |
+
8e87380345b46db028f882df1df2ea05b59a4e0278ed8516a1f15b9663384a65 runtime/gemma4/tt/attention/operations.py
|
| 714 |
32c6e1c9423b9c22f14558c33d76d9164cb8a27c939cb5d1ccb6da039b7c831f runtime/gemma4/tt/attention/prefill.py
|
| 715 |
3ec94d60c6d1085bed0bf83fbc450aa9599a476341d3c6d77466b1b2e17c00d6 runtime/gemma4/tt/attention/weights.py
|
| 716 |
3580f2e25950381465e55dd2886d2832c33d8d6fc618b5a2b94088d0b1a91105 runtime/gemma4/tt/ccl.py
|
| 717 |
e4369b067c3c2e7930fb538a34ab04b237940048e771f2f8f0560776f03a578f runtime/gemma4/tt/common.py
|
| 718 |
+
85e5a625134c36925d559c4b7557b0139e824a77c4e724bf3b647015b77f7fac runtime/gemma4/tt/decode_mm.py
|
| 719 |
567aef533a30a692e4c0b28695c15d13e2cfc024ee621e4147c836b63220d5c3 runtime/gemma4/tt/experts/__init__.py
|
| 720 |
80bd7d18ffd0e0b6bd969d05a8e9972ff8473dc63631f1cb6de0bd619a50f33b runtime/gemma4/tt/experts/config.py
|
| 721 |
112b9df4b88e8395053fdbf69315e3a43e9f3f4877e699ca5a48462ccd8e804b runtime/gemma4/tt/experts/decode.py
|
|
|
|
| 755 |
0925cd2054f881f59625c2cc31ddb8a8f7dc29a661acf720f303a2cb50366705 runtime/serving-overlay/home/container_app_user/vllm/vllm/config/speculative.py
|
| 756 |
d0ab1698eab1d59203c777555e4457a6e11b3d141c898ffe2befcf8b972dbf65 runtime/serving-overlay/home/container_app_user/vllm/vllm/v1/engine/detokenizer.py
|
| 757 |
e7e004902362d832cfea5f4e22eedcc530494c3e42ea1e720159712ae6d8e1d3 runtime/serving-overlay/home/container_app_user/vllm/vllm/v1/engine/output_processor.py
|
| 758 |
+
dc0a865c919aecaee44bc113cced7f3be2d64172505f0a5c5fc166dcd8fb57f6 runtime/source.json
|
| 759 |
288c44040187729651e90de21e4d270750eda3d05be109a699404327738e8e4a runtime/tools/compare_gen.py
|
| 760 |
cc507fe91c3279813aa4bdf697e7a2a811d5f67ea25afe90206830ec4c3db9cd runtime/tools/native_checkpoint.py
|
| 761 |
+
505baaad9c88ccfb2e4f264f557477b30ae066673837b6c7fe56f0dc197f0934 runtime/tools/tt_eval.py
|
| 762 |
+
fa967085d4bccc78e448454911c38468415c1403e3138e11dbbf9d176ffd3c67 runtime/ttnn-overlay/cpp/ttnn/operations/matmul/device/factory/matmul_multicore_reuse_mcast_1d_program_factory.cpp
|
| 763 |
+
a78857488315cac5257d5e8a93f03800bbf40acb528ba0edd0ad67660a2cbad1 runtime/ttnn-overlay/cpp/ttnn/operations/matmul/device/kernels/dataflow/reader_bmm_tile_layout_in0_sender_padding.cpp
|
| 764 |
+
3620262683632718607446e2a8eba75ea74cd714eee00886d3b2a00ad4f08dc4 runtime/ttnn-overlay/cpp/ttnn/operations/matmul/device/kernels/dataflow/reader_bmm_tile_layout_in1_sender_writer_padding.cpp
|
| 765 |
a9ae81f0f28d1f5c7c093817485cd72d28df4072714a1a30672c43e0166a88d9 serve_native.py
|
evidence/http-p3d/exact.json
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checks": [
|
| 3 |
+
{
|
| 4 |
+
"name": "health",
|
| 5 |
+
"ok": true
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"name": "chat_exact_story",
|
| 9 |
+
"ok": true,
|
| 10 |
+
"n": 250,
|
| 11 |
+
"ref_n": 250,
|
| 12 |
+
"finish": "stop",
|
| 13 |
+
"events": 110,
|
| 14 |
+
"first_divergence": null
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"name": "chat_exact_explain",
|
| 18 |
+
"ok": true,
|
| 19 |
+
"n": 320,
|
| 20 |
+
"ref_n": 320,
|
| 21 |
+
"finish": "length",
|
| 22 |
+
"events": 107,
|
| 23 |
+
"first_divergence": null
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"name": "chat_exact_code",
|
| 27 |
+
"ok": true,
|
| 28 |
+
"n": 320,
|
| 29 |
+
"ref_n": 320,
|
| 30 |
+
"finish": "length",
|
| 31 |
+
"events": 86,
|
| 32 |
+
"first_divergence": null
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": "chat_exact_math",
|
| 36 |
+
"ok": true,
|
| 37 |
+
"n": 320,
|
| 38 |
+
"ref_n": 320,
|
| 39 |
+
"finish": "length",
|
| 40 |
+
"events": 67,
|
| 41 |
+
"first_divergence": null
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"name": "chat_exact_logic",
|
| 45 |
+
"ok": true,
|
| 46 |
+
"n": 320,
|
| 47 |
+
"ref_n": 320,
|
| 48 |
+
"finish": "length",
|
| 49 |
+
"events": 94,
|
| 50 |
+
"first_divergence": null
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": "chat_exact_code-lru",
|
| 54 |
+
"ok": true,
|
| 55 |
+
"n": 320,
|
| 56 |
+
"ref_n": 320,
|
| 57 |
+
"finish": "length",
|
| 58 |
+
"events": 86,
|
| 59 |
+
"first_divergence": null
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"name": "chat_exact_code-c",
|
| 63 |
+
"ok": true,
|
| 64 |
+
"n": 320,
|
| 65 |
+
"ref_n": 320,
|
| 66 |
+
"finish": "length",
|
| 67 |
+
"events": 74,
|
| 68 |
+
"first_divergence": null
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": "chat_exact_code-sql",
|
| 72 |
+
"ok": true,
|
| 73 |
+
"n": 320,
|
| 74 |
+
"ref_n": 320,
|
| 75 |
+
"finish": "length",
|
| 76 |
+
"events": 91,
|
| 77 |
+
"first_divergence": null
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"name": "chat_exact_long-summary",
|
| 81 |
+
"ok": true,
|
| 82 |
+
"n": 320,
|
| 83 |
+
"ref_n": 320,
|
| 84 |
+
"finish": "length",
|
| 85 |
+
"events": 115,
|
| 86 |
+
"first_divergence": null
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": "chat_exact_long-code",
|
| 90 |
+
"ok": true,
|
| 91 |
+
"n": 320,
|
| 92 |
+
"ref_n": 320,
|
| 93 |
+
"finish": "length",
|
| 94 |
+
"events": 106,
|
| 95 |
+
"first_divergence": null
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"name": "completion_exact_story",
|
| 99 |
+
"ok": true,
|
| 100 |
+
"n": 250
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": "completion_exact_explain",
|
| 104 |
+
"ok": true,
|
| 105 |
+
"n": 320
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"name": "completion_exact_code",
|
| 109 |
+
"ok": true,
|
| 110 |
+
"n": 320
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"name": "completion_exact_math",
|
| 114 |
+
"ok": true,
|
| 115 |
+
"n": 320
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"name": "completion_exact_logic",
|
| 119 |
+
"ok": true,
|
| 120 |
+
"n": 320
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"name": "completion_exact_code-lru",
|
| 124 |
+
"ok": true,
|
| 125 |
+
"n": 320
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"name": "completion_exact_code-c",
|
| 129 |
+
"ok": true,
|
| 130 |
+
"n": 320
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "completion_exact_code-sql",
|
| 134 |
+
"ok": true,
|
| 135 |
+
"n": 320
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"name": "completion_exact_long-summary",
|
| 139 |
+
"ok": true,
|
| 140 |
+
"n": 320
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"name": "completion_exact_long-code",
|
| 144 |
+
"ok": true,
|
| 145 |
+
"n": 320
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"name": "isolation_ABA",
|
| 149 |
+
"ok": true,
|
| 150 |
+
"n": 128
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"name": "sampled_request",
|
| 154 |
+
"ok": true,
|
| 155 |
+
"n": 64
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"name": "greedy_after_sampled",
|
| 159 |
+
"ok": true
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"name": "cancel_mid_decode",
|
| 163 |
+
"ok": true,
|
| 164 |
+
"cancelled_after": 42,
|
| 165 |
+
"next_request_s": 2.9789515789889265
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"name": "cancel_mid_prefill",
|
| 169 |
+
"ok": true,
|
| 170 |
+
"cancelled_after_s": 8.169508557009976,
|
| 171 |
+
"next_request_s": 11.751794009993318
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"name": "image_rejected",
|
| 175 |
+
"ok": true,
|
| 176 |
+
"status": 400,
|
| 177 |
+
"body": "{\"error\":{\"message\":\"/model is not a multimodal model\",\"type\":\"BadRequestError\",\"param\":null,\"code\":400}}"
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"name": "health_end",
|
| 181 |
+
"ok": true
|
| 182 |
+
}
|
| 183 |
+
],
|
| 184 |
+
"exact_seconds": 100.73274602601305
|
| 185 |
+
}
|
evidence/http-p3d/long.json
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"name": "configuration",
|
| 4 |
+
"url": "http://127.0.0.1:8000",
|
| 5 |
+
"model": "google/gemma-4-12B-it",
|
| 6 |
+
"contexts": [
|
| 7 |
+
32768,
|
| 8 |
+
131072,
|
| 9 |
+
262016
|
| 10 |
+
],
|
| 11 |
+
"tokens": 128,
|
| 12 |
+
"native_max_len": 262144,
|
| 13 |
+
"request_timeout_seconds": 3600,
|
| 14 |
+
"cases": [
|
| 15 |
+
{
|
| 16 |
+
"input_tokens": 32768,
|
| 17 |
+
"output_tokens": 128
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"input_tokens": 131072,
|
| 21 |
+
"output_tokens": 128
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"input_tokens": 262016,
|
| 25 |
+
"output_tokens": 128
|
| 26 |
+
}
|
| 27 |
+
],
|
| 28 |
+
"begin_key_token_region": [
|
| 29 |
+
0,
|
| 30 |
+
43
|
| 31 |
+
],
|
| 32 |
+
"end_key_suffix_tokens": 65,
|
| 33 |
+
"timing_basis": "Client first/last non-empty SSE text arrival; MTP may emit multiple tokens per event"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": "short_before",
|
| 37 |
+
"input_tokens": 25,
|
| 38 |
+
"requested_output_tokens": 32,
|
| 39 |
+
"requested_total_tokens": 57,
|
| 40 |
+
"ttft_seconds": 0.09304460400016978,
|
| 41 |
+
"decode_wall_seconds": 0.04858210598467849,
|
| 42 |
+
"seconds": 0.18983703898265958,
|
| 43 |
+
"decode_tokens_per_second": 144.08597276963692,
|
| 44 |
+
"finish_reason": "stop",
|
| 45 |
+
"sse_done": true,
|
| 46 |
+
"response": {
|
| 47 |
+
"text": "The capital of France is Paris.",
|
| 48 |
+
"usage": {
|
| 49 |
+
"prompt_tokens": 25,
|
| 50 |
+
"total_tokens": 33,
|
| 51 |
+
"completion_tokens": 8
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"expected_keys": {
|
| 55 |
+
"known_answer": "Paris"
|
| 56 |
+
},
|
| 57 |
+
"retrieved_keys": {
|
| 58 |
+
"known_answer": true
|
| 59 |
+
},
|
| 60 |
+
"accuracy": true
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": "layout_32768",
|
| 64 |
+
"input_tokens": 32768,
|
| 65 |
+
"begin_key_offset": 35,
|
| 66 |
+
"middle_key_offset": 16021,
|
| 67 |
+
"end_key_offset": 32707
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": "stream_32768_128",
|
| 71 |
+
"input_tokens": 32768,
|
| 72 |
+
"requested_output_tokens": 128,
|
| 73 |
+
"requested_total_tokens": 32896,
|
| 74 |
+
"ttft_seconds": 16.924654099013424,
|
| 75 |
+
"decode_wall_seconds": 0.43388441897695884,
|
| 76 |
+
"seconds": 17.35861225798726,
|
| 77 |
+
"decode_tokens_per_second": 78.36188282623154,
|
| 78 |
+
"finish_reason": "stop",
|
| 79 |
+
"sse_done": true,
|
| 80 |
+
"response": {
|
| 81 |
+
"text": "CEDAR-7419-QUARTZ\nHARBOR-5096-VIOLET\nORBIT-2863-MARBLE",
|
| 82 |
+
"usage": {
|
| 83 |
+
"prompt_tokens": 32768,
|
| 84 |
+
"total_tokens": 32803,
|
| 85 |
+
"completion_tokens": 35
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"expected_keys": {
|
| 89 |
+
"begin": "CEDAR-7419-QUARTZ",
|
| 90 |
+
"middle": "HARBOR-5096-VIOLET",
|
| 91 |
+
"end": "ORBIT-2863-MARBLE"
|
| 92 |
+
},
|
| 93 |
+
"retrieved_keys": {
|
| 94 |
+
"begin": true,
|
| 95 |
+
"middle": true,
|
| 96 |
+
"end": true
|
| 97 |
+
},
|
| 98 |
+
"accuracy": true
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": "layout_131072",
|
| 102 |
+
"input_tokens": 131072,
|
| 103 |
+
"begin_key_offset": 35,
|
| 104 |
+
"middle_key_offset": 65832,
|
| 105 |
+
"end_key_offset": 131011
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"name": "stream_131072_128",
|
| 109 |
+
"input_tokens": 131072,
|
| 110 |
+
"requested_output_tokens": 128,
|
| 111 |
+
"requested_total_tokens": 131200,
|
| 112 |
+
"ttft_seconds": 123.8322498589987,
|
| 113 |
+
"decode_wall_seconds": 0.5941902149934322,
|
| 114 |
+
"seconds": 124.42653353299829,
|
| 115 |
+
"decode_tokens_per_second": 57.22073360022567,
|
| 116 |
+
"finish_reason": "stop",
|
| 117 |
+
"sse_done": true,
|
| 118 |
+
"response": {
|
| 119 |
+
"text": "CEDAR-7419-QUARTZ\nHARBOR-5096-VIOLET\nORBIT-2863-MARBLE",
|
| 120 |
+
"usage": {
|
| 121 |
+
"prompt_tokens": 131072,
|
| 122 |
+
"total_tokens": 131107,
|
| 123 |
+
"completion_tokens": 35
|
| 124 |
+
}
|
| 125 |
+
},
|
| 126 |
+
"expected_keys": {
|
| 127 |
+
"begin": "CEDAR-7419-QUARTZ",
|
| 128 |
+
"middle": "HARBOR-5096-VIOLET",
|
| 129 |
+
"end": "ORBIT-2863-MARBLE"
|
| 130 |
+
},
|
| 131 |
+
"retrieved_keys": {
|
| 132 |
+
"begin": true,
|
| 133 |
+
"middle": true,
|
| 134 |
+
"end": true
|
| 135 |
+
},
|
| 136 |
+
"accuracy": true
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "layout_262016",
|
| 140 |
+
"input_tokens": 262016,
|
| 141 |
+
"begin_key_offset": 35,
|
| 142 |
+
"middle_key_offset": 130632,
|
| 143 |
+
"end_key_offset": 261955
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"name": "stream_262016_128",
|
| 147 |
+
"input_tokens": 262016,
|
| 148 |
+
"requested_output_tokens": 128,
|
| 149 |
+
"requested_total_tokens": 262144,
|
| 150 |
+
"ttft_seconds": 394.9077806400019,
|
| 151 |
+
"decode_wall_seconds": 0.9461079349857755,
|
| 152 |
+
"seconds": 395.9787403039809,
|
| 153 |
+
"decode_tokens_per_second": 35.9367031421327,
|
| 154 |
+
"finish_reason": "stop",
|
| 155 |
+
"sse_done": true,
|
| 156 |
+
"response": {
|
| 157 |
+
"text": "CEDAR-7419-QUARTZ\nHARBOR-5096-VIOLET\nORBIT-2863-MARBLE",
|
| 158 |
+
"usage": {
|
| 159 |
+
"prompt_tokens": 262016,
|
| 160 |
+
"total_tokens": 262051,
|
| 161 |
+
"completion_tokens": 35
|
| 162 |
+
}
|
| 163 |
+
},
|
| 164 |
+
"expected_keys": {
|
| 165 |
+
"begin": "CEDAR-7419-QUARTZ",
|
| 166 |
+
"middle": "HARBOR-5096-VIOLET",
|
| 167 |
+
"end": "ORBIT-2863-MARBLE"
|
| 168 |
+
},
|
| 169 |
+
"retrieved_keys": {
|
| 170 |
+
"begin": true,
|
| 171 |
+
"middle": true,
|
| 172 |
+
"end": true
|
| 173 |
+
},
|
| 174 |
+
"accuracy": true
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"name": "native_overflow_rejection",
|
| 178 |
+
"input_tokens": 262016,
|
| 179 |
+
"requested_output_tokens": 129,
|
| 180 |
+
"requested_total_tokens": 262145,
|
| 181 |
+
"native_max_len": 262144,
|
| 182 |
+
"status": 400,
|
| 183 |
+
"seconds": 0.014746526983799413,
|
| 184 |
+
"rejected_before_generation": true,
|
| 185 |
+
"response": {
|
| 186 |
+
"error": {
|
| 187 |
+
"message": "You passed 262016 input tokens and requested 129 output tokens. However, the model's context length is only 262144 tokens, resulting in a maximum input length of 262015 tokens. Please reduce the length of the input prompt. (parameter=input_tokens, value=262016)",
|
| 188 |
+
"type": "BadRequestError",
|
| 189 |
+
"param": "input_tokens",
|
| 190 |
+
"code": 400
|
| 191 |
+
}
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"name": "mtp_acceptance",
|
| 196 |
+
"accepted_tokens_before": 10881.0,
|
| 197 |
+
"accepted_tokens_after": 10962.0,
|
| 198 |
+
"accepted_tokens_delta": 81.0
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"name": "short_after",
|
| 202 |
+
"input_tokens": 25,
|
| 203 |
+
"requested_output_tokens": 32,
|
| 204 |
+
"requested_total_tokens": 57,
|
| 205 |
+
"ttft_seconds": 0.09321309201186523,
|
| 206 |
+
"decode_wall_seconds": 0.04820338898571208,
|
| 207 |
+
"seconds": 0.18969050902524032,
|
| 208 |
+
"decode_tokens_per_second": 145.21800535798144,
|
| 209 |
+
"finish_reason": "stop",
|
| 210 |
+
"sse_done": true,
|
| 211 |
+
"response": {
|
| 212 |
+
"text": "The capital of France is Paris.",
|
| 213 |
+
"usage": {
|
| 214 |
+
"prompt_tokens": 25,
|
| 215 |
+
"total_tokens": 33,
|
| 216 |
+
"completion_tokens": 8
|
| 217 |
+
}
|
| 218 |
+
},
|
| 219 |
+
"expected_keys": {
|
| 220 |
+
"known_answer": "Paris"
|
| 221 |
+
},
|
| 222 |
+
"retrieved_keys": {
|
| 223 |
+
"known_answer": true
|
| 224 |
+
},
|
| 225 |
+
"accuracy": true
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"name": "state_isolation",
|
| 229 |
+
"exact_text_match": true
|
| 230 |
+
}
|
| 231 |
+
]
|
evidence/http-p3d/tput-128/requests-128-c1.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"index": 0,
|
| 4 |
+
"start_seconds": 1.8349994206801057e-05,
|
| 5 |
+
"end_seconds": 8.190938635001658,
|
| 6 |
+
"ttft_seconds": 0.09066972200525925,
|
| 7 |
+
"latency_seconds": 8.19092028500745,
|
| 8 |
+
"decode_tokens_per_second": 63.08490319983218,
|
| 9 |
+
"text_sha256": "8b03541774e1f6be7b4c4473ed2e299b30efe7d684e4e280632204176904b0e4",
|
| 10 |
+
"usage": {
|
| 11 |
+
"prompt_tokens": 128,
|
| 12 |
+
"total_tokens": 640,
|
| 13 |
+
"completion_tokens": 512
|
| 14 |
+
},
|
| 15 |
+
"error": null,
|
| 16 |
+
"text": "# Understanding Database Transactions: The Foundation of Data Integrity\n\nIn the realm of database management systems (DBMS), a **transaction** is the fundamental unit of work. It is a sequence of one or more operations (such as inserting, updating, deleting, or querying data) that are executed as a single logical unit. The primary purpose of a transaction is to ensure that even in the event of system failures, power outages, or concurrent access by multiple users, the database remains in a consistent and reliable state.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the lifecycle of a transaction, concurrency control, and practical real-world examples.\n\n---\n\n### 1. The ACID Properties: The Gold Standard\nFor a database to be considered reliable, every transaction must adhere to the ACID properties. These four principles ensure that data remains accurate and protected.\n\n#### A - Atomicity (\"All or Nothing\")\nAtomicity dictates that a transaction must be treated as an indivisible unit. Either every single operation within the transaction succeeds, or none of them do. If any part of the transaction fails (due to a crash, a constraint violation, or a power failure), the entire transaction is \"rolled back,\" and the database is returned to its state prior to the start of the transaction.\n\n* **Example:** Imagine a bank transfer where \\$100 is moved from Account A to Account B. This involves two steps: (1) Subtracting \\$100 from A, and (2) Adding \\$100 to B. If the system crashes after step 1 but before step 2, the money would vanish into thin air. Atomicity ensures that if step 2 fails, step 1 is undone.\n\n#### C - Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, foreign keys, and triggers. A transaction cannot leave the database in a \"broken\" state where data violates the business logic.\n\n* **Example:** If a database has a rule that an account balance cannot drop below zero, and a transaction attempts to withdraw \\$500 from an account containing only \\$200, the database will reject the transaction to maintain consistency.\n\n#### I - Isolation\nIn modern systems, thousands of transactions happen simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. The result of running multiple transactions at the same time should be the same as if they were executed sequentially (one after the"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"index": 1,
|
| 20 |
+
"start_seconds": 8.190989373979392,
|
| 21 |
+
"end_seconds": 16.381804777978687,
|
| 22 |
+
"ttft_seconds": 0.09145842600264587,
|
| 23 |
+
"latency_seconds": 8.190815403999295,
|
| 24 |
+
"decode_tokens_per_second": 63.091868561597515,
|
| 25 |
+
"text_sha256": "8b03541774e1f6be7b4c4473ed2e299b30efe7d684e4e280632204176904b0e4",
|
| 26 |
+
"usage": {
|
| 27 |
+
"prompt_tokens": 128,
|
| 28 |
+
"total_tokens": 640,
|
| 29 |
+
"completion_tokens": 512
|
| 30 |
+
},
|
| 31 |
+
"error": null,
|
| 32 |
+
"text": "# Understanding Database Transactions: The Foundation of Data Integrity\n\nIn the realm of database management systems (DBMS), a **transaction** is the fundamental unit of work. It is a sequence of one or more operations (such as inserting, updating, deleting, or querying data) that are executed as a single logical unit. The primary purpose of a transaction is to ensure that even in the event of system failures, power outages, or concurrent access by multiple users, the database remains in a consistent and reliable state.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the lifecycle of a transaction, concurrency control, and practical real-world examples.\n\n---\n\n### 1. The ACID Properties: The Gold Standard\nFor a database to be considered reliable, every transaction must adhere to the ACID properties. These four principles ensure that data remains accurate and protected.\n\n#### A - Atomicity (\"All or Nothing\")\nAtomicity dictates that a transaction must be treated as an indivisible unit. Either every single operation within the transaction succeeds, or none of them do. If any part of the transaction fails (due to a crash, a constraint violation, or a power failure), the entire transaction is \"rolled back,\" and the database is returned to its state prior to the start of the transaction.\n\n* **Example:** Imagine a bank transfer where \\$100 is moved from Account A to Account B. This involves two steps: (1) Subtracting \\$100 from A, and (2) Adding \\$100 to B. If the system crashes after step 1 but before step 2, the money would vanish into thin air. Atomicity ensures that if step 2 fails, step 1 is undone.\n\n#### C - Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, foreign keys, and triggers. A transaction cannot leave the database in a \"broken\" state where data violates the business logic.\n\n* **Example:** If a database has a rule that an account balance cannot drop below zero, and a transaction attempts to withdraw \\$500 from an account containing only \\$200, the database will reject the transaction to maintain consistency.\n\n#### I - Isolation\nIn modern systems, thousands of transactions happen simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. The result of running multiple transactions at the same time should be the same as if they were executed sequentially (one after the"
|
| 33 |
+
}
|
| 34 |
+
]
|
evidence/http-p3d/tput-128/summary.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-4-12B-it",
|
| 3 |
+
"output_tokens": 512,
|
| 4 |
+
"method": "Closed loop; synchronized initial clients; max(min_requests,2*concurrency) requests; nearest-rank percentiles; aggregate includes prefill and queue drain",
|
| 5 |
+
"cases": [
|
| 6 |
+
{
|
| 7 |
+
"input_tokens": 128,
|
| 8 |
+
"concurrency": 1,
|
| 9 |
+
"requests": 2,
|
| 10 |
+
"successes": 2,
|
| 11 |
+
"errors": 0,
|
| 12 |
+
"wall_seconds": 16.38178642798448,
|
| 13 |
+
"matching_single_request_outputs": 2,
|
| 14 |
+
"aggregate_output_tokens_per_second": 62.508445248116146,
|
| 15 |
+
"requests_per_second": 0.12208680712522685,
|
| 16 |
+
"ttft_seconds_p50": 0.09066972200525925,
|
| 17 |
+
"ttft_seconds_p95": 0.09145842600264587,
|
| 18 |
+
"latency_seconds_p50": 8.190815403999295,
|
| 19 |
+
"latency_seconds_p95": 8.19092028500745,
|
| 20 |
+
"decode_tokens_per_second_p50": 63.08490319983218,
|
| 21 |
+
"decode_tokens_per_second_p95": 63.091868561597515
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
evidence/http-p3d/tput-128/warmup-128.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"index": -1,
|
| 3 |
+
"start_seconds": 3.100140020251274e-07,
|
| 4 |
+
"end_seconds": 8.237141543999314,
|
| 5 |
+
"ttft_seconds": 0.09195410198299214,
|
| 6 |
+
"latency_seconds": 8.237141233985312,
|
| 7 |
+
"decode_tokens_per_second": 62.73699920467591,
|
| 8 |
+
"text_sha256": "8b03541774e1f6be7b4c4473ed2e299b30efe7d684e4e280632204176904b0e4",
|
| 9 |
+
"usage": {
|
| 10 |
+
"prompt_tokens": 128,
|
| 11 |
+
"total_tokens": 640,
|
| 12 |
+
"completion_tokens": 512
|
| 13 |
+
},
|
| 14 |
+
"error": null,
|
| 15 |
+
"text": "# Understanding Database Transactions: The Foundation of Data Integrity\n\nIn the realm of database management systems (DBMS), a **transaction** is the fundamental unit of work. It is a sequence of one or more operations (such as inserting, updating, deleting, or querying data) that are executed as a single logical unit. The primary purpose of a transaction is to ensure that even in the event of system failures, power outages, or concurrent access by multiple users, the database remains in a consistent and reliable state.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the lifecycle of a transaction, concurrency control, and practical real-world examples.\n\n---\n\n### 1. The ACID Properties: The Gold Standard\nFor a database to be considered reliable, every transaction must adhere to the ACID properties. These four principles ensure that data remains accurate and protected.\n\n#### A - Atomicity (\"All or Nothing\")\nAtomicity dictates that a transaction must be treated as an indivisible unit. Either every single operation within the transaction succeeds, or none of them do. If any part of the transaction fails (due to a crash, a constraint violation, or a power failure), the entire transaction is \"rolled back,\" and the database is returned to its state prior to the start of the transaction.\n\n* **Example:** Imagine a bank transfer where \\$100 is moved from Account A to Account B. This involves two steps: (1) Subtracting \\$100 from A, and (2) Adding \\$100 to B. If the system crashes after step 1 but before step 2, the money would vanish into thin air. Atomicity ensures that if step 2 fails, step 1 is undone.\n\n#### C - Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, foreign keys, and triggers. A transaction cannot leave the database in a \"broken\" state where data violates the business logic.\n\n* **Example:** If a database has a rule that an account balance cannot drop below zero, and a transaction attempts to withdraw \\$500 from an account containing only \\$200, the database will reject the transaction to maintain consistency.\n\n#### I - Isolation\nIn modern systems, thousands of transactions happen simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. The result of running multiple transactions at the same time should be the same as if they were executed sequentially (one after the"
|
| 16 |
+
}
|
evidence/http-p3d/tput-131072/requests-131072-c1.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"index": 0,
|
| 4 |
+
"start_seconds": 3.928999649360776e-05,
|
| 5 |
+
"end_seconds": 140.3550663930073,
|
| 6 |
+
"ttft_seconds": 123.82656395100639,
|
| 7 |
+
"latency_seconds": 140.3550271030108,
|
| 8 |
+
"decode_tokens_per_second": 30.91648280188757,
|
| 9 |
+
"text_sha256": "372e489ce2a70556e81cd2e3a391d7f7ae934471533aa26b7720c790c8d94c3e",
|
| 10 |
+
"usage": {
|
| 11 |
+
"prompt_tokens": 131072,
|
| 12 |
+
"total_tokens": 131584,
|
| 13 |
+
"completion_tokens": 512
|
| 14 |
+
},
|
| 15 |
+
"error": null,
|
| 16 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is the fundamental unit of work. It is a sequence of one or more operations performed on a database that must be treated as a single, indivisible logical unit. The core philosophy behind transactions is simple: either the entire sequence of operations succeeds, or none of them do. This prevents the database from ending up in a \"half-baked\" or corrupted state where some data is updated while related data remains unchanged.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the **transaction lifecycle**, and real-world **concurrency scenarios**.\n\n---\n\n### 1. The Pillars of Transactions: ACID Properties\n\nThe reliability of any relational database management system (RDBMS) like MySQL, PostgreSQL, or Oracle rests on the ACID acronym. These four properties ensure that even in the event of a power failure, system crash, or simultaneous access by thousands of users, the data remains accurate.\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity guarantees that a transaction is treated as a single \"atom.\" If a transaction consists of five different SQL statements (e.g., deducting money from one account, adding it to another, and logging the history), and the system crashes after the third statement, the database must \"roll back\" the first two. The database should look as if nothing ever happened.\n* **Analogy:** Think of an ATM withdrawal. If the machine gives you the cash but fails to update your balance, the transaction failed. Atomicity ensures that if the balance isn't updated, the cash isn't dispensed.\n\n#### B. Consistency (\"Follow the Rules\")\nConsistency ensures that a transaction brings the database from one valid state to another. Every transaction must follow the predefined rules of the database, such as constraints (e.g., \"Age must be over 18\"), triggers, and cascades. If a transaction would result in a violation of these rules, the database will reject it.\n* **Example:** If a database rule states that a bank account balance cannot be negative, and a transaction tries to withdraw more money than is available, the transaction is aborted to maintain consistency.\n\n#### C. Isolation (\"Don't Peek\")\nIsolation ensures that concurrent transactions (multiple people using the database at the same time) do not interfere with each other. Even though many transactions might be running simultaneously, the result should be the same as if they were executed one"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"index": 1,
|
| 20 |
+
"start_seconds": 140.35510921300738,
|
| 21 |
+
"end_seconds": 280.67249108300894,
|
| 22 |
+
"ttft_seconds": 123.78938921200461,
|
| 23 |
+
"latency_seconds": 140.31738187000155,
|
| 24 |
+
"decode_tokens_per_second": 30.91739205383985,
|
| 25 |
+
"text_sha256": "372e489ce2a70556e81cd2e3a391d7f7ae934471533aa26b7720c790c8d94c3e",
|
| 26 |
+
"usage": {
|
| 27 |
+
"prompt_tokens": 131072,
|
| 28 |
+
"total_tokens": 131584,
|
| 29 |
+
"completion_tokens": 512
|
| 30 |
+
},
|
| 31 |
+
"error": null,
|
| 32 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is the fundamental unit of work. It is a sequence of one or more operations performed on a database that must be treated as a single, indivisible logical unit. The core philosophy behind transactions is simple: either the entire sequence of operations succeeds, or none of them do. This prevents the database from ending up in a \"half-baked\" or corrupted state where some data is updated while related data remains unchanged.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the **transaction lifecycle**, and real-world **concurrency scenarios**.\n\n---\n\n### 1. The Pillars of Transactions: ACID Properties\n\nThe reliability of any relational database management system (RDBMS) like MySQL, PostgreSQL, or Oracle rests on the ACID acronym. These four properties ensure that even in the event of a power failure, system crash, or simultaneous access by thousands of users, the data remains accurate.\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity guarantees that a transaction is treated as a single \"atom.\" If a transaction consists of five different SQL statements (e.g., deducting money from one account, adding it to another, and logging the history), and the system crashes after the third statement, the database must \"roll back\" the first two. The database should look as if nothing ever happened.\n* **Analogy:** Think of an ATM withdrawal. If the machine gives you the cash but fails to update your balance, the transaction failed. Atomicity ensures that if the balance isn't updated, the cash isn't dispensed.\n\n#### B. Consistency (\"Follow the Rules\")\nConsistency ensures that a transaction brings the database from one valid state to another. Every transaction must follow the predefined rules of the database, such as constraints (e.g., \"Age must be over 18\"), triggers, and cascades. If a transaction would result in a violation of these rules, the database will reject it.\n* **Example:** If a database rule states that a bank account balance cannot be negative, and a transaction tries to withdraw more money than is available, the transaction is aborted to maintain consistency.\n\n#### C. Isolation (\"Don't Peek\")\nIsolation ensures that concurrent transactions (multiple people using the database at the same time) do not interfere with each other. Even though many transactions might be running simultaneously, the result should be the same as if they were executed one"
|
| 33 |
+
}
|
| 34 |
+
]
|
evidence/http-p3d/tput-131072/summary.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-4-12B-it",
|
| 3 |
+
"output_tokens": 512,
|
| 4 |
+
"method": "Closed loop; synchronized initial clients; max(min_requests,2*concurrency) requests; nearest-rank percentiles; aggregate includes prefill and queue drain",
|
| 5 |
+
"cases": [
|
| 6 |
+
{
|
| 7 |
+
"input_tokens": 131072,
|
| 8 |
+
"concurrency": 1,
|
| 9 |
+
"requests": 2,
|
| 10 |
+
"successes": 2,
|
| 11 |
+
"errors": 0,
|
| 12 |
+
"wall_seconds": 280.67245179301244,
|
| 13 |
+
"matching_single_request_outputs": 2,
|
| 14 |
+
"aggregate_output_tokens_per_second": 3.6483808562557805,
|
| 15 |
+
"requests_per_second": 0.007125743859874571,
|
| 16 |
+
"ttft_seconds_p50": 123.78938921200461,
|
| 17 |
+
"ttft_seconds_p95": 123.82656395100639,
|
| 18 |
+
"latency_seconds_p50": 140.31738187000155,
|
| 19 |
+
"latency_seconds_p95": 140.3550271030108,
|
| 20 |
+
"decode_tokens_per_second_p50": 30.91648280188757,
|
| 21 |
+
"decode_tokens_per_second_p95": 30.91739205383985
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
evidence/http-p3d/tput-131072/warmup-131072.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"index": -1,
|
| 3 |
+
"start_seconds": 1.00000761449337e-06,
|
| 4 |
+
"end_seconds": 143.09652435599128,
|
| 5 |
+
"ttft_seconds": 126.40863994599204,
|
| 6 |
+
"latency_seconds": 143.09652335598366,
|
| 7 |
+
"decode_tokens_per_second": 30.621160536435426,
|
| 8 |
+
"text_sha256": "372e489ce2a70556e81cd2e3a391d7f7ae934471533aa26b7720c790c8d94c3e",
|
| 9 |
+
"usage": {
|
| 10 |
+
"prompt_tokens": 131072,
|
| 11 |
+
"total_tokens": 131584,
|
| 12 |
+
"completion_tokens": 512
|
| 13 |
+
},
|
| 14 |
+
"error": null,
|
| 15 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is the fundamental unit of work. It is a sequence of one or more operations performed on a database that must be treated as a single, indivisible logical unit. The core philosophy behind transactions is simple: either the entire sequence of operations succeeds, or none of them do. This prevents the database from ending up in a \"half-baked\" or corrupted state where some data is updated while related data remains unchanged.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the **transaction lifecycle**, and real-world **concurrency scenarios**.\n\n---\n\n### 1. The Pillars of Transactions: ACID Properties\n\nThe reliability of any relational database management system (RDBMS) like MySQL, PostgreSQL, or Oracle rests on the ACID acronym. These four properties ensure that even in the event of a power failure, system crash, or simultaneous access by thousands of users, the data remains accurate.\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity guarantees that a transaction is treated as a single \"atom.\" If a transaction consists of five different SQL statements (e.g., deducting money from one account, adding it to another, and logging the history), and the system crashes after the third statement, the database must \"roll back\" the first two. The database should look as if nothing ever happened.\n* **Analogy:** Think of an ATM withdrawal. If the machine gives you the cash but fails to update your balance, the transaction failed. Atomicity ensures that if the balance isn't updated, the cash isn't dispensed.\n\n#### B. Consistency (\"Follow the Rules\")\nConsistency ensures that a transaction brings the database from one valid state to another. Every transaction must follow the predefined rules of the database, such as constraints (e.g., \"Age must be over 18\"), triggers, and cascades. If a transaction would result in a violation of these rules, the database will reject it.\n* **Example:** If a database rule states that a bank account balance cannot be negative, and a transaction tries to withdraw more money than is available, the transaction is aborted to maintain consistency.\n\n#### C. Isolation (\"Don't Peek\")\nIsolation ensures that concurrent transactions (multiple people using the database at the same time) do not interfere with each other. Even though many transactions might be running simultaneously, the result should be the same as if they were executed one"
|
| 16 |
+
}
|
evidence/http-p3d/tput-2048/requests-2048-c1.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"index": 0,
|
| 4 |
+
"start_seconds": 1.8780003301799297e-05,
|
| 5 |
+
"end_seconds": 10.399938565999037,
|
| 6 |
+
"ttft_seconds": 0.6453376279969234,
|
| 7 |
+
"latency_seconds": 10.399919785995735,
|
| 8 |
+
"decode_tokens_per_second": 52.386027641385155,
|
| 9 |
+
"text_sha256": "02f0d03a55e50a19e8fd9e605f9812f55ef641b9e2ebacc042e79c1c4837431c",
|
| 10 |
+
"usage": {
|
| 11 |
+
"prompt_tokens": 2048,
|
| 12 |
+
"total_tokens": 2560,
|
| 13 |
+
"completion_tokens": 512
|
| 14 |
+
},
|
| 15 |
+
"error": null,
|
| 16 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is a fundamental concept that ensures data integrity and reliability. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and the changes are permanently saved, or if any single part fails, the entire transaction is undone, leaving the database in its original state.\n\nTo understand why this is critical, we must look at the **ACID properties**, the mechanisms that govern transactions, and real-world applications.\n\n---\n\n### 1. The ACID Properties\nThe reliability of a database system is measured by its adherence to the ACID model. These four properties ensure that even in the event of system crashes, power failures, or concurrent access by thousands of users, the data remains accurate.\n\n#### A. Atomicity\nAtomicity treats a transaction as an indivisible unit. Think of it like a physical atom\u2014it cannot be split. If a transaction involves five different SQL queries (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), atomicity guarantees that if the fourth query fails, the first three are \"rolled back\" (undone).\n* **Example:** If you are transferring money from Bank Account A to Bank Account B, two things must happen: money must be subtracted from A, and money must be added to B. If the system crashes after subtracting from A but before adding to B, the money would vanish. Atomicity prevents this by ensuring that if the addition to B fails, the subtraction from A is reversed.\n\n#### B. Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, cascades, and triggers. A transaction must not violate the \"rules\" of the database.\n* **Example:** Imagine a database rule that says \"Account balances cannot be negative.\" If a transaction attempts to withdraw \\$100 from an account that only has \\$50, the database will detect a violation of the consistency rule and abort the transaction.\n\n#### C. Isolation\nIn modern systems, thousands of transactions happen simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. Even though they are running at the same time, the result should be the same as if they were executed one after another (sequentially).\n* **"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"index": 1,
|
| 20 |
+
"start_seconds": 10.399984395015053,
|
| 21 |
+
"end_seconds": 20.804596664005658,
|
| 22 |
+
"ttft_seconds": 0.6470787139842287,
|
| 23 |
+
"latency_seconds": 10.404612268990604,
|
| 24 |
+
"decode_tokens_per_second": 52.37015888910936,
|
| 25 |
+
"text_sha256": "02f0d03a55e50a19e8fd9e605f9812f55ef641b9e2ebacc042e79c1c4837431c",
|
| 26 |
+
"usage": {
|
| 27 |
+
"prompt_tokens": 2048,
|
| 28 |
+
"total_tokens": 2560,
|
| 29 |
+
"completion_tokens": 512
|
| 30 |
+
},
|
| 31 |
+
"error": null,
|
| 32 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is a fundamental concept that ensures data integrity and reliability. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and the changes are permanently saved, or if any single part fails, the entire transaction is undone, leaving the database in its original state.\n\nTo understand why this is critical, we must look at the **ACID properties**, the mechanisms that govern transactions, and real-world applications.\n\n---\n\n### 1. The ACID Properties\nThe reliability of a database system is measured by its adherence to the ACID model. These four properties ensure that even in the event of system crashes, power failures, or concurrent access by thousands of users, the data remains accurate.\n\n#### A. Atomicity\nAtomicity treats a transaction as an indivisible unit. Think of it like a physical atom\u2014it cannot be split. If a transaction involves five different SQL queries (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), atomicity guarantees that if the fourth query fails, the first three are \"rolled back\" (undone).\n* **Example:** If you are transferring money from Bank Account A to Bank Account B, two things must happen: money must be subtracted from A, and money must be added to B. If the system crashes after subtracting from A but before adding to B, the money would vanish. Atomicity prevents this by ensuring that if the addition to B fails, the subtraction from A is reversed.\n\n#### B. Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, cascades, and triggers. A transaction must not violate the \"rules\" of the database.\n* **Example:** Imagine a database rule that says \"Account balances cannot be negative.\" If a transaction attempts to withdraw \\$100 from an account that only has \\$50, the database will detect a violation of the consistency rule and abort the transaction.\n\n#### C. Isolation\nIn modern systems, thousands of transactions happen simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. Even though they are running at the same time, the result should be the same as if they were executed one after another (sequentially).\n* **"
|
| 33 |
+
}
|
| 34 |
+
]
|
evidence/http-p3d/tput-2048/summary.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-4-12B-it",
|
| 3 |
+
"output_tokens": 512,
|
| 4 |
+
"method": "Closed loop; synchronized initial clients; max(min_requests,2*concurrency) requests; nearest-rank percentiles; aggregate includes prefill and queue drain",
|
| 5 |
+
"cases": [
|
| 6 |
+
{
|
| 7 |
+
"input_tokens": 2048,
|
| 8 |
+
"concurrency": 1,
|
| 9 |
+
"requests": 2,
|
| 10 |
+
"successes": 2,
|
| 11 |
+
"errors": 0,
|
| 12 |
+
"wall_seconds": 20.804577884002356,
|
| 13 |
+
"matching_single_request_outputs": 2,
|
| 14 |
+
"aggregate_output_tokens_per_second": 49.21993638656822,
|
| 15 |
+
"requests_per_second": 0.09613268825501606,
|
| 16 |
+
"ttft_seconds_p50": 0.6453376279969234,
|
| 17 |
+
"ttft_seconds_p95": 0.6470787139842287,
|
| 18 |
+
"latency_seconds_p50": 10.399919785995735,
|
| 19 |
+
"latency_seconds_p95": 10.404612268990604,
|
| 20 |
+
"decode_tokens_per_second_p50": 52.37015888910936,
|
| 21 |
+
"decode_tokens_per_second_p95": 52.386027641385155
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
evidence/http-p3d/tput-2048/warmup-2048.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"index": -1,
|
| 3 |
+
"start_seconds": 4.00003045797348e-07,
|
| 4 |
+
"end_seconds": 10.159259158011992,
|
| 5 |
+
"ttft_seconds": 0.6454166269977577,
|
| 6 |
+
"latency_seconds": 10.159258758008946,
|
| 7 |
+
"decode_tokens_per_second": 53.711591469489335,
|
| 8 |
+
"text_sha256": "02f0d03a55e50a19e8fd9e605f9812f55ef641b9e2ebacc042e79c1c4837431c",
|
| 9 |
+
"usage": {
|
| 10 |
+
"prompt_tokens": 2048,
|
| 11 |
+
"total_tokens": 2560,
|
| 12 |
+
"completion_tokens": 512
|
| 13 |
+
},
|
| 14 |
+
"error": null,
|
| 15 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is a fundamental concept that ensures data integrity and reliability. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and the changes are permanently saved, or if any single part fails, the entire transaction is undone, leaving the database in its original state.\n\nTo understand why this is critical, we must look at the **ACID properties**, the mechanisms that govern transactions, and real-world applications.\n\n---\n\n### 1. The ACID Properties\nThe reliability of a database system is measured by its adherence to the ACID model. These four properties ensure that even in the event of system crashes, power failures, or concurrent access by thousands of users, the data remains accurate.\n\n#### A. Atomicity\nAtomicity treats a transaction as an indivisible unit. Think of it like a physical atom\u2014it cannot be split. If a transaction involves five different SQL queries (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), atomicity guarantees that if the fourth query fails, the first three are \"rolled back\" (undone).\n* **Example:** If you are transferring money from Bank Account A to Bank Account B, two things must happen: money must be subtracted from A, and money must be added to B. If the system crashes after subtracting from A but before adding to B, the money would vanish. Atomicity prevents this by ensuring that if the addition to B fails, the subtraction from A is reversed.\n\n#### B. Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, cascades, and triggers. A transaction must not violate the \"rules\" of the database.\n* **Example:** Imagine a database rule that says \"Account balances cannot be negative.\" If a transaction attempts to withdraw \\$100 from an account that only has \\$50, the database will detect a violation of the consistency rule and abort the transaction.\n\n#### C. Isolation\nIn modern systems, thousands of transactions happen simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. Even though they are running at the same time, the result should be the same as if they were executed one after another (sequentially).\n* **"
|
| 16 |
+
}
|
evidence/http-p3d/tput-261632/requests-261632-c1.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"index": 0,
|
| 4 |
+
"start_seconds": 1.9529979908838868e-05,
|
| 5 |
+
"end_seconds": 415.5554907670012,
|
| 6 |
+
"ttft_seconds": 394.7760664890229,
|
| 7 |
+
"latency_seconds": 415.55547123702127,
|
| 8 |
+
"decode_tokens_per_second": 24.59174523194995,
|
| 9 |
+
"text_sha256": "886da530a6b8ed5f967b0ceebe827d949fabefbce66a9a71c5076273db38c59d",
|
| 10 |
+
"usage": {
|
| 11 |
+
"prompt_tokens": 261632,
|
| 12 |
+
"total_tokens": 262144,
|
| 13 |
+
"completion_tokens": 512
|
| 14 |
+
},
|
| 15 |
+
"error": null,
|
| 16 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is the fundamental unit of work. It is not merely a single action, like inserting one row into a table; rather, it is a logical sequence of operations that must be treated as a single, indivisible unit. To ensure that data remains accurate and reliable\u2014especially in multi-user environments where thousands of people might be accessing the same information simultaneously\u2014databases rely on the concept of transactions.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the **transaction lifecycle**, and **concurrency control mechanisms**.\n\n---\n\n### 1. The Core Philosophy: The ACID Properties\nThe gold standard for any database transaction is the **ACID** acronym. If a system cannot guarantee these four properties, it cannot be considered a reliable relational database management system (RDBMS).\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as a single \"atom.\" Either every single operation within the transaction succeeds, or none of them do. If a transaction involves five steps and the fourth step fails (due to a power outage, a constraint violation, or a network error), the database must \"roll back\" the first three steps so that the data remains in its original state.\n\n* **Example:** Imagine you are transferring \\$100 from your Savings Account to your Checking Account.\n 1. Subtract \\$100 from Savings.\n 2. Add \\$100 to Checking.\n If the system crashes after step 1 but before step 2, your money would simply vanish. Atomicity prevents this by ensuring that if step 2 fails, step 1 is undone.\n\n#### B. Consistency (Rules of the Game)\nConsistency ensures that a transaction brings the database from one valid state to another. Every database has predefined rules (constraints), such as \"account balances cannot be negative\" or \"every order must have a valid Customer ID.\" A transaction must never violate these rules. If a transaction attempts to perform an action that would break a rule, the database will reject the entire transaction.\n\n* **Example:** If you try to transfer \\$500 from an account that only has \\$200, and the database has a \"minimum balance\" constraint, the transaction will fail because it would result in an inconsistent state (a negative balance).\n\n#### C. Isolation (The \"Privacy\" of Transactions)\n"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"index": 1,
|
| 20 |
+
"start_seconds": 415.55553735699505,
|
| 21 |
+
"end_seconds": 831.1073085209937,
|
| 22 |
+
"ttft_seconds": 394.76245176198427,
|
| 23 |
+
"latency_seconds": 415.55177116399864,
|
| 24 |
+
"decode_tokens_per_second": 24.580007387981023,
|
| 25 |
+
"text_sha256": "886da530a6b8ed5f967b0ceebe827d949fabefbce66a9a71c5076273db38c59d",
|
| 26 |
+
"usage": {
|
| 27 |
+
"prompt_tokens": 261632,
|
| 28 |
+
"total_tokens": 262144,
|
| 29 |
+
"completion_tokens": 512
|
| 30 |
+
},
|
| 31 |
+
"error": null,
|
| 32 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is the fundamental unit of work. It is not merely a single action, like inserting one row into a table; rather, it is a logical sequence of operations that must be treated as a single, indivisible unit. To ensure that data remains accurate and reliable\u2014especially in multi-user environments where thousands of people might be accessing the same information simultaneously\u2014databases rely on the concept of transactions.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the **transaction lifecycle**, and **concurrency control mechanisms**.\n\n---\n\n### 1. The Core Philosophy: The ACID Properties\nThe gold standard for any database transaction is the **ACID** acronym. If a system cannot guarantee these four properties, it cannot be considered a reliable relational database management system (RDBMS).\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as a single \"atom.\" Either every single operation within the transaction succeeds, or none of them do. If a transaction involves five steps and the fourth step fails (due to a power outage, a constraint violation, or a network error), the database must \"roll back\" the first three steps so that the data remains in its original state.\n\n* **Example:** Imagine you are transferring \\$100 from your Savings Account to your Checking Account.\n 1. Subtract \\$100 from Savings.\n 2. Add \\$100 to Checking.\n If the system crashes after step 1 but before step 2, your money would simply vanish. Atomicity prevents this by ensuring that if step 2 fails, step 1 is undone.\n\n#### B. Consistency (Rules of the Game)\nConsistency ensures that a transaction brings the database from one valid state to another. Every database has predefined rules (constraints), such as \"account balances cannot be negative\" or \"every order must have a valid Customer ID.\" A transaction must never violate these rules. If a transaction attempts to perform an action that would break a rule, the database will reject the entire transaction.\n\n* **Example:** If you try to transfer \\$500 from an account that only has \\$200, and the database has a \"minimum balance\" constraint, the transaction will fail because it would result in an inconsistent state (a negative balance).\n\n#### C. Isolation (The \"Privacy\" of Transactions)\n"
|
| 33 |
+
}
|
| 34 |
+
]
|
evidence/http-p3d/tput-261632/summary.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-4-12B-it",
|
| 3 |
+
"output_tokens": 512,
|
| 4 |
+
"method": "Closed loop; synchronized initial clients; max(min_requests,2*concurrency) requests; nearest-rank percentiles; aggregate includes prefill and queue drain",
|
| 5 |
+
"cases": [
|
| 6 |
+
{
|
| 7 |
+
"input_tokens": 261632,
|
| 8 |
+
"concurrency": 1,
|
| 9 |
+
"requests": 2,
|
| 10 |
+
"successes": 2,
|
| 11 |
+
"errors": 0,
|
| 12 |
+
"wall_seconds": 831.1072889910138,
|
| 13 |
+
"matching_single_request_outputs": 2,
|
| 14 |
+
"aggregate_output_tokens_per_second": 1.2320912276478324,
|
| 15 |
+
"requests_per_second": 0.0024064281789996727,
|
| 16 |
+
"ttft_seconds_p50": 394.76245176198427,
|
| 17 |
+
"ttft_seconds_p95": 394.7760664890229,
|
| 18 |
+
"latency_seconds_p50": 415.55177116399864,
|
| 19 |
+
"latency_seconds_p95": 415.55547123702127,
|
| 20 |
+
"decode_tokens_per_second_p50": 24.580007387981023,
|
| 21 |
+
"decode_tokens_per_second_p95": 24.59174523194995
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
evidence/http-p3d/tput-261632/warmup-261632.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"index": -1,
|
| 3 |
+
"start_seconds": 1.200009137392044e-06,
|
| 4 |
+
"end_seconds": 417.3713296529895,
|
| 5 |
+
"ttft_seconds": 396.3232168069808,
|
| 6 |
+
"latency_seconds": 417.3713284529804,
|
| 7 |
+
"decode_tokens_per_second": 24.27779241951352,
|
| 8 |
+
"text_sha256": "886da530a6b8ed5f967b0ceebe827d949fabefbce66a9a71c5076273db38c59d",
|
| 9 |
+
"usage": {
|
| 10 |
+
"prompt_tokens": 261632,
|
| 11 |
+
"total_tokens": 262144,
|
| 12 |
+
"completion_tokens": 512
|
| 13 |
+
},
|
| 14 |
+
"error": null,
|
| 15 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is the fundamental unit of work. It is not merely a single action, like inserting one row into a table; rather, it is a logical sequence of operations that must be treated as a single, indivisible unit. To ensure that data remains accurate and reliable\u2014especially in multi-user environments where thousands of people might be accessing the same information simultaneously\u2014databases rely on the concept of transactions.\n\nTo understand transactions deeply, we must explore the **ACID properties**, the **transaction lifecycle**, and **concurrency control mechanisms**.\n\n---\n\n### 1. The Core Philosophy: The ACID Properties\nThe gold standard for any database transaction is the **ACID** acronym. If a system cannot guarantee these four properties, it cannot be considered a reliable relational database management system (RDBMS).\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as a single \"atom.\" Either every single operation within the transaction succeeds, or none of them do. If a transaction involves five steps and the fourth step fails (due to a power outage, a constraint violation, or a network error), the database must \"roll back\" the first three steps so that the data remains in its original state.\n\n* **Example:** Imagine you are transferring \\$100 from your Savings Account to your Checking Account.\n 1. Subtract \\$100 from Savings.\n 2. Add \\$100 to Checking.\n If the system crashes after step 1 but before step 2, your money would simply vanish. Atomicity prevents this by ensuring that if step 2 fails, step 1 is undone.\n\n#### B. Consistency (Rules of the Game)\nConsistency ensures that a transaction brings the database from one valid state to another. Every database has predefined rules (constraints), such as \"account balances cannot be negative\" or \"every order must have a valid Customer ID.\" A transaction must never violate these rules. If a transaction attempts to perform an action that would break a rule, the database will reject the entire transaction.\n\n* **Example:** If you try to transfer \\$500 from an account that only has \\$200, and the database has a \"minimum balance\" constraint, the transaction will fail because it would result in an inconsistent state (a negative balance).\n\n#### C. Isolation (The \"Privacy\" of Transactions)\n"
|
| 16 |
+
}
|
evidence/http-p3d/tput-32768/requests-32768-c1.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"index": 0,
|
| 4 |
+
"start_seconds": 2.0428997231647372e-05,
|
| 5 |
+
"end_seconds": 28.759651961998316,
|
| 6 |
+
"ttft_seconds": 16.977761214016937,
|
| 7 |
+
"latency_seconds": 28.759631533001084,
|
| 8 |
+
"decode_tokens_per_second": 43.37198960875458,
|
| 9 |
+
"text_sha256": "1506d9360ed3ea7ef3017e332c703f80b9171cdd9b987634b75b4789218ad98d",
|
| 10 |
+
"usage": {
|
| 11 |
+
"prompt_tokens": 32768,
|
| 12 |
+
"total_tokens": 33280,
|
| 13 |
+
"completion_tokens": 512
|
| 14 |
+
},
|
| 15 |
+
"error": null,
|
| 16 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of software engineering and data management, a **database transaction** is a fundamental concept that ensures data integrity. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and is permanently saved to the database, or none of them are applied.\n\nTo understand why this is critical, we must look at the **ACID properties**, the mechanisms that enforce them, and real-world scenarios where transactions prevent catastrophic data loss.\n\n---\n\n### 1. The ACID Properties\nThe reliability of a database management system (DBMS) is measured by its adherence to the ACID model. These four properties are the \"gold standard\" for transaction management.\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as an indivisible unit. If a transaction consists of five different SQL statements (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), and the fourth statement fails due to a power outage or a constraint violation, the database must \"roll back\" the first three statements. The database should return to the exact state it was in before the transaction started.\n\n#### B. Consistency (Valid State to Valid State)\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including-defined constraints (like unique keys),s, and foreign key relationships. For example, if a rule states that an account balance cannot drop below zero, any transaction that would result in a negative balance must be rejected by the system.\n\n#### C. Isolation (Independence of Concurrent Transactions)\nIn modern applications, thousands of users may access a database simultaneously. Isolation ensures that the concurrent execution of transactions results in a system state that is the same as if the transactions were executed sequentially (one after the other). Without isolation, \"dirty reads\" or \"lost updates\" could occur\u2014where one user sees half-finished data from another user's ongoing transaction.\n\n#### D. Durability (Permanence)\nOnce a transaction has been committed (successfully completed), it must remain committed even in the event of a system failure, such as a crash or a power loss. This is usually achieved by recording the transaction in non-volatile memory (like a hard drive or SSD) via transaction logs before confirming success to the user."
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"index": 1,
|
| 20 |
+
"start_seconds": 28.759694711014163,
|
| 21 |
+
"end_seconds": 57.533709167008055,
|
| 22 |
+
"ttft_seconds": 17.023219919996336,
|
| 23 |
+
"latency_seconds": 28.774014455993893,
|
| 24 |
+
"decode_tokens_per_second": 43.48662823635663,
|
| 25 |
+
"text_sha256": "1506d9360ed3ea7ef3017e332c703f80b9171cdd9b987634b75b4789218ad98d",
|
| 26 |
+
"usage": {
|
| 27 |
+
"prompt_tokens": 32768,
|
| 28 |
+
"total_tokens": 33280,
|
| 29 |
+
"completion_tokens": 512
|
| 30 |
+
},
|
| 31 |
+
"error": null,
|
| 32 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of software engineering and data management, a **database transaction** is a fundamental concept that ensures data integrity. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and is permanently saved to the database, or none of them are applied.\n\nTo understand why this is critical, we must look at the **ACID properties**, the mechanisms that enforce them, and real-world scenarios where transactions prevent catastrophic data loss.\n\n---\n\n### 1. The ACID Properties\nThe reliability of a database management system (DBMS) is measured by its adherence to the ACID model. These four properties are the \"gold standard\" for transaction management.\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as an indivisible unit. If a transaction consists of five different SQL statements (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), and the fourth statement fails due to a power outage or a constraint violation, the database must \"roll back\" the first three statements. The database should return to the exact state it was in before the transaction started.\n\n#### B. Consistency (Valid State to Valid State)\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including-defined constraints (like unique keys),s, and foreign key relationships. For example, if a rule states that an account balance cannot drop below zero, any transaction that would result in a negative balance must be rejected by the system.\n\n#### C. Isolation (Independence of Concurrent Transactions)\nIn modern applications, thousands of users may access a database simultaneously. Isolation ensures that the concurrent execution of transactions results in a system state that is the same as if the transactions were executed sequentially (one after the other). Without isolation, \"dirty reads\" or \"lost updates\" could occur\u2014where one user sees half-finished data from another user's ongoing transaction.\n\n#### D. Durability (Permanence)\nOnce a transaction has been committed (successfully completed), it must remain committed even in the event of a system failure, such as a crash or a power loss. This is usually achieved by recording the transaction in non-volatile memory (like a hard drive or SSD) via transaction logs before confirming success to the user."
|
| 33 |
+
}
|
| 34 |
+
]
|
evidence/http-p3d/tput-32768/summary.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-4-12B-it",
|
| 3 |
+
"output_tokens": 512,
|
| 4 |
+
"method": "Closed loop; synchronized initial clients; max(min_requests,2*concurrency) requests; nearest-rank percentiles; aggregate includes prefill and queue drain",
|
| 5 |
+
"cases": [
|
| 6 |
+
{
|
| 7 |
+
"input_tokens": 32768,
|
| 8 |
+
"concurrency": 1,
|
| 9 |
+
"requests": 2,
|
| 10 |
+
"successes": 2,
|
| 11 |
+
"errors": 0,
|
| 12 |
+
"wall_seconds": 57.533688738010824,
|
| 13 |
+
"matching_single_request_outputs": 2,
|
| 14 |
+
"aggregate_output_tokens_per_second": 17.79826780554526,
|
| 15 |
+
"requests_per_second": 0.03476224180770559,
|
| 16 |
+
"ttft_seconds_p50": 16.977761214016937,
|
| 17 |
+
"ttft_seconds_p95": 17.023219919996336,
|
| 18 |
+
"latency_seconds_p50": 28.759631533001084,
|
| 19 |
+
"latency_seconds_p95": 28.774014455993893,
|
| 20 |
+
"decode_tokens_per_second_p50": 43.37198960875458,
|
| 21 |
+
"decode_tokens_per_second_p95": 43.48662823635663
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
evidence/http-p3d/tput-32768/warmup-32768.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"index": -1,
|
| 3 |
+
"start_seconds": 8.200004231184721e-07,
|
| 4 |
+
"end_seconds": 28.692602641007397,
|
| 5 |
+
"ttft_seconds": 16.91264510701876,
|
| 6 |
+
"latency_seconds": 28.692601821006974,
|
| 7 |
+
"decode_tokens_per_second": 43.37904968705863,
|
| 8 |
+
"text_sha256": "1506d9360ed3ea7ef3017e332c703f80b9171cdd9b987634b75b4789218ad98d",
|
| 9 |
+
"usage": {
|
| 10 |
+
"prompt_tokens": 32768,
|
| 11 |
+
"total_tokens": 33280,
|
| 12 |
+
"completion_tokens": 512
|
| 13 |
+
},
|
| 14 |
+
"error": null,
|
| 15 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of software engineering and data management, a **database transaction** is a fundamental concept that ensures data integrity. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and is permanently saved to the database, or none of them are applied.\n\nTo understand why this is critical, we must look at the **ACID properties**, the mechanisms that enforce them, and real-world scenarios where transactions prevent catastrophic data loss.\n\n---\n\n### 1. The ACID Properties\nThe reliability of a database management system (DBMS) is measured by its adherence to the ACID model. These four properties are the \"gold standard\" for transaction management.\n\n#### A. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as an indivisible unit. If a transaction consists of five different SQL statements (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), and the fourth statement fails due to a power outage or a constraint violation, the database must \"roll back\" the first three statements. The database should return to the exact state it was in before the transaction started.\n\n#### B. Consistency (Valid State to Valid State)\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including-defined constraints (like unique keys),s, and foreign key relationships. For example, if a rule states that an account balance cannot drop below zero, any transaction that would result in a negative balance must be rejected by the system.\n\n#### C. Isolation (Independence of Concurrent Transactions)\nIn modern applications, thousands of users may access a database simultaneously. Isolation ensures that the concurrent execution of transactions results in a system state that is the same as if the transactions were executed sequentially (one after the other). Without isolation, \"dirty reads\" or \"lost updates\" could occur\u2014where one user sees half-finished data from another user's ongoing transaction.\n\n#### D. Durability (Permanence)\nOnce a transaction has been committed (successfully completed), it must remain committed even in the event of a system failure, such as a crash or a power loss. This is usually achieved by recording the transaction in non-volatile memory (like a hard drive or SSD) via transaction logs before confirming success to the user."
|
| 16 |
+
}
|
evidence/http-p3d/tput-8192/requests-8192-c1.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"index": 0,
|
| 4 |
+
"start_seconds": 2.2149994038045406e-05,
|
| 5 |
+
"end_seconds": 12.67971995798871,
|
| 6 |
+
"ttft_seconds": 3.2031257979979273,
|
| 7 |
+
"latency_seconds": 12.679697807994671,
|
| 8 |
+
"decode_tokens_per_second": 53.92284405708368,
|
| 9 |
+
"text_sha256": "ed6c97ae9c6aa59779ca029eff53e380a46050f750027f929e9644ef5075218c",
|
| 10 |
+
"usage": {
|
| 11 |
+
"prompt_tokens": 8192,
|
| 12 |
+
"total_tokens": 8704,
|
| 13 |
+
"completion_tokens": 512
|
| 14 |
+
},
|
| 15 |
+
"error": null,
|
| 16 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is a fundamental concept that ensures data integrity and reliability. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and is permanently saved to the database, or, if any single part fails, the entire transaction is undone, leaving the database in its original state.\n\nTo understand why this is critical, we must look at the **ACID properties**, which serve as the gold standard for ensuring that database transactions are processed reliably.\n\n---\n\n### The ACID Properties\n\nFor a database management system (DBMS) to be considered reliable, it must adhere to the following four principles:\n\n#### 1. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as an indivisible unit. If a transaction consists of five different SQL queries (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), and the system crashes during the third query, the first two queries must be \"rolled back\" (undone). The database should not be left in a \"half-finished\" state.\n\n#### 2. Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, cascades, and triggers. For example, if a database rule states that an account balance cannot drop below zero, any transaction that would result in a negative balance must be rejected by the system.\n\n#### 3. Isolation\nIn modern applications, thousands of users may access a database simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. Even though multiple transactions are happening at the same time, the result should be the same as if they were executed one after another (sequentially). This prevents \"dirty reads\" (reading uncommitted data) or \"lost updates\" (where two people update the same row at the exact same millisecond and one update is overwritten).\n\n#### 4. Durability\nDurability guarantees that once a transaction has been committed (successfully completed), it will remain committed even in the event of a system failure, power outage, or crash. This is usually achieved by recording the transaction in non-volatile memory (like a hard drive or SSD) via a transaction log before confirming success to the user.\n\n---\n\n### Real-World Example: The"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"index": 1,
|
| 20 |
+
"start_seconds": 12.679757648002123,
|
| 21 |
+
"end_seconds": 25.362715021008626,
|
| 22 |
+
"ttft_seconds": 3.206180963985389,
|
| 23 |
+
"latency_seconds": 12.682957373006502,
|
| 24 |
+
"decode_tokens_per_second": 53.92168694176561,
|
| 25 |
+
"text_sha256": "ed6c97ae9c6aa59779ca029eff53e380a46050f750027f929e9644ef5075218c",
|
| 26 |
+
"usage": {
|
| 27 |
+
"prompt_tokens": 8192,
|
| 28 |
+
"total_tokens": 8704,
|
| 29 |
+
"completion_tokens": 512
|
| 30 |
+
},
|
| 31 |
+
"error": null,
|
| 32 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is a fundamental concept that ensures data integrity and reliability. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and is permanently saved to the database, or, if any single part fails, the entire transaction is undone, leaving the database in its original state.\n\nTo understand why this is critical, we must look at the **ACID properties**, which serve as the gold standard for ensuring that database transactions are processed reliably.\n\n---\n\n### The ACID Properties\n\nFor a database management system (DBMS) to be considered reliable, it must adhere to the following four principles:\n\n#### 1. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as an indivisible unit. If a transaction consists of five different SQL queries (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), and the system crashes during the third query, the first two queries must be \"rolled back\" (undone). The database should not be left in a \"half-finished\" state.\n\n#### 2. Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, cascades, and triggers. For example, if a database rule states that an account balance cannot drop below zero, any transaction that would result in a negative balance must be rejected by the system.\n\n#### 3. Isolation\nIn modern applications, thousands of users may access a database simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. Even though multiple transactions are happening at the same time, the result should be the same as if they were executed one after another (sequentially). This prevents \"dirty reads\" (reading uncommitted data) or \"lost updates\" (where two people update the same row at the exact same millisecond and one update is overwritten).\n\n#### 4. Durability\nDurability guarantees that once a transaction has been committed (successfully completed), it will remain committed even in the event of a system failure, power outage, or crash. This is usually achieved by recording the transaction in non-volatile memory (like a hard drive or SSD) via a transaction log before confirming success to the user.\n\n---\n\n### Real-World Example: The"
|
| 33 |
+
}
|
| 34 |
+
]
|
evidence/http-p3d/tput-8192/summary.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-4-12B-it",
|
| 3 |
+
"output_tokens": 512,
|
| 4 |
+
"method": "Closed loop; synchronized initial clients; max(min_requests,2*concurrency) requests; nearest-rank percentiles; aggregate includes prefill and queue drain",
|
| 5 |
+
"cases": [
|
| 6 |
+
{
|
| 7 |
+
"input_tokens": 8192,
|
| 8 |
+
"concurrency": 1,
|
| 9 |
+
"requests": 2,
|
| 10 |
+
"successes": 2,
|
| 11 |
+
"errors": 0,
|
| 12 |
+
"wall_seconds": 25.362692871014588,
|
| 13 |
+
"matching_single_request_outputs": 2,
|
| 14 |
+
"aggregate_output_tokens_per_second": 40.374261724008996,
|
| 15 |
+
"requests_per_second": 0.07885597992970507,
|
| 16 |
+
"ttft_seconds_p50": 3.2031257979979273,
|
| 17 |
+
"ttft_seconds_p95": 3.206180963985389,
|
| 18 |
+
"latency_seconds_p50": 12.679697807994671,
|
| 19 |
+
"latency_seconds_p95": 12.682957373006502,
|
| 20 |
+
"decode_tokens_per_second_p50": 53.92168694176561,
|
| 21 |
+
"decode_tokens_per_second_p95": 53.92284405708368
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
evidence/http-p3d/tput-8192/warmup-8192.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"index": -1,
|
| 3 |
+
"start_seconds": 3.00002284348011e-07,
|
| 4 |
+
"end_seconds": 12.817421763000311,
|
| 5 |
+
"ttft_seconds": 3.203757772978861,
|
| 6 |
+
"latency_seconds": 12.817421462998027,
|
| 7 |
+
"decode_tokens_per_second": 53.15396023562198,
|
| 8 |
+
"text_sha256": "ed6c97ae9c6aa59779ca029eff53e380a46050f750027f929e9644ef5075218c",
|
| 9 |
+
"usage": {
|
| 10 |
+
"prompt_tokens": 8192,
|
| 11 |
+
"total_tokens": 8704,
|
| 12 |
+
"completion_tokens": 512
|
| 13 |
+
},
|
| 14 |
+
"error": null,
|
| 15 |
+
"text": "### Understanding Database Transactions: A Comprehensive Guide\n\nIn the world of data management, a **database transaction** is a fundamental concept that ensures data integrity and reliability. At its simplest, a transaction is a sequence of one or more operations performed as a single logical unit of work. The core philosophy of a transaction is \"all or nothing\": either every operation within the transaction succeeds and is permanently saved to the database, or, if any single part fails, the entire transaction is undone, leaving the database in its original state.\n\nTo understand why this is critical, we must look at the **ACID properties**, which serve as the gold standard for ensuring that database transactions are processed reliably.\n\n---\n\n### The ACID Properties\n\nFor a database management system (DBMS) to be considered reliable, it must adhere to the following four principles:\n\n#### 1. Atomicity (\"All or Nothing\")\nAtomicity ensures that a transaction is treated as an indivisible unit. If a transaction consists of five different SQL queries (e.g., updating a balance, creating a log entry, updating an inventory count, etc.), and the system crashes during the third query, the first two queries must be \"rolled back\" (undone). The database should not be left in a \"half-finished\" state.\n\n#### 2. Consistency\nConsistency ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules, including constraints, cascades, and triggers. For example, if a database rule states that an account balance cannot drop below zero, any transaction that would result in a negative balance must be rejected by the system.\n\n#### 3. Isolation\nIn modern applications, thousands of users may access a database simultaneously. Isolation ensures that concurrent transactions do not interfere with each other. Even though multiple transactions are happening at the same time, the result should be the same as if they were executed one after another (sequentially). This prevents \"dirty reads\" (reading uncommitted data) or \"lost updates\" (where two people update the same row at the exact same millisecond and one update is overwritten).\n\n#### 4. Durability\nDurability guarantees that once a transaction has been committed (successfully completed), it will remain committed even in the event of a system failure, power outage, or crash. This is usually achieved by recording the transaction in non-volatile memory (like a hard drive or SSD) via a transaction log before confirming success to the user.\n\n---\n\n### Real-World Example: The"
|
| 16 |
+
}
|
evidence/{http-p3c β http-p3d}/tput_vs_direct.json
RENAMED
|
File without changes
|
evidence/localmaxxing/p3d-2k/prompt-2k.txt
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Summarize the following passage from Newtonβs Opticks, then explain its main experiment in plain language.
|
| 2 |
+
|
| 3 |
+
added
|
| 4 |
+
about twelve Years after to complete the Theory; except the third Book,
|
| 5 |
+
and the last Proposition of the Second, which were since put together
|
| 6 |
+
out of scatter'd Papers. To avoid being engaged in Disputes about these
|
| 7 |
+
Matters, I have hitherto delayed the printing, and should still have
|
| 8 |
+
delayed it, had not the Importunity of Friends prevailed upon me. If any
|
| 9 |
+
other Papers writ on this Subject are got out of my Hands they are
|
| 10 |
+
imperfect, and were perhaps written before I had tried all the
|
| 11 |
+
Experiments here set down, and fully satisfied my self about the Laws of
|
| 12 |
+
Refractions and Composition of Colours. I have here publish'd what I
|
| 13 |
+
think proper to come abroad, wishing that it may not be translated into
|
| 14 |
+
another Language without my Consent._
|
| 15 |
+
|
| 16 |
+
_The Crowns of Colours, which sometimes appear about the Sun and Moon, I
|
| 17 |
+
have endeavoured to give an Account of; but for want of sufficient
|
| 18 |
+
Observations leave that Matter to be farther examined. The Subject of
|
| 19 |
+
the Third Book I have also left imperfect, not having tried all the
|
| 20 |
+
Experiments which I intended when I was about these Matters, nor
|
| 21 |
+
repeated some of those which I did try, until I had satisfied my self
|
| 22 |
+
about all their Circumstances. To communicate what I have tried, and
|
| 23 |
+
leave the rest to others for farther Enquiry, is all my Design in
|
| 24 |
+
publishing these Papers._
|
| 25 |
+
|
| 26 |
+
_In a Letter written to Mr._ Leibnitz _in the year 1679, and published
|
| 27 |
+
by Dr._ Wallis, _I mention'd a Method by which I had found some general
|
| 28 |
+
Theorems about squaring Curvilinear Figures, or comparing them with the
|
| 29 |
+
Conic Sections, or other the simplest Figures with which they may be
|
| 30 |
+
compared. And some Years ago I lent out a Manuscript containing such
|
| 31 |
+
Theorems, and having since met with some Things copied out of it, I have
|
| 32 |
+
on this Occasion made it publick, prefixing to it an_ Introduction, _and
|
| 33 |
+
subjoining a_ Scholium _concerning that Method. And I have joined with
|
| 34 |
+
it another small Tract concerning the Curvilinear Figures of the Second
|
| 35 |
+
Kind, which was also written many Years ago, and made known to some
|
| 36 |
+
Friends, who have solicited the making it publick._
|
| 37 |
+
|
| 38 |
+
_I. N._
|
| 39 |
+
|
| 40 |
+
April 1, 1704.
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
Advertisement II
|
| 44 |
+
|
| 45 |
+
_In this Second Edition of these Opticks I have omitted the Mathematical
|
| 46 |
+
Tracts publish'd at the End of the former Edition, as not belonging to
|
| 47 |
+
the Subject. And at the End of the Third Book I have added some
|
| 48 |
+
Questions. And to shew that I do not take Gravity for an essential
|
| 49 |
+
Property of Bodies, I have added one Question concerning its Cause,
|
| 50 |
+
chusing to propose it by way of a Question, because I am not yet
|
| 51 |
+
satisfied about it for want of Experiments._
|
| 52 |
+
|
| 53 |
+
_I. N._
|
| 54 |
+
|
| 55 |
+
July 16, 1717.
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
Advertisement to this Fourth Edition
|
| 59 |
+
|
| 60 |
+
_This new Edition of Sir_ Isaac Newton's Opticks _is carefully printed
|
| 61 |
+
from the Third Edition, as it was corrected by the Author's own Hand,
|
| 62 |
+
and left before his Death with the Bookseller. Since Sir_ Isaac's
|
| 63 |
+
Lectiones Opticæ, _which he publickly read in the University of_
|
| 64 |
+
Cambridge _in the Years 1669, 1670, and 1671, are lately printed, it has
|
| 65 |
+
been thought proper to make at the bottom of the Pages several Citations
|
| 66 |
+
from thence, where may be found the Demonstrations, which the Author
|
| 67 |
+
omitted in these_ Opticks.
|
| 68 |
+
|
| 69 |
+
* * * * *
|
| 70 |
+
|
| 71 |
+
Transcriber's Note: There are several greek letters used in the
|
| 72 |
+
descriptions of the illustrations. They are signified by [Greek:
|
| 73 |
+
letter]. Square roots are noted by the letters sqrt before the equation.
|
| 74 |
+
|
| 75 |
+
* * * * *
|
| 76 |
+
|
| 77 |
+
THE FIRST BOOK OF OPTICKS
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
_PART I._
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
My Design in this Book is not to explain the Properties of Light by
|
| 86 |
+
Hypotheses, but to propose and prove them by Reason and Experiments: In
|
| 87 |
+
order to which I shall premise the following Definitions and Axioms.
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
_DEFINITIONS_
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
DEFIN. I.
|
| 96 |
+
|
| 97 |
+
_By the Rays of Light I understand its least Parts, and those as well
|
| 98 |
+
Successive in the same Lines, as Contemporary in several Lines._ For it
|
| 99 |
+
is manifest that Light consists of Parts, both Successive and
|
| 100 |
+
Contemporary; because in the same place you may stop that which comes
|
| 101 |
+
one moment, and let pass that which comes presently after; and in the
|
| 102 |
+
same time you may stop it in any one place, and let it pass in any
|
| 103 |
+
other. For that part of Light which is stopp'd cannot be the same with
|
| 104 |
+
that which is let pass. The least Light or part of Light, which may be
|
| 105 |
+
stopp'd alone without the rest of the Light, or propagated alone, or do
|
| 106 |
+
or suffer any thing alone, which the rest of the Light doth not or
|
| 107 |
+
suffers not, I call a Ray of Light.
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
DEFIN. II.
|
| 111 |
+
|
| 112 |
+
_Refrangibility of the Rays of Light, is their Disposition to be
|
| 113 |
+
refracted or turned out of their Way in passing out of one transparent
|
| 114 |
+
Body or Medium into another. And a greater or less Refrangibility of
|
| 115 |
+
Rays, is their Disposition to be turned more or less out of their Way in
|
| 116 |
+
like Incidences on the same Medium._ Mathematicians usually consider the
|
| 117 |
+
Rays of Light to be Lines reaching from the luminous Body to the Body
|
| 118 |
+
illuminated, and the refraction of those Rays to be the bending or
|
| 119 |
+
breaking of those lines in their passing out of one Medium into another.
|
| 120 |
+
And thus may Rays and Refractions be considered, if Light be propagated
|
| 121 |
+
in an instant. But by an Argument taken from the Γquations of the times
|
| 122 |
+
of the Eclipses of _Jupiter's Satellites_, it seems that Light is
|
| 123 |
+
propagated in time, spending in its passage from the Sun to us about
|
| 124 |
+
seven Minutes of time: And therefore I have chosen to define Rays and
|
| 125 |
+
Refractions in such general terms as may agree to Light in both cases.
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
DEFIN. III.
|
| 129 |
+
|
| 130 |
+
_Reflexibility of Rays, is their Disposition to be reflected or turned
|
| 131 |
+
back into the same Medium from any other Medium upon whose Surface they
|
| 132 |
+
fall. And Rays are more or less reflexible, which are turned back more
|
| 133 |
+
or less easily._ As if Light pass out of a Glass into Air, and by being
|
| 134 |
+
inclined more and more to the common Surface of the Glass and Air,
|
| 135 |
+
begins at length to be totally reflected by that Surface; those sorts of
|
| 136 |
+
Rays which at like Incidences are reflected most copiously, or by
|
| 137 |
+
inclining the Rays begin soonest to be totally reflected, are most
|
| 138 |
+
reflexible.
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
DEFIN. IV.
|
| 142 |
+
|
| 143 |
+
_The Angle of Incidence is that Angle, which the Line described by the
|
| 144 |
+
incident Ray contains with the Perpendicular to the reflecting or
|
| 145 |
+
refracting Surface at the Point of Incidence._
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
DEFIN. V.
|
| 149 |
+
|
| 150 |
+
_The Angle of Reflexion or Refraction, is the Angle which the line
|
| 151 |
+
described by the reflected or refracted Ray containeth with the
|
| 152 |
+
Perpendicular to the reflecting or refracting Surface at the Point of
|
| 153 |
+
Incidence._
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
DEFIN. VI.
|
| 157 |
+
|
| 158 |
+
_The Sines of Incidence, Reflexion, and Refraction, are the Sines of the
|
| 159 |
+
Angles of Incidence, Reflexion, and Refraction._
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
DEFIN. VII
|
| 163 |
+
|
| 164 |
+
_The Light whose Rays are all alike Refrangible, I call Simple,
|
| 165 |
+
Homogeneal and Similar; and that whose Rays are some more Refrangible
|
| 166 |
+
than others, I call Compound, Heterogeneal and Dissimilar._ The former
|
| 167 |
+
Light I call Homogeneal, not because I would affirm it so in all
|
| 168 |
+
respects, but because the Rays which agree in Refrangibility, agree at
|
| 169 |
+
least in all those their other Properties which I consider in the
|
| 170 |
+
following Discourse.
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
DEFIN. VIII.
|
| 174 |
+
|
| 175 |
+
_The Colours of Homogeneal Lights, I call Primary, Homogeneal and
|
| 176 |
+
Simple; and those of Heterogeneal Lights, Heterogeneal and Compound._
|
| 177 |
+
For these are always compounded of the colours of Homogeneal Lights; as
|
| 178 |
+
will appear in the following Discourse.
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
_AXIOMS._
|
| 184 |
+
|
| 185 |
+
|
| 186 |
+
AX. I.
|
| 187 |
+
|
| 188 |
+
_The Angles of Reflexion and Refraction, lie in one and the same Plane
|
| 189 |
+
with the Angle of Incidence._
|
| 190 |
+
|
| 191 |
+
|
| 192 |
+
AX. II.
|
| 193 |
+
|
| 194 |
+
_The Angle of Reflexion is equal to the Angle of Incidence._
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
AX. III.
|
| 198 |
+
|
| 199 |
+
_If the refracted Ray be returned directly back to the Point of
|
| 200 |
+
Incidence, it shall be refracted into the Line before described by the
|
| 201 |
+
incident Ray._
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
AX. IV.
|
| 205 |
+
|
| 206 |
+
_Refraction out of the rarer Medium into the denser, is made towards the
|
| 207 |
+
Perpendicular; that is, so that the Angle of Refraction be less than the
|
| 208 |
+
Angle of Incidence._
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
AX. V.
|
| 212 |
+
|
| 213 |
+
_The Sine of Incidence is either accurately or very nearly in a given
|
| 214 |
+
Ratio to the Sine of Refraction._
|
| 215 |
+
|
| 216 |
+
Whence
|
evidence/localmaxxing/p3d-2k/speed-test.json
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"agentFeedback": {
|
| 3 |
+
"benchmarkStatus": "completed",
|
| 4 |
+
"canApiValidate": true,
|
| 5 |
+
"canSubmit": true,
|
| 6 |
+
"engine": "vllm",
|
| 7 |
+
"message": "Speed-test payload is ready for API validation.",
|
| 8 |
+
"mode": "remote",
|
| 9 |
+
"nextCommand": "lmx speed-test dry-run /var/tmp/gemma4-12b/runs/lmx-2k-p3d/speed-test.json",
|
| 10 |
+
"outputPath": "/var/tmp/gemma4-12b/runs/lmx-2k-p3d/speed-test.json",
|
| 11 |
+
"outputPathAbsolute": "/var/tmp/gemma4-12b/runs/lmx-2k-p3d/speed-test.json",
|
| 12 |
+
"requiresMetrics": false,
|
| 13 |
+
"runPersisted": true,
|
| 14 |
+
"savedRunPath": "/var/tmp/gemma4-12b/runs/lmx-2k-p3d/runs/Lottolabs-gemma-4-12B-it-TT-BFP8-P150/20261001T001840Z.json",
|
| 15 |
+
"savedRunPathAbsolute": "/var/tmp/gemma4-12b/runs/lmx-2k-p3d/runs/Lottolabs-gemma-4-12B-it-TT-BFP8-P150/20261001T001840Z.json",
|
| 16 |
+
"savedRunPathRelative": "/var/tmp/gemma4-12b/runs/lmx-2k-p3d/runs/Lottolabs-gemma-4-12B-it-TT-BFP8-P150/20261001T001840Z.json",
|
| 17 |
+
"status": "ready_for_api_validation",
|
| 18 |
+
"submissionId": "cmuosddj10kd1lq010lf2ahkj",
|
| 19 |
+
"submissionStatus": "approved",
|
| 20 |
+
"submitCommand": "lmx speed-test submit /var/tmp/gemma4-12b/runs/lmx-2k-p3d/speed-test.json"
|
| 21 |
+
},
|
| 22 |
+
"backend": "tt-metal",
|
| 23 |
+
"batchSize": 1,
|
| 24 |
+
"benchmarkMode": "remote",
|
| 25 |
+
"contextLength": 262144,
|
| 26 |
+
"detectedEngines": [
|
| 27 |
+
{
|
| 28 |
+
"binaries": {
|
| 29 |
+
"llama-bench": "/home/lotto/llama.cpp/build/bin/llama-bench",
|
| 30 |
+
"llama-cli": "/home/lotto/llama.cpp/build/bin/llama-cli",
|
| 31 |
+
"llama-server": "/home/lotto/llama.cpp/build/bin/llama-server"
|
| 32 |
+
},
|
| 33 |
+
"installed": true,
|
| 34 |
+
"name": "llama.cpp"
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"engineFlags": {
|
| 38 |
+
"baseUrl": "http://127.0.0.1:8002",
|
| 39 |
+
"concurrency": 1,
|
| 40 |
+
"iterations": 5,
|
| 41 |
+
"maxTokens": 256,
|
| 42 |
+
"mode": "remote",
|
| 43 |
+
"prefixCacheBust": "leading_nonce_per_request",
|
| 44 |
+
"promptFile": "/var/tmp/gemma4-12b/runs/prompt-2k.txt",
|
| 45 |
+
"promptSource": "file",
|
| 46 |
+
"servedModel": "google/gemma-4-12B-it",
|
| 47 |
+
"servedModelSource": "explicit",
|
| 48 |
+
"specDecoding": true,
|
| 49 |
+
"specDraftModel": "google/gemma-4-12B-it-assistant",
|
| 50 |
+
"specMethod": "assistant",
|
| 51 |
+
"specNumTokens": 5,
|
| 52 |
+
"stream": true,
|
| 53 |
+
"timeoutSeconds": 600,
|
| 54 |
+
"warmup": 2
|
| 55 |
+
},
|
| 56 |
+
"engineName": "vllm",
|
| 57 |
+
"hardware": {
|
| 58 |
+
"cpu": "AMD Ryzen 9 9950X",
|
| 59 |
+
"gpuCount": 1,
|
| 60 |
+
"gpuName": "Tenstorrent P150",
|
| 61 |
+
"hwClass": "DISCRETE_GPU",
|
| 62 |
+
"os": "Ubuntu 26.04 LTS",
|
| 63 |
+
"ramGb": 96,
|
| 64 |
+
"vramGb": 32
|
| 65 |
+
},
|
| 66 |
+
"hardwareSource": "file",
|
| 67 |
+
"hfId": "Lottolabs/gemma-4-12B-it-TT-BFP8-P150",
|
| 68 |
+
"id": "cmuosddj10kd1lq010lf2ahkj",
|
| 69 |
+
"metricSource": "remote_endpoint",
|
| 70 |
+
"modelResolution": {
|
| 71 |
+
"candidates": [
|
| 72 |
+
{
|
| 73 |
+
"benchmarkCount": 38,
|
| 74 |
+
"displayName": "gemma-4-12B-it",
|
| 75 |
+
"family": "Gemma",
|
| 76 |
+
"hfId": "google/gemma-4-12B-it",
|
| 77 |
+
"params": 12
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"benchmarkCount": 9,
|
| 81 |
+
"displayName": "gemma-4-12B-it-qat-q4_0-gguf",
|
| 82 |
+
"family": "Gemma",
|
| 83 |
+
"hfId": "google/gemma-4-12B-it-qat-q4_0-gguf",
|
| 84 |
+
"params": 12
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"benchmarkCount": 0,
|
| 88 |
+
"displayName": "gemma-4-12B-it-qat-q4_0-unquantized",
|
| 89 |
+
"family": "Gemma",
|
| 90 |
+
"hfId": "google/gemma-4-12B-it-qat-q4_0-unquantized",
|
| 91 |
+
"params": 12
|
| 92 |
+
}
|
| 93 |
+
],
|
| 94 |
+
"hfId": "Lottolabs/gemma-4-12B-it-TT-BFP8-P150",
|
| 95 |
+
"searchCommand": "lmx model search google/gemma-4-12B-it",
|
| 96 |
+
"searchQuery": "google/gemma-4-12B-it",
|
| 97 |
+
"searchQuerySource": "served_model",
|
| 98 |
+
"servedModel": "google/gemma-4-12B-it",
|
| 99 |
+
"servedModelSource": "explicit",
|
| 100 |
+
"status": "alias"
|
| 101 |
+
},
|
| 102 |
+
"modelRevision": "main",
|
| 103 |
+
"notes": "Single Tenstorrent P150. Lottolabs/gemma-4-12B-it-TT-BFP8-P150, runtime p3d (image sha256:331e79b24fa2575c436158be994c6bc0e184d776d15305e82538d2e4d646f544, dual-NoC weight reader): all-BFP8 TT-native weights with exact equivalence proof, gemma-4-12B-it-assistant drafter K=5 with exact greedy verification, native 262144 context, greedy. ~2K-token natural-text prompt (Newton, Opticks).",
|
| 104 |
+
"outputText": "### Summary of the Passage\n\nIn this introductory section of *Opticks*, Isaac Newton establishes the foundational framework for his study of light. He begins by clarifying his intent: he aims to explain the properties of light through **reason and experimentation** rather than through abstract hypotheses. \n\nTo do this, he provides a series of formal **Definitions** and **Axioms**:\n* **Definitions:** He defines \"Rays of Light\" as the smallest parts of light, \"Refrangibility\" (how light bends when moving between mediums), \"Reflexibility\" (how light bounces off surfaces), and the specific angles involved in these movements. Crucially, he distinguishes between **Homogeneal Light** (light where all rays bend the same way) and **Heterogeneal Light** (light made of different types of rays).\n* **Axioms:** He lists the fundamental rules of optics, such as the fact that the angle of reflection equals the angle of incidence, and that light bends toward the perpendicular when moving from a \"rarer\" (thinner) medium to a \"denser\" one.\n\n---\n\n### The Main Experiment (Explained in Plain Language)\n\nWhile the text provided is primarily a list of definitions and rules,",
|
| 105 |
+
"outputTokens": 256,
|
| 106 |
+
"prefillTokens": 0,
|
| 107 |
+
"prompt": "Summarize the following passage from Newtonβs Opticks, then explain its main experiment in plain language.\n\n added\nabout twelve Years after to complete the Theory; except the third Book,\nand the last Proposition of the Second, which were since put together\nout of scatter'd Papers. To avoid being engaged in Disputes about these\nMatters, I have hitherto delayed the printing, and should still have\ndelayed it, had not the Importunity of Friends prevailed upon me. If any\nother Papers writ on this Subject are got out of my Hands they are\nimperfect, and were perhaps written before I had tried all the\nExperiments here set down, and fully satisfied my self about the Laws of\nRefractions and Composition of Colours. I have here publish'd what I\nthink proper to come abroad, wishing that it may not be translated into\nanother Language without my Consent._\n\n_The Crowns of Colours, which sometimes appear about the Sun and Moon, I\nhave endeavoured to give an Account of; but for want of sufficient\nObservations leave that Matter to be farther examined. The Subject of\nthe Third Book I have also left imperfect, not having tried all the\nExperiments which I intended when I was about these Matters, nor\nrepeated some of those which I did try, until I had satisfied my self\nabout all their Circumstances. To communicate what I have tried, and\nleave the rest to others for farther Enquiry, is all my Design in\npublishing these Papers._\n\n_In a Letter written to Mr._ Leibnitz _in the year 1679, and published\nby Dr._ Wallis, _I mention'd a Method by which I had found some general\nTheorems about squaring Curvilinear Figures, or comparing them with the\nConic Sections, or other the simplest Figures with which they may be\ncompared. And some Years ago I lent out a Manuscript containing such\nTheorems, and having since met with some Things copied out of it, I have\non this Occasion made it publick, prefixing to it an_ Introduction, _and\nsubjoining a_ Scholium _concerning that Method. And I have joined with\nit another small Tract concerning the Curvilinear Figures of the Second\nKind, which was also written many Years ago, and made known to some\nFriends, who have solicited the making it publick._\n\n _I. N._\n\nApril 1, 1704.\n\n\nAdvertisement II\n\n_In this Second Edition of these Opticks I have omitted the Mathematical\nTracts publish'd at the End of the former Edition, as not belonging to\nthe Subject. And at the End of the Third Book I have added some\nQuestions. And to shew that I do not take Gravity for an essential\nProperty of Bodies, I have added one Question concerning its Cause,\nchusing to propose it by way of a Question, because I am not yet\nsatisfied about it for want of Experiments._\n\n _I. N._\n\nJuly 16, 1717.\n\n\nAdvertisement to this Fourth Edition\n\n_This new Edition of Sir_ Isaac Newton's Opticks _is carefully printed\nfrom the Third Edition, as it was corrected by the Author's own Hand,\nand left before his Death with the Bookseller. Since Sir_ Isaac's\nLectiones OpticΓ¦, _which he publickly read in the University of_\nCambridge _in the Years 1669, 1670, and 1671, are lately printed, it has\nbeen thought proper to make at the bottom of the Pages several Citations\nfrom thence, where may be found the Demonstrations, which the Author\nomitted in these_ Opticks.\n\n * * * * *\n\nTranscriber's Note: There are several greek letters used in the\ndescriptions of the illustrations. They are signified by [Greek:\nletter]. Square roots are noted by the letters sqrt before the equation.\n\n * * * * *\n\nTHE FIRST BOOK OF OPTICKS\n\n\n\n\n_PART I._\n\n\nMy Design in this Book is not to explain the Properties of Light by\nHypotheses, but to propose and prove them by Reason and Experiments: In\norder to which I shall premise the following Definitions and Axioms.\n\n\n\n\n_DEFINITIONS_\n\n\nDEFIN. I.\n\n_By the Rays of Light I understand its least Parts, and those as well\nSuccessive in the same Lines, as Contemporary in several Lines._ For it\nis manifest that Light consists of Parts, both Successive and\nContemporary; because in the same place you may stop that which comes\none moment, and let pass that which comes presently after; and in the\nsame time you may stop it in any one place, and let it pass in any\nother. For that part of Light which is stopp'd cannot be the same with\nthat which is let pass. The least Light or part of Light, which may be\nstopp'd alone without the rest of the Light, or propagated alone, or do\nor suffer any thing alone, which the rest of the Light doth not or\nsuffers not, I call a Ray of Light.\n\n\nDEFIN. II.\n\n_Refrangibility of the Rays of Light, is their Disposition to be\nrefracted or turned out of their Way in passing out of one transparent\nBody or Medium into another. And a greater or less Refrangibility of\nRays, is their Disposition to be turned more or less out of their Way in\nlike Incidences on the same Medium._ Mathematicians usually consider the\nRays of Light to be Lines reaching from the luminous Body to the Body\nilluminated, and the refraction of those Rays to be the bending or\nbreaking of those lines in their passing out of one Medium into another.\nAnd thus may Rays and Refractions be considered, if Light be propagated\nin an instant. But by an Argument taken from the Γquations of the times\nof the Eclipses of _Jupiter's Satellites_, it seems that Light is\npropagated in time, spending in its passage from the Sun to us about\nseven Minutes of time: And therefore I have chosen to define Rays and\nRefractions in such general terms as may agree to Light in both cases.\n\n\nDEFIN. III.\n\n_Reflexibility of Rays, is their Disposition to be reflected or turned\nback into the same Medium from any other Medium upon whose Surface they\nfall. And Rays are more or less reflexible, which are turned back more\nor less easily._ As if Light pass out of a Glass into Air, and by being\ninclined more and more to the common Surface of the Glass and Air,\nbegins at length to be totally reflected by that Surface; those sorts of\nRays which at like Incidences are reflected most copiously, or by\ninclining the Rays begin soonest to be totally reflected, are most\nreflexible.\n\n\nDEFIN. IV.\n\n_The Angle of Incidence is that Angle, which the Line described by the\nincident Ray contains with the Perpendicular to the reflecting or\nrefracting Surface at the Point of Incidence._\n\n\nDEFIN. V.\n\n_The Angle of Reflexion or Refraction, is the Angle which the line\ndescribed by the reflected or refracted Ray containeth with the\nPerpendicular to the reflecting or refracting Surface at the Point of\nIncidence._\n\n\nDEFIN. VI.\n\n_The Sines of Incidence, Reflexion, and Refraction, are the Sines of the\nAngles of Incidence, Reflexion, and Refraction._\n\n\nDEFIN. VII\n\n_The Light whose Rays are all alike Refrangible, I call Simple,\nHomogeneal and Similar; and that whose Rays are some more Refrangible\nthan others, I call Compound, Heterogeneal and Dissimilar._ The former\nLight I call Homogeneal, not because I would affirm it so in all\nrespects, but because the Rays which agree in Refrangibility, agree at\nleast in all those their other Properties which I consider in the\nfollowing Discourse.\n\n\nDEFIN. VIII.\n\n_The Colours of Homogeneal Lights, I call Primary, Homogeneal and\nSimple; and those of Heterogeneal Lights, Heterogeneal and Compound._\nFor these are always compounded of the colours of Homogeneal Lights; as\nwill appear in the following Discourse.\n\n\n\n\n_AXIOMS._\n\n\nAX. I.\n\n_The Angles of Reflexion and Refraction, lie in one and the same Plane\nwith the Angle of Incidence._\n\n\nAX. II.\n\n_The Angle of Reflexion is equal to the Angle of Incidence._\n\n\nAX. III.\n\n_If the refracted Ray be returned directly back to the Point of\nIncidence, it shall be refracted into the Line before described by the\nincident Ray._\n\n\nAX. IV.\n\n_Refraction out of the rarer Medium into the denser, is made towards the\nPerpendicular; that is, so that the Angle of Refraction be less than the\nAngle of Incidence._\n\n\nAX. V.\n\n_The Sine of Incidence is either accurately or very nearly in a given\nRatio to the Sine of Refraction._\n\nWhence",
|
| 108 |
+
"promptTokens": 1996,
|
| 109 |
+
"provenance": {
|
| 110 |
+
"benchmarkMode": "remote",
|
| 111 |
+
"cli": "localmaxxing-go",
|
| 112 |
+
"createdAt": "2026-10-01T00:18:40Z",
|
| 113 |
+
"metricSource": "remote_endpoint",
|
| 114 |
+
"timingSource": "client_observed_http",
|
| 115 |
+
"ttftSource": "stream_first_token"
|
| 116 |
+
},
|
| 117 |
+
"quantization": "BFP8",
|
| 118 |
+
"quantizationResolution": {
|
| 119 |
+
"cli": "BFP8",
|
| 120 |
+
"status": "matched",
|
| 121 |
+
"trusted": "BFP8",
|
| 122 |
+
"trustedSource": "cli"
|
| 123 |
+
},
|
| 124 |
+
"sampleStats": {
|
| 125 |
+
"tokSOut": {
|
| 126 |
+
"count": 5,
|
| 127 |
+
"max": 59.8,
|
| 128 |
+
"mean": 54.2,
|
| 129 |
+
"min": 48.5,
|
| 130 |
+
"p50": 53.9,
|
| 131 |
+
"stddev": 4.6
|
| 132 |
+
},
|
| 133 |
+
"tokSTotal": {
|
| 134 |
+
"count": 5,
|
| 135 |
+
"max": 458.4,
|
| 136 |
+
"mean": 420.18,
|
| 137 |
+
"min": 381.7,
|
| 138 |
+
"p50": 417.9,
|
| 139 |
+
"stddev": 31.11
|
| 140 |
+
},
|
| 141 |
+
"ttftMs": {
|
| 142 |
+
"count": 5,
|
| 143 |
+
"max": 652.07,
|
| 144 |
+
"mean": 651.48,
|
| 145 |
+
"min": 650.74,
|
| 146 |
+
"p50": 651.49,
|
| 147 |
+
"stddev": 0.5
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
"samples": [
|
| 151 |
+
{
|
| 152 |
+
"iteration": 1,
|
| 153 |
+
"outputTokens": 256,
|
| 154 |
+
"promptTokens": 1993,
|
| 155 |
+
"request": 1,
|
| 156 |
+
"tokSOut": 53.9,
|
| 157 |
+
"tokSPrefill": 3062.7,
|
| 158 |
+
"ttftMs": 650.74
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"iteration": 2,
|
| 162 |
+
"outputTokens": 256,
|
| 163 |
+
"promptTokens": 1998,
|
| 164 |
+
"request": 1,
|
| 165 |
+
"tokSOut": 48.5,
|
| 166 |
+
"tokSPrefill": 3065.3,
|
| 167 |
+
"ttftMs": 651.8
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"iteration": 3,
|
| 171 |
+
"outputTokens": 256,
|
| 172 |
+
"promptTokens": 1994,
|
| 173 |
+
"request": 1,
|
| 174 |
+
"tokSOut": 57.6,
|
| 175 |
+
"tokSPrefill": 3060.7,
|
| 176 |
+
"ttftMs": 651.49
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"iteration": 4,
|
| 180 |
+
"outputTokens": 256,
|
| 181 |
+
"promptTokens": 1997,
|
| 182 |
+
"request": 1,
|
| 183 |
+
"tokSOut": 51.2,
|
| 184 |
+
"tokSPrefill": 3062.6,
|
| 185 |
+
"ttftMs": 652.07
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"iteration": 5,
|
| 189 |
+
"outputTokens": 256,
|
| 190 |
+
"promptTokens": 1996,
|
| 191 |
+
"request": 1,
|
| 192 |
+
"tokSOut": 59.8,
|
| 193 |
+
"tokSPrefill": 3064.6,
|
| 194 |
+
"ttftMs": 651.32
|
| 195 |
+
}
|
| 196 |
+
],
|
| 197 |
+
"submissionId": "cmuosddj10kd1lq010lf2ahkj",
|
| 198 |
+
"submissionStatus": "approved",
|
| 199 |
+
"submittedAt": "2026-10-01T00:18:41.725Z",
|
| 200 |
+
"timingSource": "client_observed_http",
|
| 201 |
+
"tokSOut": 53.9,
|
| 202 |
+
"tokSOutSource": "inter_token",
|
| 203 |
+
"tokSPrefill": 3062.7,
|
| 204 |
+
"tokSPrefillSource": "estimated_from_ttft",
|
| 205 |
+
"tokSTotal": 417.9,
|
| 206 |
+
"tokenSources": {
|
| 207 |
+
"output": "endpoint_usage",
|
| 208 |
+
"prompt": "endpoint_usage"
|
| 209 |
+
},
|
| 210 |
+
"ttftMs": 651.49,
|
| 211 |
+
"ttftSource": "stream_first_token"
|
| 212 |
+
}
|
evidence/{http-p3c β previous-p3c/http}/exact.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/long.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-128/requests-128-c1.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-128/summary.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-128/warmup-128.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-131072/requests-131072-c1.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-131072/summary.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-131072/warmup-131072.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-2048/requests-2048-c1.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-2048/summary.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-2048/warmup-2048.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-261632/requests-261632-c1.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-261632/summary.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-261632/warmup-261632.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-32768/requests-32768-c1.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-32768/summary.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-32768/warmup-32768.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-8192/requests-8192-c1.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-8192/summary.json
RENAMED
|
File without changes
|
evidence/{http-p3c β previous-p3c/http}/tput-8192/warmup-8192.json
RENAMED
|
File without changes
|
evidence/previous-p3c/http/tput_vs_direct.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"ctx": 32768,
|
| 4 |
+
"direct_tokens": 512,
|
| 5 |
+
"http_requests": 3,
|
| 6 |
+
"identical": [
|
| 7 |
+
true,
|
| 8 |
+
true,
|
| 9 |
+
true
|
| 10 |
+
]
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"ctx": 261632,
|
| 14 |
+
"direct_tokens": 512,
|
| 15 |
+
"http_requests": 3,
|
| 16 |
+
"identical": [
|
| 17 |
+
true,
|
| 18 |
+
true,
|
| 19 |
+
true
|
| 20 |
+
]
|
| 21 |
+
}
|
| 22 |
+
]
|
evidence/{localmaxxing/speed-test.json β previous-p3c/localmaxxing-speed-test.json}
RENAMED
|
File without changes
|
evidence/{public-download-verification.json β previous-p3c/public-download-verification.json}
RENAMED
|
File without changes
|
evidence/{public-serving-smoke.json β previous-p3c/public-serving-smoke.json}
RENAMED
|
File without changes
|
evidence/{public-serving-smoke β previous-p3c/public-serving-smoke}/requests-2048-c1.json
RENAMED
|
File without changes
|