Skip to content

Commit ae93b2b

Browse files
authored
Merge branch 'main' into arekay/consolidate_llama_examples
2 parents d030601 + 9d8abdf commit ae93b2b

127 files changed

Lines changed: 15360 additions & 1315 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.pre-commit-config.yaml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ repos:
5151

5252
- id: regenerate-templates
5353
name: Regenerate YAML templates from schema defaults
54-
entry: python scripts/regenerate_templates.py
54+
# uv pins the interpreter to this project's environment: a bare
55+
# `python` resolves whatever is first on PATH, which can import
56+
# inference_endpoint from a sibling checkout and regenerate the
57+
# templates against the wrong schema.
58+
entry: uv run --no-sync python scripts/regenerate_templates.py
5559
language: system
5660
pass_filenames: false
5761
files: ^(src/inference_endpoint/config/(schema\.py|templates/.*)|src/inference_endpoint/endpoint_client/config\.py|scripts/regenerate_templates\.py)$

‎AGENTS.md‎

Lines changed: 20 additions & 21 deletions
Large diffs are not rendered by default.

‎ATTRIBUTION‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,13 @@ This section lists third-party assets and their attributions.
2525
(instance IDs such as `django__django-16899`). Cite: Jimenez et al.,
2626
"SWE-bench: Can Language Models Resolve Real-world Github Issues?", ICLR 2024.
2727

28+
### mini-swe-agent
29+
30+
- Source: https://github.com/SWE-agent/mini-swe-agent/tree/v2.3.0
31+
- License: MIT
32+
- Copyright: Copyright (c) 2025 Kilian A. Lieret and Carlos E. Jimenez
33+
- Description: The SWE-bench service templates and optional Qwen tool schemas,
34+
parser, and model extension are derived from mini-swe-agent v2.3.0. The full
35+
upstream notice is retained in the swebench_service package.
36+
2837
For a complete list of dependencies and their licenses, see the requirements files in the `requirements/` directory.

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ Dataset Manager ──> Load Generator ──> Endpoint Client ──> External
7676
Metrics Collector (EventRecorder + MetricsReporter)
7777
```
7878

79-
| Component | Purpose |
80-
| ------------------- | ------------------------------------------------------------------------------------ |
81-
| **Load Generator** | Central orchestrator: `BenchmarkSession` owns lifecycle, `Scheduler` controls timing |
82-
| **Endpoint Client** | Multi-process HTTP workers communicating via ZMQ IPC |
83-
| **Dataset Manager** | Loads JSONL, HuggingFace, CSV, JSON, Parquet datasets |
84-
| **Metrics** | SQLite-backed event recording, aggregation (QPS, latency, TTFT, TPOT) |
85-
| **Config** | Pydantic-based YAML schema, CLI auto-generated via cyclopts |
79+
| Component | Purpose |
80+
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
81+
| **Load Generator** | Central orchestrator: `BenchmarkSession` owns lifecycle, `Scheduler` controls timing |
82+
| **Endpoint Client** | Multi-process HTTP workers communicating via ZMQ IPC |
83+
| **Dataset Manager** | Loads JSONL, HuggingFace, CSV, JSON, Parquet datasets |
84+
| **Metrics** | SQLite-backed event recording, aggregation (QPS, latency, TTFT, TPOT), MLPerf early-stopping percentile estimates (on by default) |
85+
| **Config** | Pydantic-based YAML schema, CLI auto-generated via cyclopts |
8686

8787
### Benchmark Modes
8888

‎docs/CLIENT_PERFORMANCE_TUNING.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ enable_cpu_affinity: true # Auto-compute NUMA-aware plan (default)
3232
# enable_cpu_affinity: false # Disabled
3333
```
3434

35-
**Auto mode allocation** (default 6 physical cores for loadgen):
35+
**Auto mode allocation** (default 5 physical cores for loadgen, `DEFAULT_LOADGEN_CORES`):
3636

3737
- 1 core: Session thread (scheduler, busy-wait timing)
3838
- 1 core: Event loop thread (uvloop, response handling)
39-
- 4 cores: ZMQ I/O threads
40-
- Remaining physical cores: Workers (one per core with all SMT siblings)
39+
- Remaining cores: ZMQ I/O threads (up to 4, sharing the leftover loadgen cores)
40+
- All other physical cores: Workers (one per core with all SMT siblings)
4141

4242
## Platform Notes
4343

‎docs/CLI_QUICK_REFERENCE.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ Flag names shown as `--full.dotted.path --alias`. Both forms work.
108108
the output location; otherwise a default report directory is used.
109109
- `--timeout` - Global timeout in seconds
110110
- `--enable-cpu-affinity / --no-cpu-affinity` - NUMA-aware CPU pinning (default: true)
111+
- `--no-early-stopping` - opt out of the MLPerf early-stopping percentile estimates in `result_summary.json` (default: on; see [early_stopping.md](early_stopping.md))
111112

112113
**Online-specific:**
113114

@@ -142,6 +143,7 @@ Format is auto-detected from file extension. Override with `format=<ext>` in the
142143

143144
- Max throughput testing
144145
- Metrics: QPS, latency, TTFT, TPOT
146+
- Ordinary configured scoring remains available, but external scorers are skipped
145147
- Fastest - no response collection overhead
146148

147149
**acc** - Accuracy only (collect all responses)
@@ -172,6 +174,10 @@ inference-endpoint benchmark offline \
172174

173175
> **Note:** Submission runs (`type: submission`) are YAML-only — they require `submission_ref` and `benchmark_mode` fields not exposed in CLI.
174176

177+
Report directories contain a sanitized `config.yaml`: credentials and other
178+
secret values are replaced with `<redacted>`. Restore those values before
179+
reusing that file as benchmark input.
180+
175181
## Load Patterns
176182

177183
**max_throughput** - Offline mode

0 commit comments

Comments
 (0)