Speed test
DeepSeek-R1-Distill-Qwen-14B-FP8-dynamic
CMP 170HX 64GB · vllm · v0.32.0rc1.dev249+g18305948a · FP8 dynamic
Decode
66.2tok/s
Prefill
3.5ktok/s
Time to first token
63ms
Total
93.7tok/s
Peak VRAM
58.7GB
Context length
128K
KV depth
0
Batch size
1
Concurrency
1
Power draw
180W
Verification
Verified runLaunch command
vllm serve RedHatAI/DeepSeek-R1-Distill-Qwen-14B-FP8-dynamic --max-model-len 131072 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code
Theoretical memory ceiling
99.2–99.5 tok/s
1,493 GB/s memory bandwidth (spec sheet) · 15.00 GB model weights · 16-bit KV cache · 1–218 tokens of context
67–67%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from RedHatAI/DeepSeek-R1-Distill-Qwen-14B-FP8-dynamic; size from FP8 dynamic estimate. Hardware source · Open calculator
Hardware
- GPU
- CMP 170HX
- Count
- 1
- VRAM
- 64 GB
- OS
- Ubuntu 26.04.1
Engine
- Engine
- vllm
- Version
- 0.32.0rc1.dev249+g18305948a
- Repository
- https://github.com/vllm-project/vl…
- Build
- ghcr.io/morrowmake/vllm-cmp170hx@sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79
- Quant
- FP8 dynamic
- Backend
- cuda
- TP
- 1
- KV cache
- auto
- GPU mem util
- 0.94
- Prefix caching
- yes
- Max running seqs
- 128
Run config
- Context
- 131,072 tokens
- Depth
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 218
- Prefill tok/s
- 3,480.6 tok/s
- Power draw
- 180 W
- Output tokens
- 512
- Notes
- Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: none. KV cache: auto (bf16). 1x NVIDIA CMP 170HX 64GB (cmpunlocker), 180 W limit, PCIe Gen2 x4 | 2x Intel Xeon E5-2630 v3 | 64 GB DDR4 | Ubuntu 26.04.1, NVIDIA driver 610.57.04 | vLLM: Morrowmake vllm-cmp170hx image. Method: LocalMaxxing canonical prompt code-v1, batch 1, streaming, temperature 0, 512 output tokens (ignore_eos), cache-bust nonce so every prefill is cold, thinking off. Median of 5 runs (range 66.2-66.3 tok/s). tokSOut = (completion - 1) / time after first token.
Captured evidence
- Prompt hash (SHA-256)
- a737db738bd4…
Prompt sample · 760 chars
Implement a small command-line tool in Python called `logtally`. Requirements: - It reads newline-delimited JSON log records from stdin. Each record has `ts` (ISO-8601 string), `level` (one of DEBUG, INFO, WARN, ERROR), `service` (string), and optional `latency_ms` (number). - It prints, per service, the count of records by level and the p50 and p95 of `latency_ms` (ignore records without latency). - Malformed lines must be counted and reported at the end, never crash the program. - Support a `--since <ISO timestamp>` flag that drops earlier records. - Use only the standard library. After the code, explain in two or three sentences how you computed percentiles and why you chose that method, then list three edge cases a unit test suite should cover.
Output sample · 2,139 chars
Okay, I need to implement a Python command-line tool called logtally. Let's see what the requirements are. First, the tool reads newline-delimited JSON log records from standard input. Each record has 'ts', 'level', 'service', and an optional 'latency_ms'. So, I'll need to read each line, parse it as JSON, and process it. The output should be, per service, the count of records by level and the p50 and p95 of latency_ms. I should ignore records without latency_ms when calculating these percentiles. Also, malformed lines must be counted and reported at the end without crashing. So, I need to handle exceptions when parsing JSON and count those as errors. There's a --since flag that drops records earlier than a given ISO timestamp. I'll have to parse this timestamp and filter the logs accordingly. I can only use the standard library, so no external dependencies. Let me outline the steps: 1. Parse command-line arguments to check for --since. 2. Read each line from stdin, parse as JSON. 3. For each record: a. Check if it has 'ts', 'level', 'service'. If any are missing, it's malformed. b. If 'latency_ms' exists, add it to the service's latency list. c. Update the count for the level in the service's data. 4. After processing all lines, for each service: a. Compute p50 and p95 of latencies. b. Print the counts and percentiles. 5. At the end, print the number of malformed lines. Now, how to compute percentiles. The standard library doesn't have a built-in function, so I'll implement it. One common method is the R-7 method, which is used by Python's statistics module in some cases. Alternatively, I can use the numpy library, but since I can't use external modules, I'll have to implement it myself. Wait, the user said to use only the standard library, so I can't use numpy. So I need to implement the percentile calculation. Let me think about how to compute p50 and p95. One approach is to sort the list of latencies and then find the values at specific positions. For example, for a sorted list, the p50 is the median. The position can be calculated as (n-1)*0.5 + 1, using the R-6 method or
