instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
ai-dynamo__aiperf__54
ai-dynamo/aiperf
54
defect
cfa53de24a93872a7f81ea5ae0d1c83d51c3422b
8a2c768601b614a220a27f8cc4ed797492d01ef4
feat: initial cli arguments and user config passing
Sort of work in progress. Will need: [ ] Unit tests [ ] Confirmation of each flag name [ ] Rest of services support for accepting confg [ ] Potentially shims for each service's config
diff --git a/aiperf/cli.py b/aiperf/cli.py index c751a41c5d..b11334c50b 100644 --- a/aiperf/cli.py +++ b/aiperf/cli.py @@ -1,71 +1,103 @@ # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 +"""Main CLI entry point for the AIPerf sys...
4
2
0
[{"id": "G0", "claim": "Duplicate exports of 'PromptConfig' and 'SessionsConfig' in __all__ should be removed to avoid confusion and maintainability issues.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comm_config field changing from optio...
null
ai-dynamo__aiperf__629
ai-dynamo/aiperf
629
defect
40530ed231fb01ae1cfe3c9d22e43a0e7143780b
f03b2566fd13acf5bc83b5ad4c227f9e3f19bfdc
feat: add lightweight health server for Kubernetes probes
Add HealthServerMixin providing /healthz and /readyz endpoints using raw asyncio (no FastAPI overhead). Integrated into BaseService so all services automatically get health probe support. Features: - HealthCheckMixin: is_healthy(), is_ready(), get_health_details() - HealthServerMixin: minimal asyncio HTTP server w...
diff --git a/docs/environment_variables.md b/docs/environment_variables.md index 3b3927e21f..125a66311f 100644 --- a/docs/environment_variables.md +++ b/docs/environment_variables.md @@ -134,6 +134,10 @@ Service lifecycle and inter-service communication configuration. Controls timeou | `AIPERF_SERVICE_EVENT_LOOP_HEALT...
9
3
1
[{"id": "G0", "claim": "HealthCheckResult should be defined as an AIPerfBaseModel with Field(description=...) on each field instead of a plain dataclass, per project data-model standards.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests test_is_h...
null
ai-dynamo__aiperf__706
ai-dynamo/aiperf
706
defect
506768f547fd85159f38b821bf52465a8df8389a
9d8684f1a7f272f5f29208bd97073d6caf3d7b63
fix: handle None stdio streams in macOS child process bootstrap
On macOS, FD_CLOEXEC is set on terminal FDs before spawning child processes. After exec, FDs 0/1/2 are closed and Python sets sys.stdout/stderr to None. The old monolithic try/except silently swallowed the AttributeError on None.close(), skipping the devnull reassignment entirely. Libraries like billiard then crash on ...
diff --git a/src/aiperf/common/bootstrap.py b/src/aiperf/common/bootstrap.py index 1c06436925..83d0b382df 100644 --- a/src/aiperf/common/bootstrap.py +++ b/src/aiperf/common/bootstrap.py @@ -131,20 +131,7 @@ async def _run_service(): # terminal management, causing ASCII garbage and freezing when mouse events o...
7
5
0
[{"id": "G0", "claim": "If the second or third open(os.devnull) raises, the already-opened handles leak because no try/finally surrounds the three sequential opens.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a brief inline comment acknowledg...
null
ai-dynamo__aiperf__709
ai-dynamo/aiperf
709
defect
3bc710b59ee0f36f52cb9cdbcd305de71c97be71
7aa2bbea076367bc5c5d7ef187b9c7fb0b9de091
fix: redirect stdio at OS level and replace billiard with daemon flag hack
_redirect_stdio_to_devnull now uses os.dup2 to redirect FDs 0/1/2 at the OS level, not just Python-level sys.stdin/stdout/stderr. This ensures spawned grandchild processes (e.g. ProcessPoolExecutor workers via 'spawn' context) inherit safe descriptors instead of terminal FDs that Textual manages, fixing TerminatedWorke...
diff --git a/pyproject.toml b/pyproject.toml index 95d3a029da..51c8fe8b70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,6 @@ dependencies = [ "huggingface-hub>=0.34.0,<2.0", "jinja2~=3.1.5", # NOTE: Versions prior to 3.1.5 have vuln exploits "jmespath~=1.0.1", - "billiard>=4.2.0", "kaleido...
7
4
2
[{"id": "G0", "claim": "os.fdopen() defaults to closefd=True, so if sys.stdin/stdout/stderr are replaced elsewhere and the old stream objects are garbage-collected, FDs 0/1/2 get closed and the /dev/null redirect breaks; pass closefd=False to keep FD ownership at the OS level.", "category": "correctness", "verdict": "s...
null
ai-dynamo__aiperf__790
ai-dynamo/aiperf
790
defect
19a8c32df36d647192a68ec0a4a25207b7f3c3ff
8c3289dca9b3c8f91e55635d76e7de6c56c612fd
feat: add plugin for speed-bench for speculative decoding testing
Adds a plugin that feeds forward the speed-bench trace captures into aiperf to allow testing of specualtive decoding via trace captures from [SpeedBench](https://d1qx31qr3h6wln.cloudfront.net/publications/SPEED_Bench_Paper.pdf) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by Co...
diff --git a/README.md b/README.md index 5017b7cc89..9005e0b189 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ Log File: /home/user/Code/aiperf/artifacts/granite4:350m-openai-chat-concurrency - [MMStar Dataset](docs/tutorials/mmstar.md) - Profile vision language models with MMStar visual QA benchmark - [V...
2
2
1
[{"id": "G0", "claim": "The disable-server-metrics example in the tutorial omits the --endpoint-type chat and --streaming flags that the other examples have; add them for consistency.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "SpeedBenchLoader...
null
ai-dynamo__aiperf__811
ai-dynamo/aiperf
811
defect
cd75d4e80dde4879915ae274a0c0e28fc2d65840
1760e139f94318df2030ace589fd34515624228b
feat: add --request-content-type option for multipart/form-data video generation
* Add `--request-content-type` CLI option for multipart/form-data support ### Context A user benchmarking vLLM video generation endpoints reported that vLLM expects `multipart/form-data` requests (consistent with the OpenAI video generation API which accepts both JSON and form-data), but aiperf only sends `applic...
diff --git a/docs/cli-options.md b/docs/cli-options.md index 672c8c8ee0..ef15cfce30 100644 --- a/docs/cli-options.md +++ b/docs/cli-options.md @@ -187,6 +187,17 @@ Transport connection reuse strategy. 'pooled' (default): connections are pooled For video generation endpoints, download the video content after generation...
5
4
3
[{"id": "G0", "claim": "The test inspects aiohttp.FormData's internal `_fields` attribute, which may break if aiohttp changes its internals; consider documenting the deliberate coupling or skipping the assertion if the internal structure changes.", "category": "maintainability", "verdict": "opposed", "priority": "P3", ...
null
ai-dynamo__aiperf__816
ai-dynamo/aiperf
816
defect
8103023939d4643252af66035cc162ce1ce2537d
c6ec4da2006bc77c4a58cc8620663bebfb811ee5
fix: add speed-bench script to project scripts
This allows the script to be packaged in a wheel and installed as part of the project. Otherwise, users can only see it if they clone the repository. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added aiperf speed-bench-report CLI command w...
diff --git a/docs/cli-options.md b/docs/cli-options.md index d4c858f2dd..d900889038 100644 --- a/docs/cli-options.md +++ b/docs/cli-options.md @@ -34,6 +34,10 @@ Explore AIPerf plugins: aiperf plugins [category] [type] Run an AIPerf service in a single process. +### [`speed-bench-report`](#aiperf-speed-bench-repor...
5
4
1
[{"id": "G0", "claim": "Suppress the Ruff A002 warning caused by the `format` parameter shadowing Python's built-in `format` (e.g. with a `# noqa: A002` comment, keeping the `--format` CLI flag).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "`g...
null
ai-dynamo__aiperf__842
ai-dynamo/aiperf
842
defect
47dec7a6978ebad1a0a44c8e3983fa703d7fe5b8
5c22e6a14c25658d65413b4591d6019630b1ea00
feat(tokenizer): preload tokenizer files in main process before spawn.
Add preload_tokenizers() to tokenizer_validator.py that downloads tokenizer files into the HF disk cache once in the main process. Child processes (DatasetManager, InferenceResultParser, RecordProcessor replicas) then hit _is_hf_cached() → True and load from disk via local_files_only=True, making zero HF network calls ...
diff --git a/src/aiperf/cli_runner.py b/src/aiperf/cli_runner.py index 69a8d0e5f5..ba2fb7a397 100644 --- a/src/aiperf/cli_runner.py +++ b/src/aiperf/cli_runner.py @@ -59,7 +59,10 @@ def _run_single_benchmark( from aiperf.common.aiperf_logger import AIPerfLogger from aiperf.common.bootstrap import bootstrap_...
9
4
2
[{"id": "G0", "claim": "_is_hf_cached(name) ignores the requested revision, so preload can be skipped when a different revision is already cached and child processes then fail to load with local_files_only=True.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
ai-dynamo__aiperf__860
ai-dynamo/aiperf
860
defect
052fda555841cf961814ff84e2b9a96dd3141773
8d2bf0ecb1b4ee78b4d9a117839b17116bf9df26
fix(orchestrator): restore --profile-export-prefix support in _extract_summary_metrics
## Summary - `MultiRunOrchestrator._extract_summary_metrics` was hardcoding `<artifact_path>/profile_export_aiperf.json`. For any run using `--profile-export-prefix custom`, the SystemController writes `<artifact_path>/custom.json` but extraction reads the default filename, returns `{}`, and the orchestrator marks the...
diff --git a/src/aiperf/orchestrator/orchestrator.py b/src/aiperf/orchestrator/orchestrator.py index e5c4b673ab..c06dbc8e08 100644 --- a/src/aiperf/orchestrator/orchestrator.py +++ b/src/aiperf/orchestrator/orchestrator.py @@ -370,7 +370,7 @@ def _execute_single_run( ) # Extract summary ...
5
3
0
[{"id": "G0", "claim": "The _extract_summary_metrics docstring still says the method reads the hardcoded profile_export_aiperf.json file, although line 445 now resolves a prefix-aware path from config; update the docstring.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
ai-dynamo__aiperf__865
ai-dynamo/aiperf
865
defect
22ecbc2a11f1b276952c693d4ab8c83706a3a546
1dc28c81c74627858b1ef5e37e065bdd56317404
feat(metrics): t-digest aggregator for InterChunkLatencyMetric
## Summary `InterChunkLatencyMetric` (ICL) is the only `BaseRecordMetric[list[int]]` in the codebase. At the run level, `MetricResultsProcessor` previously extended a `MetricArray` with the full per-request list of inter-chunk gaps, giving exact stats but storage that grows as `records × chunks_per_request × 8 B` — ~3...
diff --git a/docs/index.yml b/docs/index.yml index 828ee221a5..35a26e5b2c 100644 --- a/docs/index.yml +++ b/docs/index.yml @@ -161,6 +161,8 @@ navigation: path: reference/tokenizer-auto-detection.md - page: Conversation Context Mode path: reference/conversation-context-mode.md + - page: List-Metric Aggreg...
8
6
2
[{"id": "G0", "claim": "The variance computed as sum_sq/count - avg*avg suffers catastrophic cancellation on high-offset, low-spread distributions, so the supposedly exact std can collapse toward zero; use a numerically stable running variance (Welford) instead.", "category": "correctness", "verdict": "supported", "pri...
null
ai-dynamo__aiperf__895
ai-dynamo/aiperf
895
defect
13934428cbb9dfbc74d6be9866f33862a9b29471
edf9ada54ee1c7665bb916a4e0ad5bb7d6bf812a
feat: Addressing outputs format for benchmarking jobs
Closes issue #882 ## Summary Adds an `outputs.json` artifact that persists model responses for every benchmark run, enabling downstream post-processing without modifying AIPerf internals. Each record in `outputs.json` is joinable to the corresponding input in `inputs.json` via `session_num`. Closes #882 ## ...
diff --git a/src/aiperf/common/config/config_defaults.py b/src/aiperf/common/config/config_defaults.py index 68395bfdfb..42094fff35 100644 --- a/src/aiperf/common/config/config_defaults.py +++ b/src/aiperf/common/config/config_defaults.py @@ -170,6 +170,7 @@ class OutputDefaults: LOG_FOLDER = Path("logs") LOG...
5
4
3
[{"id": "G0", "claim": "response_text is not the generated model text (non-streaming OpenAI chat stores the full raw JSON body and streaming stores null) because the exporter extracts raw transport-level payloads instead of parsed endpoint responses; the reviewer asks for response_text to be populated from parsed endpo...
null
ai-dynamo__dynamo__4516
ai-dynamo/dynamo
4,516
defect
5fe0476e605d2564234f00e8123461e1594a9ce7
2d8b8b04ab7623f620d3c609275f2aa2b32cb2e9
fix: missing tool calling usage
#### Overview: Issue: Usage was null whenever tool calling was enabled Root Cause: Jailstream was skipping the chunks with just usage and no choices. This PR fixes that behaviour #### Details: <!-- Describe the changes made in this PR. --> #### Where should the reviewer start? <!-- call out specif...
diff --git a/lib/llm/src/protocols/openai/chat_completions/jail.rs b/lib/llm/src/protocols/openai/chat_completions/jail.rs index e0e1dbd1a199..04f98145c0cb 100644 --- a/lib/llm/src/protocols/openai/chat_completions/jail.rs +++ b/lib/llm/src/protocols/openai/chat_completions/jail.rs @@ -555,6 +555,10 @@ impl JailedStrea...
2
2
1
[{"id": "G0", "claim": "Add a targeted regression test that streams a sequence including a final response with empty choices and non-None usage under tool-calling, asserting the usage chunk is now present downstream.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2",...
null
ai-dynamo__dynamo__7137
ai-dynamo/dynamo
7,137
defect
43ce8608fd4768b7597b21298dbf529f1c53e176
c2db4f7989730d09bd3ff4e38ef98d8b94686e56
feat(anthropic): add thinking block support and preamble stripping to /v1/messages
## Summary Add Anthropic Messages API support for reasoning/thinking models and system prompt preamble stripping. **Reasoning/thinking support**: Wire the reasoning parser into the Anthropic endpoint's streaming pipeline. Previously, the `/v1/messages` handler bypassed the `OpenAIPreprocessor` entirely, so `reasoning...
diff --git a/components/src/dynamo/frontend/frontend_args.py b/components/src/dynamo/frontend/frontend_args.py index 2919a1164b59..db6c83067e7f 100644 --- a/components/src/dynamo/frontend/frontend_args.py +++ b/components/src/dynamo/frontend/frontend_args.py @@ -82,6 +82,7 @@ class FrontendConfig(ConfigBase): even...
17
3
2
[{"id": "G0", "claim": "When DYN_STRIP_ANTHROPIC_PREAMBLE is enabled, handler_count_tokens still estimates tokens on the raw request while anthropic_messages strips the billing preamble, so callers can get a larger /count_tokens result than the request that actually reaches the model.", "category": "correctness", "verd...
null
ai-dynamo__dynamo__7151
ai-dynamo/dynamo
7,151
defect
f29753dc89893baa49f0276d00b8e6a59b115177
83536bf0bd642e2b2d02e001ba49c37405916eb4
feat: enable kvbm v1 to use the v2 ::new_with_device
- Back porting v2's `PinnedStorage::new_with_device` to v1's `PinnedStorage. - deprecates `DYN_KVBM_ENABLE_NUMA` - NUMA is always enabled by default - NUMA is disabled with `DYN_MEMORY_DISABLE_NUMA` This PR adds a executable to test this feature and print out the pages. ```bash root@dev-container-764b557696...
diff --git a/CODEOWNERS b/CODEOWNERS index 645cba8a5d71..989f1011885f 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -47,5 +47,10 @@ CODEOWNERS @ai-dynamo/Devops /LICENSE @ai-dynamo/Devops /SECURITY.md @ai-dynamo/Devops +# KVBM v2 +/lib/memory/ @grahamking @ryanolson @oandreeva-nv +/lib/kvbm-*/ @ai-dynamo/kvbm-v2 +/li...
5
2
0
[{"id": "G0", "claim": "The deprecation attribute on PinnedStorage::new says since = \"1.0.0\"; the reviewer asks whether it should be the next release instead, since this code is landing on main after the 1.0.0 code freeze.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}...
null
ai-dynamo__dynamo__7931
ai-dynamo/dynamo
7,931
defect
d42ff092efd2958387b8c5abbebb09822c7ecc53
7a811a31806b2121dde40675a82d31243e7fc2b6
fix(discovery): spawn handle_put tasks concurrently to prevent replay wedging
## Problem One slow HuggingFace model download wedges the entire discovery replay, stranding all later models. Closes #7761. ## Fix Changed `ModelWatcher::watch()` to `Arc<Self>` + `tokio::spawn` for each `handle_put`. Raised channel capacity 1024→16384. Existing `DashSet` guard handles concurrent registration safet...
diff --git a/lib/llm/src/discovery/watcher.rs b/lib/llm/src/discovery/watcher.rs index 9e94ba65e490..e0ddf96cc0d7 100644 --- a/lib/llm/src/discovery/watcher.rs +++ b/lib/llm/src/discovery/watcher.rs @@ -152,9 +152,13 @@ impl ModelWatcher { } } - /// Common watch logic with optional namespace filterin...
2
1
0
[{"id": "G0", "claim": "The new comment in kv.rs overstates the guarantee by saying a larger channel means a slow consumer during replay cannot cause events to be dropped, while the method still has timeout failure paths that drop events; reword it as risk reduction.", "category": "documentation", "verdict": "supported...
null
ai-dynamo__dynamo__8020
ai-dynamo/dynamo
8,020
defect
61f16716bc16fe15d692968335a40f23457da9da
2f130281fe5dfaf987dd5de8fd65c56395fa5f44
feat: Request Migration disable on max seq len exceeded
#### Overview: Add a `--migration-max-seq-len` setting to Request Migration that disables migration once the accumulated sequence length (prompt + generated tokens) exceeds the configured limit, preventing unbounded memory growth from caching long sequences. #### Details: - Added `migration_max_seq_len: Option...
diff --git a/components/src/dynamo/frontend/frontend_args.py b/components/src/dynamo/frontend/frontend_args.py index d0ecc70ed3bb..a6f36495faa0 100644 --- a/components/src/dynamo/frontend/frontend_args.py +++ b/components/src/dynamo/frontend/frontend_args.py @@ -60,6 +60,7 @@ class FrontendConfig(KvRouterConfigBase, Ai...
11
4
0
[{"id": "G0", "claim": "The --migration-max-seq-len help text says the request becomes non-migratable once the token count reaches the limit, but the implementation only cuts off on len > max_seq_len, so the wording should say 'exceeds' to avoid operator confusion.", "category": "documentation", "verdict": "supported",...
null
ai-dynamo__dynamo__8208
ai-dynamo/dynamo
8,208
defect
45364b5f1e3c2649b1ef889d1bd017276fc531ab
c0f12a8385090e356f7313d54975e22981267f87
fix(parsers): recover Kimi K2 tool calls when section_end is missing
#### Overview: Kimi K2 tool calls were getting silently dropped whenever the model hit max_tokens before emitting the section_end marker. The parser just threw away everything if that closing tag was missing -- same bug exists in Moonshot's reference Python parser and got copied into vLLM and SGLang too. #### Det...
diff --git a/docs/agents/kimi_k2.md b/docs/agents/kimi_k2.md new file mode 100644 index 000000000000..4e5ac353bb31 --- /dev/null +++ b/docs/agents/kimi_k2.md @@ -0,0 +1,138 @@ +--- +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache...
2
1
0
[{"id": "G0", "claim": "On the new finalize() recovery path for truncated Kimi streams, the parsed tool-call branch of create_tool_call_choice() always builds the emitted chunk with finish_reason None, so a stream ending with FinishReason::Length yields a recovered tool call without any terminal finish reason that fix_...
null
ai-dynamo__dynamo__8820
ai-dynamo/dynamo
8,820
defect
6f0a1c90b3dba2d20681b542b1f0ff9db9c7cd6e
b45f419a9c09ab147d04e14a577f7f9f811c8659
fix: fix the tool calling special token leakage issue
#### Overview: kimi-k2.6 might leak raw internal protocol tokens (<|tool_calls_section_begin|>, <|tool_call_begin|>, <|tool_call_argument_begin|>, …) into the content field of OpenAI Chat Completions responses, with empty tool_calls. Fix is only emitting the normal_text rather than the entire accumulated token...
diff --git a/lib/llm/src/protocols/openai/chat_completions/jail.rs b/lib/llm/src/protocols/openai/chat_completions/jail.rs index 2d6e8a76c55a..bcfdcb10a9d2 100644 --- a/lib/llm/src/protocols/openai/chat_completions/jail.rs +++ b/lib/llm/src/protocols/openai/chat_completions/jail.rs @@ -932,77 +932,100 @@ impl JailedStr...
2
2
1
[{"id": "G0", "claim": "On Err, the code emits accumulated_content directly, so if malformed or truncated tool markup triggers the parser-error fallback, special tokens can still leak to client-visible content.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
ai-dynamo__dynamo__8888
ai-dynamo/dynamo
8,888
defect
4fac48969e3e340481352c27fb5a0b17fafe5d1e
8080b97426d6f2501b02689a3699086c8658350d
fix(parsers): part 2 — recover 9 silent-drop scenarios across top-7 parsers
#### Overview: So in #8846 I saw the customer getting HTTP 200 even though the model's tool calls were quietly going missing, and was able to repro by running `cargo test -p dynamo-parsers --lib -- _silent_drop` — 9 tests, all pinning the parser bailing on what was actually a real tool call. So I decided to look into ...
diff --git a/lib/parsers/src/tool_calling/harmony/harmony_parser.rs b/lib/parsers/src/tool_calling/harmony/harmony_parser.rs index d2f43758318d..bcf158308018 100644 --- a/lib/parsers/src/tool_calling/harmony/harmony_parser.rs +++ b/lib/parsers/src/tool_calling/harmony/harmony_parser.rs @@ -2,11 +2,62 @@ // SPDX-Licens...
3
3
3
[{"id": "G0", "claim": "The Harmony regex fallback returns recovered calls with Some(String::new()), so analysis/unmatched text in the same payload is lost; it should keep the unmatched spans as normal_text instead of hardcoding an empty string.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc...
null
ai-dynamo__dynamo__8946
ai-dynamo/dynamo
8,946
defect
11077f26f787e8dc8c2ea409caf31a792fb24d1e
ea92d583210ef9a420de89d0866bdc9bb5c20363
test(parsers): DIS-1842 — DSv4 + Kimi K2 unit-test coverage gaps
#### Overview: **No parser code changed — tests only.** Fills the `~`/`✗` cells of the DIS-1842 coverage chart for the DSv4 (DSML) and Kimi K2 columns. The new tests surface four parser bugs, pinned at current behavior with `TODO(CASE.4) — BUG, NEEDS FIX` comments; the parser itself stays untouched. Fixes belong in a ...
diff --git a/lib/parsers/src/tool_calling/dsml/parser.rs b/lib/parsers/src/tool_calling/dsml/parser.rs index af6dbbf8897e..929e7609726a 100644 --- a/lib/parsers/src/tool_calling/dsml/parser.rs +++ b/lib/parsers/src/tool_calling/dsml/parser.rs @@ -290,38 +290,38 @@ mod tests { // ...
2
2
0
[{"id": "G0", "claim": "The added source comments in lib/parsers/src/tool_calling/dsml/parser.rs (lines ~303, 1098-1103, 1122-1126, 1163-1164) carry internal Linear ticket references (DIS-1842) and must be replaced with GitHub issue references or neutral wording per repo coding guidelines.", "category": "documentation"...
null
ai-dynamo__dynamo__9035
ai-dynamo/dynamo
9,035
defect
563cd37d7b9904901f668833dc2ea704d38f9e35
a8999a76d140dedfba9d05218130cad4c4b3f2ba
test(parsers): Top-N models to have extra CASE.6+ coverage (case3)
#### Overview: Part 3 of the [DIS-1842](https://linear.app/nvidia/issue/DIS-1842) parser-coverage work, continuing #8888 (CASE.1-5 silent-drop recovery) into the next set of cases. While looking at the coverage chart, I saw GLM 5.1, MiniMax 2.7, Qwen 3.5, Nemotron, and gpt-oss had a bunch of `nc` cells in CASE.6/11/12...
diff --git a/lib/llm/tests/tool_choice.rs b/lib/llm/tests/tool_choice.rs index bbff1bd38508..89daac78ca30 100644 --- a/lib/llm/tests/tool_choice.rs +++ b/lib/llm/tests/tool_choice.rs @@ -871,3 +871,371 @@ async fn test_deepseek_v4_tool_choice_named_wrong_tool_filtered() { ); } } + +// --- glm47 × tool_ch...
2
2
1
[{"id": "G0", "claim": "The five TODO(CASE.11) comments in lib/llm/tests/tool_choice.rs reference a cross-parser work item tracked separately but include no trackable GitHub issue number, and one should be linked (e.g. #NNNN) so they do not become orphaned.", "category": "documentation", "verdict": "supported", "priori...
null
ai-dynamo__dynamo__9058
ai-dynamo/dynamo
9,058
defect
eb91792c4acb23ea3fc1bd5caf786132e715bbd5
d49d5de1472ebf559286bf5bd6da31eb4cf6f311
fix: Add parity in behavior and tests with vllm nemotron_v3 for tools parser
#### Overview: Port vLLM Nemotron v3 reasoning parser coverage into Dynamo and align Dynamo’s parser naming/disabled-thinking behavior with the vLLM contract. #### Why: vLLM added Nemotron v3 reasoning parser with tests. Dynamo has a separate Rust implementation of reasoning parsing, so this PR adds matching...
diff --git a/docs/agents/reasoning.md b/docs/agents/reasoning.md index 5afca5c19f5e..6cf49509e158 100644 --- a/docs/agents/reasoning.md +++ b/docs/agents/reasoning.md @@ -53,7 +53,7 @@ require the opening tag to be present in the model output. | `kimi_k25` | Kimi K2.5 | Dynamo-only | Yes | `<think>...</think>` with fo...
4
4
3
[{"id": "G0", "claim": "The stripping transformer's `buffer` and `decided` state is shared across every choice in a streamed response, so with multiple choices the first choice consumes or corrupts the prefix state and the others leak or duplicate buffered bytes; the state should be tracked per `choice.index`.", "categ...
null
ai-dynamo__dynamo__9318
ai-dynamo/dynamo
9,318
defect
ddbec2db8c9aedf14b5ebbdce8c6162c9a0b45ec
1311254731065ddde98f33cd67fa404d74f2af6f
feat: route BranchShardedIndexer through anchor BSI
#### Overview: Updates the public `BranchShardedIndexer` path to use the trie/anchor-backed BSI implementation #### Details: - Re-exports `AnchorAwareBranchShardedIndexer` as `BranchShardedIndexer` - Routes `branch-sharded-crtc` correctness coverage through the public BSI config - Adds Mooncake parity covera...
diff --git a/lib/bench/README.md b/lib/bench/README.md index cb8f9434d75e..5d750981b30a 100644 --- a/lib/bench/README.md +++ b/lib/bench/README.md @@ -124,5 +124,4 @@ knob while keeping the same internal polynomial model. See [kv_router/INDEXER_BENCH.md](kv_router/INDEXER_BENCH.md) for trace acquisition, benchmark ...
1
1
1
[{"id": "G0", "claim": "installed_worker_anchors is never pruned on worker removal (remove_worker, remove_worker_dp_rank, or apply_event's Cleared arm), so entries leak for the indexer's lifetime and, if a worker reappears under the same WorkerWithDpRank, ensure_worker_anchor's dedupe insert returns false and the ancho...
null
ai-dynamo__dynamo__9438
ai-dynamo/dynamo
9,438
defect
b3fb27a9b5e4a2dded570594c95a51069ffc80e6
fd8b2beacb1be92b5d21e470ffb340e3bd8eda52
fix(parsers): glm47 streaming jail captures all parallel tool calls
#### Overview: `find_tool_call_end_position_glm47` only found the first `</tool_call>` in a chunk, so the streaming jail exited after one call. Subsequent parallel calls leaked as raw XML into the content field. **Repro:** ```bash cargo test -p dynamo-parsers --lib \ -- test_parse_text_then_parallel_calls `...
diff --git a/lib/parsers/src/tool_calling/xml/glm47_parser.rs b/lib/parsers/src/tool_calling/xml/glm47_parser.rs index a1c69e4ea3e3..13b3e8b5fb96 100644 --- a/lib/parsers/src/tool_calling/xml/glm47_parser.rs +++ b/lib/parsers/src/tool_calling/xml/glm47_parser.rs @@ -35,16 +35,39 @@ pub fn detect_tool_call_start_glm47(c...
3
2
0
[{"id": "G0", "claim": "Restore the three comments deleted from vllm.py's parse() because they explain non-obvious vLLM internals.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Per PR #9355, the expected normal_text for fixture PARSER.batch.2.e s...
null
ai-dynamo__nixl__1005
ai-dynamo/nixl
1,005
defect
04e1216baa7a3db09e51bbac62296401d7f284ab
8d00458569c1fd6c0e78d6e15e44210086873a75
PLUGINS/UCX: Moved src/utils/ucx/* to src/plugins/ucx.
## What? Moved `src/utils/ucx/*` to `src/plugins/ucx`. ## Why? All code related to the `UCX` plugin can be moved to `src/plugins/ucx`, as the `UCX_MO` plugin has been removed: https://github.com/ai-dynamo/nixl/pull/898.
diff --git a/CODEOWNERS b/CODEOWNERS index dc5ff775f4..4de4df9531 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -17,9 +17,8 @@ CODEOWNERS @ai-dynamo/Devops @ai-dynamo/nixl-maintainers /src/bindings/python @ovidiusm @mkhazraee @roiedanino /src/bindings/rust @roiedanino @gleon99 @mkhazraee -# UCX Plugins -/src/plugins/...
3
2
0
[{"id": "G0", "claim": "In src/plugins/ucx/ucx_utils.cpp the reinterpret_casts of void pointers (e.g. ep_params.err_handler.arg = reinterpret_cast<void *>(this)) should be static_cast, which is enough here.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "...
null
ai-dynamo__nixl__1013
ai-dynamo/nixl
1,013
defect
155ea457f1a0423738633bd9acdd58760cc04b33
f018fed369e87a0a50d23af62bd5acc4672833b7
CI: Add Mooncake plugin to CI
## What? Add Mooncake Transfer Engine compilation and testing to NIXL CI pipeline. ## Why? Enable the plugin coverage in CI. ## How? 1. Install Mooncake from source in .gitlab/build.sh before NIXL compilation. 2. Execute mooncake_backend_test in .gitlab/test_cpp.sh alongside other backend tests
diff --git a/.gitlab/build.sh b/.gitlab/build.sh index d88772e609..72fdcee0e2 100755 --- a/.gitlab/build.sh +++ b/.gitlab/build.sh @@ -208,6 +208,18 @@ rm "libfabric-${LIBFABRIC_VERSION#v}.tar.bz2" $SUDO ldconfig ) +( \ + cd /tmp && \ + git clone --depth 1 https://github.com/kvcache-ai/Mooncake.git && \ + cd M...
3
3
3
[{"id": "G0", "claim": "The Mooncake build fails because compiling the yalantinglibs dependency produces warnings that are treated as errors, and a decision is needed on whether to suppress them.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The Mo...
null
ai-dynamo__nixl__1050
ai-dynamo/nixl
1,050
defect
7e762e040380fae78de95bf2187f18e35471a271
c2fffeffc8710775fe1fbbedd87653210068ad21
BUILD: Re-enable device API tests
## What? Re-enable device API tests (`PrepGpuSignal` and `ucxDeviceApi`) in the CI and add GPU availability checks to prevent test failures on non-GPU systems. Additionally, add UCX version checking to ensure the Device API is only enabled with UCX >= 1.21. ## Why? These tests were previously disabled due to a pro...
diff --git a/.gitlab/test_cpp.sh b/.gitlab/test_cpp.sh index bbbabe3861..ea69d63886 100755 --- a/.gitlab/test_cpp.sh +++ b/.gitlab/test_cpp.sh @@ -41,10 +41,6 @@ export PATH=${INSTALL_DIR}/bin:$PATH export PKG_CONFIG_PATH=${INSTALL_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH export NIXL_PLUGIN_DIR=${INSTALL_DIR}/lib/$ARCH-li...
4
4
1
[{"id": "G0", "claim": "The hasCudaGpu() helper added in test/gtest/test_transfer.cpp duplicates code already added in test/gtest/device_api/single_write_test.cu.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Hard-coding -Wl,-rpath into ucx_dep...
null
ai-dynamo__nixl__1070
ai-dynamo/nixl
1,070
defect
fa559eecfdff1905989dcfa1f214a6e392bc3deb
a9c0b30ddda12c019a8991983ed1588d91fe81d8
Extending plug-in manager
Extending plug-in manager infra to support various plug-in types
diff --git a/src/api/cpp/nixl_types.h b/src/api/cpp/nixl_types.h index 30a9d4a348..27e69e86bd 100644 --- a/src/api/cpp/nixl_types.h +++ b/src/api/cpp/nixl_types.h @@ -97,6 +97,11 @@ namespace nixlEnumStrings { */ using nixl_backend_t = std::string; +/** + * @brief A typedef for a std::string to identify nixl telem...
15
10
6
[{"id": "G0", "claim": "The comments in backendLoader and telemetryLoader read '// // Call the initialization function' and '// // Check API version' and should drop the doubled slash.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The loadBackend...
null
ai-dynamo__nixl__1088
ai-dynamo/nixl
1,088
defect
b6c26ceb22fe194fcbfd4ebfb7553a1ccc24d435
6bd6d506aec6bb5bd56cd10694f4c5b3aef51f9b
Cyclic buffer telemetry exporter moved to use plug-in infrastructure
Introducing shared memory cyclic buffer telemetry exporter to work as static built-in plugin. This telemetry exporter is a default choice in case no other exporter is specified
diff --git a/meson.build b/meson.build index d9f2a7ebe5..707ac57681 100644 --- a/meson.build +++ b/meson.build @@ -256,7 +256,7 @@ if get_option('buildtype') == 'debug' run_command('truncate', '-s 0', plugfile, check: true) endif -nixl_inc_dirs = include_directories('src/api/cpp', 'src/api/cpp/backend', 'src/in...
19
17
2
[{"id": "G0", "claim": "There is no need for the try/throw/catch in the buffer exporter constructor since the exception is already handled by nixlTelemetryPluginCreator::createExporter; just throw an exception directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
ai-dynamo__nixl__1149
ai-dynamo/nixl
1,149
defect
2fac05c315a948bce5188b24df931a33f1fcf200
3ba21b8ebd0d82b47ee823e0d352cf8c965cea3c
fix(libfabric): Use PCI bus ID for GPU-to-EFA mapping
## What? Fix incorrect EFA device selection when using `CUDA_VISIBLE_DEVICES` by switching from GPU ID-based to PCI bus ID-based topology mapping. ## Why? The previous implementation used GPU IDs (0, 1, 2...) to map GPUs to EFA devices. This broke when `CUDA_VISIBLE_DEVICES` was set because: - `CUDA_VISIBLE_DEVIC...
diff --git a/src/plugins/libfabric/libfabric_backend.cpp b/src/plugins/libfabric/libfabric_backend.cpp index 5813e88656..ddd957d4e4 100644 --- a/src/plugins/libfabric/libfabric_backend.cpp +++ b/src/plugins/libfabric/libfabric_backend.cpp @@ -56,7 +56,7 @@ #ifdef HAVE_CUDA static int -cudaQueryAddr(void *address, b...
5
3
0
[{"id": "G0", "claim": "Add a log message for the case where the normalized PCI bus ID is not found, and distinguish the two else cases (not found in mapping vs failed to parse) so a single log line in a customer log file is unambiguous.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"...
null
ai-dynamo__nixl__117
ai-dynamo/nixl
117
defect
e17edc97e7d4b315b4cc71cfff46fcec8dc9777e
746756c8d6d2e10c971d1994d9219f72e03d73ed
CPP test: Modified delimiter handling for OOB transfer
The use of the delimiter ';' to separate metadata and desc info during OOB transfer sometimes fails because this delimiter is present in the serialized metadata/desc string. * Use custom delimiter string ";descriptor=" instead of ';' * Add support for CPP and Python test in CI
diff --git a/test/nixl/nixl_test.cpp b/test/nixl/nixl_test.cpp index e79fabbcc0..07e4c39bb0 100644 --- a/test/nixl/nixl_test.cpp +++ b/test/nixl/nixl_test.cpp @@ -26,7 +26,8 @@ #define NUM_TRANSFERS 1 #define SIZE 1024 - +static const char *delimiter = ";descriptor="; +static const size_t delimiter_stride = (strlen...
1
1
0
[{"id": "G0", "claim": "The test should use the serdes variable instead of manually concatenating with the delimiter, and a comment should note the delimiter is only for example clarity.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ai-dynamo__nixl__1206
ai-dynamo/nixl
1,206
defect
75a30267b4b3df7bf3e641fd3a139b4eaabb6a6b
a40478ba01c8b7559eab9c3317e67eae6f72c625
UCX: add rc gda num channels config
## What? Add rc gda num channels for ucx banckend.
diff --git a/examples/device/ep/csrc/nixl_ep.cpp b/examples/device/ep/csrc/nixl_ep.cpp index ec159a547f..4d29e17936 100644 --- a/examples/device/ep/csrc/nixl_ep.cpp +++ b/examples/device/ep/csrc/nixl_ep.cpp @@ -780,6 +780,10 @@ void Buffer::_nixl_agent_init() { } // Set UCX-specific parameters + const ch...
2
2
0
[{"id": "G0", "claim": "The backend parameter should be named num_device_channels because the setting applies only to the device API.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "nixl_ep should explicitly set its default number of channels to 4 instead...
null
ai-dynamo__nixl__1241
ai-dynamo/nixl
1,241
defect
60a12a4d0842c55084931cc1f95cea21fbdaa1d8
bf86f84af7af65466719bb7a406bf26d54b9a8f8
UTILS/UCX: Show warning when hardware is not supported by UCX
## What? Show a warning if a type of hardware is detected (IB devices or GPUs) but UCX don't support it (due to missing libraries, etc.) ## Why? This will help users notice this issue faster, before they just experienced performance degradation with no explanations. ## How? Detect hardware by scanning IPC devi...
diff --git a/src/utils/ucx/ucx_utils.cpp b/src/utils/ucx/ucx_utils.cpp index 56b8045020..49ef6e60b4 100644 --- a/src/utils/ucx/ucx_utils.cpp +++ b/src/utils/ucx/ucx_utils.cpp @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-FileCopyrightTe...
11
8
3
[{"id": "G0", "claim": "nixlUcxContext's raw ucp_context_h ctx pointer leads to a throw/catch with manual ucp_cleanup in the same function, and should probably be a std::unique_ptr with ucp_cleanup as deleter.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "clai...
null
ai-dynamo__nixl__1258
ai-dynamo/nixl
1,258
defect
982b1a89d27d8fdc679d4de58c7aac0cc6d7c43e
4396ae45e243b25b85d0d4983c10507dd2b98866
Ofi neuron support
## What? This PR adds AWS Neuron accelerator support to NIXL, enabling the library to work with both NVIDIA GPUs and AWS Neuron devices (INF2, TRN1, TRN2, TRN3). ## Why? NIXL previously only supported NVIDIA GPUs. AWS Neuron accelerators are specialized ML accelerators that require different device detection and m...
diff --git a/contrib/build-container.sh b/contrib/build-container.sh index e890854785..6b05b87c41 100755 --- a/contrib/build-container.sh +++ b/contrib/build-container.sh @@ -21,7 +21,7 @@ DOCKER_FILE="${SOURCE_DIR}/Dockerfile" commit_id=$(git rev-parse --short HEAD) # Get latest TAG and add COMMIT_ID for dev -late...
5
5
0
[{"id": "G0", "claim": "The backend constructor's 'System accelerator type' print should be logged at info level instead of debug.", "category": "logging", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rail manager constructor's striping-threshold startup log should be log...
null
ai-dynamo__nixl__128
ai-dynamo/nixl
128
defect
8cadc8150f983752ba53255bca6856bdba0e6062
e1e0d3d8cbd66ff3f722a235bd9341cad40c5365
Mkhazraee/best effort reg
Agent/UCX: regiterMem does best effort across backends, and ucx errors out on second gpu * UCX below version 1.19 can only have a single worker per GPU, so if it's instantiated instead of UCX-MO, and memory from a second GPU gets registered, it would error out. Previously there were asserts to do this check, now it r...
diff --git a/src/core/nixl_agent.cpp b/src/core/nixl_agent.cpp index f89e9de6d4..baf3b7244a 100644 --- a/src/core/nixl_agent.cpp +++ b/src/core/nixl_agent.cpp @@ -240,7 +240,8 @@ nixlAgent::registerMem(const nixl_reg_dlist_t &descs, const nixl_opt_args_t* extra_params) { backend_list_t* b...
3
2
1
[{"id": "G0", "claim": "The remaining assert(pthrCudaCtx == ctx) in cudaUpdateCtxPtr should be turned into an error-code return like the others, and cassert then removed from the file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The PR should g...
null
ai-dynamo__nixl__1284
ai-dynamo/nixl
1,284
defect
9148fb67b1449be51b88d97f4621bd78281c0091
56910df39449406519902ac51d389aa1a70e6846
NIXL OBJ Plugin functional test
## What? Introduces a functional test for the OBJ plugin. Test supports current OBJ plugin functionality using DRAM segment types. ## Why? Provides a functional test for developing the OBJ plugin. Similar tests exist for other plugins. <!-- This is an auto-generated comment: release notes by coderabbit.ai -->...
diff --git a/test/unit/plugins/meson.build b/test/unit/plugins/meson.build index c42b518438..d07ea2911c 100644 --- a/test/unit/plugins/meson.build +++ b/test/unit/plugins/meson.build @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-FileCopyright...
29
21
13
[{"id": "G0", "claim": "The vram-based testing should be removed from this test and moved to the S3 RDMA PR, since otherwise the vram part will be broken until the cuobject library is added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The accel_t...
null
ai-dynamo__nixl__1301
ai-dynamo/nixl
1,301
defect
47b263792d2676e47bf67a318cc71130de943bf9
92fd6e740d902a864c1a486b8b0edc0314518dd4
CONFIG: Part 1 (env, api).
## What? Add new API for config access and implement for environment variables. ## Why? Unify access to environment and prepare for config files. ## How? This is the first PR with the API and environment access. It will be followed by a PR that implements config file reading, and one or more PRs that change al...
diff --git a/src/utils/common/config.h b/src/utils/common/config.h new file mode 100644 index 0000000000..1300975277 --- /dev/null +++ b/src/utils/common/config.h @@ -0,0 +1,166 @@ +/* + * SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: Apach...
16
13
3
[{"id": "G0", "claim": "Remove the NIXL_ERROR logging from the bool conversion and move the explanation into the thrown runtime_error so the exception handler can decide how to report it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "getNothrow is not n...
null
ai-dynamo__nixl__1342
ai-dynamo/nixl
1,342
defect
047b061e8d58558a4f5347db270ef09edbe0988e
e79cdae7c8616484683b37c772033321309be195
API: Device API v2. Removed old API.
## What? Deleted the previous version of the Device API. Renamed `nixlMemViewElement` to `nixlMemViewElem`. Replaced `NO_DELAY` flag by `defer`, making without `defer` default. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Removed GPU...
diff --git a/examples/device/ep/csrc/kernels/nixl_ep.cu b/examples/device/ep/csrc/kernels/nixl_ep.cu index 68836522b3..e5023d78a4 100644 --- a/examples/device/ep/csrc/kernels/nixl_ep.cu +++ b/examples/device/ep/csrc/kernels/nixl_ep.cu @@ -59,8 +59,8 @@ __forceinline__ __device__ bool is_rank_masked(int* mask_buffer_ptr...
7
6
1
[{"id": "G0", "claim": "The fallback error message in src/plugins/ucx/mem_list.cpp still says \"UCX GPU device API V2 is not supported\" although the guard was renamed to HAVE_UCX_GPU_DEVICE_API, which is misleading when the API is unavailable (also at lines 180-182).", "category": "correctness", "verdict": "supported"...
null
ai-dynamo__nixl__1364
ai-dynamo/nixl
1,364
defect
c5922c2d5aca4dd48f5d055cb5b4b9c38c45b4db
26a3de49360e12dc0cd2202ff46238227d3467cc
TELEMETRY: Remove backend telemetry export.
## What? Remove exporting backend telemetry events. ## Why? 1. It's not currently used. 2. There is a race-condition in how `telemetry` accesses the backend map that needs to be fixed "offline", if necessary to re-enable this feature. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> #...
diff --git a/src/core/nixl_agent.cpp b/src/core/nixl_agent.cpp index e9dc50b0ca..32d53fa753 100644 --- a/src/core/nixl_agent.cpp +++ b/src/core/nixl_agent.cpp @@ -131,7 +131,7 @@ nixlAgentData::nixlAgentData(const std::string &name, const nixlAgentConfig &cfg if (!strcasecmp(telemetry_env_val, "y") || !strcase...
3
1
0
[{"id": "G0", "claim": "Delete the commented-out backend-test scaffolding and the partially commented backend test cases (or rewrite them to assert the agent-only contract) instead of leaving large commented legacy blocks in telemetry_test.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", ...
null
ai-dynamo__nixl__1394
ai-dynamo/nixl
1,394
defect
ae80d8dab47aa9d7d892e516046fbd0dcebbb4c4
6428a8dcb2ada5887a7dcea0c1498b7a5da02c85
libfabric: Fixing unit test regression and documentation for PR 1302
## What? Fixing regression in unit tests due to license notice XML comment in test topo files being out of xml tag. Fixing documentation and comments for PR 1302 (NUMA-aware rail selection for DRAM_SEG). ## Why? Unit tests for libfabric are failing due to topology XML test file malformed (having license XML comme...
diff --git a/src/plugins/libfabric/README.md b/src/plugins/libfabric/README.md index 3ac95ef80b..4e47c99367 100644 --- a/src/plugins/libfabric/README.md +++ b/src/plugins/libfabric/README.md @@ -52,34 +52,59 @@ $ ninja && ninja install ## Runtime Configuration -The following configuration controls the runtime beha...
6
6
1
[{"id": "G0", "claim": "The user-facing DRAM_SEG configuration docs in the plugin README contain multiple spelling and grammar errors (then/than, travelly, mafe, registraion, brdige, ore) that reduce clarity.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
ai-dynamo__nixl__1441
ai-dynamo/nixl
1,441
defect
2709adcd6414a164b4f9a110f37afa7a45baa4a2
cd72d0cc94fb412e31b719276992f2151dcb519c
Add Dell ObjectScale accelerated engine support to plugin_gtest for OBJ plugin.
## What? The plugin_gtest now supports the Dell ObjectScale accelerated engine and the ability to specify the endpoint of an ObjectScale cluster for testing. All previous tests utilize an AWS S3 endpoint, with no opportunity to override. ## Why? Using unit tests alone the end-to-end client transfer path canno...
diff --git a/test/gtest/plugins/memory_handler.h b/test/gtest/plugins/memory_handler.h index 632bf50cf5..a62ec6c89d 100644 --- a/test/gtest/plugins/memory_handler.h +++ b/test/gtest/plugins/memory_handler.h @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights re...
5
4
2
[{"id": "G0", "claim": "Handle unchecked CUDA calls in memoryHandler<VRAM_SEG> initialization and operations: failed allocations or transfers silently produce invalid device pointers and cause non-deterministic test failures, so every cudaSetDevice/cudaMalloc/cudaMemcpy/cudaMemset/cudaFree return code must be checked."...
null
ai-dynamo__nixl__145
ai-dynamo/nixl
145
defect
244d5be5f8d3b6215bd00ba4d2651d2cf7872fff
94380f0ff189376379597322d5d8872506406677
cuda_gds: cuFileBatch pool and reposting postXfer/getXferStatus for NIXL + GDS plugin
1. CuFile Batches can be precreated to remove them from data path 2. Fix PrepXfer/PostXfer usage to support multiple iterations of post/prep 3. Provide a more elaborate example for postXfer/getXferStatus 4. Additional code cleanup for ease of readability. 5. Added a README for cufile.json configuration required f...
diff --git a/src/core/nixl_agent.cpp b/src/core/nixl_agent.cpp index a7c170d63b..3064a36af1 100644 --- a/src/core/nixl_agent.cpp +++ b/src/core/nixl_agent.cpp @@ -751,9 +751,7 @@ nixlAgent::postXferReq(nixlXferReqH *req_hndl, } // We CAN repost a previous request that is completed - if (req_hndl->status ...
8
5
1
[{"id": "G0", "claim": "The changes here may have been based on an old branch and a lot of them do not make sense, so the author should verify they are correct before the PR leaves draft.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Setting the lo...
null
ai-dynamo__nixl__150
ai-dynamo/nixl
150
defect
e5f22a502b2522aa2ef464336fa7db41a41e1806
5ff64a6f97597496a88ac3e06556c2ba3962a61f
testing: gtest initial infrastructure
This PR initializes the testing infrastructure using Google Test and sets up the foundation for plugin support, including basic configuration and mock components
diff --git a/meson_options.txt b/meson_options.txt index 5d5ae3eeac..eedd58f7f5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -21,3 +21,6 @@ option('cudapath_inc', type: 'string', value: '', description: 'Include path for option('cudapath_lib', type: 'string', value: '', description: 'Library path for CUDA...
17
13
1
[{"id": "G0", "claim": "The extra `utils` namespace in test/gtest/plugin_manager.cpp is not needed and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The option tests_skip_native_plugins should be renamed to speak of \"real\" ...
null
ai-dynamo__nixl__1546
ai-dynamo/nixl
1,546
defect
87b5b586c542ceacbd0e6c5cba1f4cf5785c77e3
01eab68250fac940cb20bb52626360389e885fdd
Plugin Manager: Defer plugin load to the point where they are actually used
## What? Defer plugin `dlopen` from discovery time to first use. Plugins found on disk are now recorded by name only; the actual `dlopen` happens when `createBackend()` or `getPluginParams()` is called for that specific plugin. ## Why? https://github.com/vllm-project/vllm/issues/39521 Creating a `nixl_agent...
diff --git a/src/api/python/_api.py b/src/api/python/_api.py index 6fa8c16baa..f1ffbb79ed 100644 --- a/src/api/python/_api.py +++ b/src/api/python/_api.py @@ -208,10 +208,6 @@ def __init__( self.plugin_b_options: dict[str, dict[str, str]] = {} self.plugin_mem_types: dict[str, list[str]] = {} - ...
11
5
2
[{"id": "G0", "claim": "The effective sync mode (upgraded for the comm thread) should also be passed to backend engine initialization, because a C++ caller requesting SYNC_NONE with etcd/listen enabled can create backends that still believe synchronization is disabled.", "category": "correctness", "verdict": "opposed",...
null
ai-dynamo__nixl__167
ai-dynamo/nixl
167
defect
cb1b1490bbc34d6144473f8b6f5bfa8075872953
49b2ae5661837cc6cb575b70a5ce632d2a07103b
API: add 3 new NB APIs for metadata transfer with socket implementation
-Three new NB API calls for sending/receiving metadata directly from other agents -Listener thread implementation to handle connections and metadata transfer -Socket P2P metadata transfer implementation -update nixl_text.cpp to test these functions
diff --git a/src/api/cpp/nixl.h b/src/api/cpp/nixl.h index d1cf16eef6..f7b63a1d89 100644 --- a/src/api/cpp/nixl.h +++ b/src/api/cpp/nixl.h @@ -313,6 +313,38 @@ class nixlAgent { const nixl_blob_t &msg, const nixl_opt_args_t* extra_params = nullptr); + /*** Metadata handlin...
10
8
2
[{"id": "G0", "claim": "Consider having sendLocalMD take a remote ip and port (perhaps defined in a struct) and/or the agent name instead of a bare remote_ip, for consistency with the other APIs.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Introduce a...
null
ai-dynamo__nixl__169
ai-dynamo/nixl
169
defect
91480fbba76a9334f162acc80f4c41843d5234db
62aea247836030e3f6d5ec66eff8bfce00ac0830
Add Mooncake backend in NIXL
Mooncake transfer engine is a high-performance, zero-copy data transfer library. To achieve better performance in NIXL, we have designed an new backend based on Mooncake transfer engine. # Usage 1. Build the install [Mooncake](https://github.com/kvcache-ai/Mooncake) manually: ``` git clone https://github.com/kvc...
diff --git a/examples/cpp/meson.build b/examples/cpp/meson.build index 752e35b86a..d2cdf7c2c5 100644 --- a/examples/cpp/meson.build +++ b/examples/cpp/meson.build @@ -19,6 +19,7 @@ nixl_example = executable('nixl_example', include_directories: [nixl_inc_dirs, utils_inc_dirs], link_with: [serdes_...
11
10
7
[{"id": "G0", "claim": "The Mooncake plugin itself makes no meaningful use of CUDA, so the CUDA compile flags (HAVE_CUDA) and the CUDA includes it adds are unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The backend should leverage N...
null
ai-dynamo__nixl__188
ai-dynamo/nixl
188
defect
8530564424e109498127d55173e53383cc3da27b
6495aaf3c3c38e7ebf57fd192a61fe375df5e870
API: sendPartial and python API updates
- Add sendPartialLocalMD to API in both C++ and Python - Add getPartialLocalMD API to Python - New test for sending/transferring with partial metadata
diff --git a/.gitlab/test_python.sh b/.gitlab/test_python.sh index 0bc4948589..0d997b0aaf 100755 --- a/.gitlab/test_python.sh +++ b/.gitlab/test_python.sh @@ -43,6 +43,7 @@ pytest test/python echo "==== Running python example ====" cd examples/python +python3 partial_md_example.py python3 blocking_send_recv_exampl...
5
5
1
[{"id": "G0", "claim": "In sendLocalPartialMD, extra_params should be the last parameter instead of being followed by remote_ip and port, possibly merging ip/port into extra_params.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The sendLocalMD doc comme...
null
ai-dynamo__nixl__236
ai-dynamo/nixl
236
defect
c4c1c0b37c7e367387a0232b214a3efcd61cb319
6da9affe3ddab8af1e57cc9439cdf73a276c3810
UCX backend error handling
- Added naive remote failure handling to UCX backend. - Add gtest `UcxTestFixture` - Related code refactoring
diff --git a/examples/cpp/nixl_example.cpp b/examples/cpp/nixl_example.cpp index 2d2439e467..23c118703b 100644 --- a/examples/cpp/nixl_example.cpp +++ b/examples/cpp/nixl_example.cpp @@ -64,8 +64,58 @@ void printParams(const nixl_b_params_t& params, const nixl_mem_list_t& mems) { } } -int main() +nixl_status_t ...
15
10
2
[{"id": "G0", "claim": "The printf in the new err_cb should be replaced with the absl-based NIXL logging macros.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The raw assert() calls in the new UCX error-handling code should be replaced with the...
null
ai-dynamo__nixl__246
ai-dynamo/nixl
246
defect
57591226593ca8d2cd0dfb3f945100d0effdc874
6b6030d837fc6686762013b0e1cc3876bfaecff5
TEST: Add data transfer test in gtest
Add a gtest to run data transfer over UCX backend The test could be extended to other backends and for GPU memory ``` [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from ucx/TestTransfer [ RUN ] ucx/TestTransfer.RandomSizes/0 [ INFO ] 40...
diff --git a/src/api/cpp/nixl.h b/src/api/cpp/nixl.h index 2df4cd2411..d0b4e6521d 100644 --- a/src/api/cpp/nixl.h +++ b/src/api/cpp/nixl.h @@ -50,6 +50,13 @@ class nixlAgent { */ ~nixlAgent (); + /** + * @brief Get the name of the agent + * + * @return std::string Th...
5
3
2
[{"id": "G0", "claim": "Consider using gtest RecordProperty to track values in the XML and abseil::Log for errors/warnings, for consistency, instead of the custom stdout Logger in common.h.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add extra_params to...
null
ai-dynamo__nixl__259
ai-dynamo/nixl
259
defect
3298d77174dd2580c1c114272f34febd908d579a
5f0e5c44657b972a10fff26ecbeff822b902b7be
UCX: refactor: Apply smart pointer resource management
Refactor UCX code to comply with smart pointers resource management according to guidelines.
diff --git a/src/plugins/ucx/ucx_backend.cpp b/src/plugins/ucx/ucx_backend.cpp index b59866efa9..9239619e94 100644 --- a/src/plugins/ucx/ucx_backend.cpp +++ b/src/plugins/ucx/ucx_backend.cpp @@ -149,7 +149,7 @@ int nixlUcxCudaCtx::cudaSetCtx() { void nixlUcxEngine::vramInitCtx() { - cudaCtx = new nixlUcxCudaCtx;...
4
3
0
[{"id": "G0", "claim": "The new allocation line in nixlUcxWorker::epAddr should spell the type as `auto` instead of the explicit `std::unique_ptr<char []>`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The null check on the result of std::make...
null
ai-dynamo__nixl__280
ai-dynamo/nixl
280
defect
7e5328de15a6fa2d24a5279b1a9ff7dc74dc9ebb
4627d7c9ba6d3dbed12033d9a2afec68ed7c7295
UCX/BACKEND: add custom error handling parameter + gtests improvements
- add custom error handling parameter, `none` by default - GTESTS improvements: - add NIXL_READ - add BASIC_XFER and LOAD_REMOTE_THEN_FAIL cases - related refactoring - extended ucx_status_to_nixl @artpol84 FYI
diff --git a/src/utils/ucx/ucx_utils.cpp b/src/utils/ucx/ucx_utils.cpp index bfd903fbc1..39614de3a6 100644 --- a/src/utils/ucx/ucx_utils.cpp +++ b/src/utils/ucx/ucx_utils.cpp @@ -33,11 +33,13 @@ static nixl_status_t ucx_status_to_nixl(ucs_status_t status) switch(status) { case UCS_INPROGRESS: return ...
10
6
1
[{"id": "G0", "claim": "Unrecognized UCX statuses should be logged as a warning (NIXL_WARN << \"Unexpected UCX error ...\") instead of a debug-level \"Not converted UCX status\" message.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull reques...
null
ai-dynamo__nixl__295
ai-dynamo/nixl
295
defect
9ea7db24b3b508511f2184f898151b8daa144ec9
2ab8e86ee9f6058742c06c3a6d769a3728afb05b
Mark subset of data path methods with 'const' modifier
In C++ marking method as 'const' doesn't automatically guarantee thread-safety but allows compiler to catch obvious shared state modifications which is a good first step towards making contributors consider thread safety when implementing new backends or modifying existing ones. This series marks subset of agent data p...
diff --git a/src/api/cpp/backend/backend_engine.h b/src/api/cpp/backend/backend_engine.h index 55111336ae..683c877031 100644 --- a/src/api/cpp/backend/backend_engine.h +++ b/src/api/cpp/backend/backend_engine.h @@ -112,7 +112,7 @@ class nixlBackendEngine { const std::string &rem...
7
4
1
[{"id": "G0", "claim": "nixlAgent::genNotif should also be marked const, to make the PR more complete like the other API methods that are marked const where possible.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use auto instead of spelling out remote_...
null
ai-dynamo__nixl__297
ai-dynamo/nixl
297
defect
9ea7db24b3b508511f2184f898151b8daa144ec9
9708600afb61b9681b5ed155982b5c9c833a60ff
Refactor UCX progress thread to remove busy-polling
Instead of busy-polling use functionality provided by UCX that exposes file descriptors that can be monitored for events with standard UNIX APIs. Implement following changes: - When progress thread is enabled also enable UCP feature that exposes file descriptors for wake up. - In UCX progress thread arm every w...
diff --git a/src/plugins/ucx/ucx_backend.cpp b/src/plugins/ucx/ucx_backend.cpp index 52e8af4342..de7e1960b9 100644 --- a/src/plugins/ucx/ucx_backend.cpp +++ b/src/plugins/ucx/ucx_backend.cpp @@ -16,6 +16,9 @@ */ #include "ucx_backend.h" #include "serdes/serdes.h" +#include "common/nixl_log.h" +#include <poll.h> +#i...
11
10
4
[{"id": "G0", "claim": "When ucp_worker_get_efd fails the worker is only logged, not treated as fatal, and the indexes in uws and poll_fds may then not match.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "poll_fds should be kept on the engine insta...
null
ai-dynamo__nixl__315
ai-dynamo/nixl
315
defect
48646a934f5948d19cbb2622e24d332c7cae0265
ef5c1599f1395cddc811948d0f4f468d862ba469
Agent: Bug fix: apply timeout to socket connection and add gtests for md exchange
* Before, if the remote does not exist or is never ready, the commWorker blocks forever. * This commit allows to try connection for 1 second and fail after timeout. * Also avoid throwing exception on failures during handling of remote messages. * New gtest fixture for metadata exchange tests using get/lo...
diff --git a/src/core/nixl_listener.cpp b/src/core/nixl_listener.cpp index 6c583aa4ee..f94dc5c6dd 100644 --- a/src/core/nixl_listener.cpp +++ b/src/core/nixl_listener.cpp @@ -39,32 +39,56 @@ int connectToIP(std::string ip_addr, int port) { listenerAddr.sin_port = htons(port); listenerAddr.sin_family = AF_IN...
11
8
0
[{"id": "G0", "claim": "invalidateLocalMD after a remote fetch raises an exception because the remote-initiated connection is on a different port than the remote listenPort; the reviewer says it should be looked into in a separate PR.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_...
null
ai-dynamo__nixl__336
ai-dynamo/nixl
336
defect
4f37f074b93d6874ee874ad2f8e317403e84420d
5e0dfe46b0a59ba78f32af1e194b776aa440c798
UCX: Set a CUDA context when loading remote MD from listener thread
When using listener thread to load remote metadata, UCX plugin fails to import some keys because the CUDA context is missing. Make sure to use one and retain it. Assumption is that we only need it when using VRAM memory, UCX anyways detects the correct device when actually using memory/keys. If no context exist/context...
diff --git a/src/plugins/ucx/ucx_backend.cpp b/src/plugins/ucx/ucx_backend.cpp index c570902a0c..254031fc15 100644 --- a/src/plugins/ucx/ucx_backend.cpp +++ b/src/plugins/ucx/ucx_backend.cpp @@ -52,6 +52,80 @@ class nixlUcxCudaCtx { int cudaSetCtx(); }; +class nixlUcxCudaCtxRetained { +#ifdef HAVE_CUDA + CUd...
4
3
1
[{"id": "G0", "claim": "The failure sentinel in nixlUcxCudaCtxRetained should use CU_DEVICE_INVALID instead of -1 (and CUresult should be const auto).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The CUDA context handling would be better restr...
null
ai-dynamo__nixl__34
ai-dynamo/nixl
34
defect
a909457a798834b3dc0899c6c93e69ed95a156a4
d48571964939a61d4e00961047e757937b013381
API: remove W_NOTIF op in favor of optional args
With the introduction of the notif message in nixl optional arguments, we no longer need an explicit W_NOTIF op code.
diff --git a/src/api/cpp/backend/backend_aux.h b/src/api/cpp/backend/backend_aux.h index f181b33342..0e7efae654 100644 --- a/src/api/cpp/backend/backend_aux.h +++ b/src/api/cpp/backend/backend_aux.h @@ -28,12 +28,14 @@ typedef std::vector<std::pair<std::string, std::string>> notif_list_t; -class nixlBackendOptiona...
2
2
2
[{"id": "G0", "claim": "postXferReq keys the notification on notifMsg.size() > 0, so empty notification messages cannot be sent; nixlXferReq should get a hasNotif flag so empty notifications are supported too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
ai-dynamo__nixl__360
ai-dynamo/nixl
360
defect
9ddf7a7466aabbf541518e9dcb4f014f11b7b2fd
6785edd7a04f6e04d9201890917e1ebdaa025c35
LISTENER: Add connection creation for invalidation message
Also create a connected socket if needed when invalidating MD on a remote agent, as RPCs are sent unidirectionally for all messages (issue #339).
diff --git a/src/core/agent_data.h b/src/core/agent_data.h index 3d653ba5ec..08f361c49d 100644 --- a/src/core/agent_data.h +++ b/src/core/agent_data.h @@ -40,6 +40,7 @@ enum nixl_comm_t { SOCK_SEND, SOCK_FETCH, SOCK_INVAL, + SOCK_MAX, #if HAVE_ETCD ETCD_SEND, ETCD_FETCH, diff --git a/src/co...
3
2
0
[{"id": "G0", "claim": "Whitespace after keywords like `if (` should be added consistently in src/core/nixl_listener.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The explicit `std::string(...)` construction in the sendCommMessage calls is...
null
ai-dynamo__nixl__425
ai-dynamo/nixl
425
defect
c2aeb27b247d3509adecee51b50911d7dce36a67
22ebdf765f999fd4b247c950bc5b60b4dc6915f1
BACKEND/UCX/IB: convert UCS_ERR_ENDPOINT_TIMEOUT to NIXL_ERR_REMOTE_DISCONNECT
+ convert UCS_ERR_ENDPOINT_TIMEOUT to NIXL_ERR_REMOTE_DISCONNECT + improve error handling gtests with IB reducing timeouts fix for: ``` [ RUN ] UCX/TestErrorHandling.LoadRemoteThenFail/0 set NIXL_PLUGIN_DIR: /workspace/nixl/build-x86_64/src/plugins/ucx W0604 11:39:17.163769 64637 ucx_utils.cpp:48] Unex...
diff --git a/src/utils/ucx/ucx_utils.cpp b/src/utils/ucx/ucx_utils.cpp index 454e2cf2c7..69c2bc02e4 100644 --- a/src/utils/ucx/ucx_utils.cpp +++ b/src/utils/ucx/ucx_utils.cpp @@ -41,6 +41,7 @@ static nixl_status_t ucx_status_to_nixl(ucs_status_t status) return NIXL_IN_PROG; case UCS_ERR_NOT_CONNECTED: ...
5
5
0
[{"id": "G0", "claim": "The env-var setup should be encapsulated in a dedicated object with an add API (e.g. m_context.push(key, value)) instead of exposing vector/emplace_back details as members of the test class.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
ai-dynamo__nixl__465
ai-dynamo/nixl
465
defect
62c8513f0814926a3facd3908028aeb91bb718fb
bec1f6eb451e8f47ce4568d58c100acd7a33b10b
UCX: Check if UCX recognizes GPU mem correctly
## What? Add check that UCX correctly recognizes GPU memory ## Why? Better debugging experience when UCX is compiled without CUDA support or fails to find some CUDA libs
diff --git a/src/plugins/ucx/ucx_backend.cpp b/src/plugins/ucx/ucx_backend.cpp index 7da9e10d6a..f9e3e93a8a 100644 --- a/src/plugins/ucx/ucx_backend.cpp +++ b/src/plugins/ucx/ucx_backend.cpp @@ -828,7 +828,7 @@ nixl_status_t nixlUcxEngine::registerMem (const nixlBlobDesc &mem, } // TODO: Add nixl_mem check?...
4
4
1
[{"id": "G0", "claim": "The new VRAM check accepts only CUDA memory, so maybe ROCm or other GPU memory types are missed, and it should at least fail when memory is detected as HOST.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The error strings sh...
null
ai-dynamo__nixl__487
ai-dynamo/nixl
487
defect
8a13c25a9fc132fd4b47366e0953838423b4d775
190eb01a6c88273a684b2506aaf6933718093286
NIXL/UCX: Added support for self notification
## What? Added support for self notification for UCX backend, which is requested by TensorRT-LLM team. ## Why? Currently NIXL agent supports transfer Request to itself, but doesn't support genNotif to itself. Without this option they have to use fake transfer request with notification as a workaround. ## How? ...
diff --git a/src/core/nixl_agent.cpp b/src/core/nixl_agent.cpp index 3070efa1a5..185668914f 100644 --- a/src/core/nixl_agent.cpp +++ b/src/core/nixl_agent.cpp @@ -978,41 +978,39 @@ nixlAgent::genNotif(const std::string &remote_agent, const nixl_blob_t &msg, const nixl_opt_args_...
3
1
0
[{"id": "G0", "claim": "The nested local/remote engine-selection conditionals in genNotif should be merged into a single OR condition that calls eng->genNotif() (or alternatively return early on error), and the local-notification path should not evaluate the remoteBackends lookup whose operator[] creates a spurious map...
null
ai-dynamo__nixl__493
ai-dynamo/nixl
493
defect
18477b5f79400b8da5728af1e339d930c5bd6469
d87627ec96cc2bbefec5d29b1f858717c9bb5f0e
add mooncake notify support
## What? To support the Notify function in Mooncake backend. GenNofity interface is also supported. The client can send the data with the notification, and the server can retrieve the notification through the getNotifs interface. The test is in test/unit/plugins/mooncake/mooncake_backend_test. The latest main bra...
diff --git a/src/plugins/mooncake/mooncake_backend.cpp b/src/plugins/mooncake/mooncake_backend.cpp index ba66f66ca2..4d24e4add8 100644 --- a/src/plugins/mooncake/mooncake_backend.cpp +++ b/src/plugins/mooncake/mooncake_backend.cpp @@ -23,6 +23,7 @@ #include <net/if.h> #include <netdb.h> #include <sys/socket.h> +#inc...
7
5
2
[{"id": "G0", "claim": "In addition to getNotifs(), the Mooncake backend should also implement genNotif(), which simply generates a notification by sending a message to another specific backend.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tes...
null
ai-dynamo__nixl__509
ai-dynamo/nixl
509
defect
1f46ad4c260151ca934b232e1eb93d39f154a87a
3697a12af6b7437802ccc05b49f8851d476751a7
AGENT: cleanup metadata on failure
## What? 1. clean up metadata on failure 2. refactor load and invalidate remote data 3. add reconnect case to error handling suite: - exchange metadata - data transfer (positive) - fail target - data transfer (negative) - re-init target and re-exchange metadata - data transfer ## Why? auto cleanup ...
diff --git a/test/gtest/error_handling.cpp b/test/gtest/error_handling.cpp index f7ce750fa3..9b57374b10 100644 --- a/test/gtest/error_handling.cpp +++ b/test/gtest/error_handling.cpp @@ -84,6 +84,8 @@ class TestErrorHandling : public testing::TestWithParam<std::string> { public: void init(const std::strin...
8
6
0
[{"id": "G0", "claim": "numIter() need not be a template - test_type could just be passed as an ordinary parameter.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new initiator_name/target_name locals in testXfer() should be declared const.", "category...
null
ai-dynamo__nixl__606
ai-dynamo/nixl
606
defect
851b30610197f43eaa36d09bd8000db0f50ae8a7
fe257268db4a7050e7574dcc5f7811308d7aa00d
NIXL UCX progress thread refactoring
## What? Split nixlUcxThreadEngine into a separate subclass of nixlUcxEngine. ## Why? This is a preparatory step to implement threadpool engine (https://github.com/ai-dynamo/nixl/pull/573). The idea is to implement progress thread functionality in a separate subclass to split the concerns and follow single respon...
diff --git a/src/api/cpp/backend/backend_aux.h b/src/api/cpp/backend/backend_aux.h index b6e2037f2b..4b502b6557 100644 --- a/src/api/cpp/backend/backend_aux.h +++ b/src/api/cpp/backend/backend_aux.h @@ -22,6 +22,7 @@ #include "nixl_types.h" #include "nixl_descriptors.h" #include "common/nixl_time.h" +#include "absl/...
13
9
2
[{"id": "G0", "claim": "Put the nixlUcxThreadEngine class declaration into a separate header and its definition into a separate source file.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Put the public section first in the nixlUcxEngine class.", "category...
null
ai-dynamo__nixl__695
ai-dynamo/nixl
695
defect
81555a24a1b5d5e19b52d6f207d94c0d696a2033
b4146d30c1596aa6c357b30f8c00b7f37a9aa0b4
[HF3FS] add mempool
## What? Use mempool in HF3FS plugin ## Why? Avoid allocating memory in datapath
diff --git a/src/plugins/hf3fs/hf3fs_backend.cpp b/src/plugins/hf3fs/hf3fs_backend.cpp index de38b83638..f1ac4e58f2 100644 --- a/src/plugins/hf3fs/hf3fs_backend.cpp +++ b/src/plugins/hf3fs/hf3fs_backend.cpp @@ -28,12 +28,15 @@ #include "file/file_utils.h" #define NUM_CQES 1024 +#define HF3FS_DEFAULT_IOPOOL_SIZE 64 ...
3
3
2
[{"id": "G0", "claim": "The backend should support a fallback when the IO pool is empty, since with the default configuration a batch size larger than 64 would fail.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The error message shown when getFrom...
null
ai-dynamo__nixl__70
ai-dynamo/nixl
70
defect
8cb292fe2d72c4171753fddf1fa84cd128b88f39
49a3e15fc00fda1a0791ffe307e96985c3564e5a
nixl/plugins: Fix static plugins and tests
UCX_MO as a static plugin should be found correctly. Also, python tests should find UCX and build pip correctly.
diff --git a/src/core/nixl_plugin_manager.cpp b/src/core/nixl_plugin_manager.cpp index 7d7e9a749c..9c8d8f2fe3 100644 --- a/src/core/nixl_plugin_manager.cpp +++ b/src/core/nixl_plugin_manager.cpp @@ -80,8 +80,9 @@ std::map<nixl_backend_t, std::string> loadPluginList(const std::string& filename std::map<nixl_backend...
2
1
1
[{"id": "G0", "claim": "Going forward there should be a way to automate static plugin registration (e.g. a plugin registration call from the static lib init) so that adding a new plugin does not require changing the core plugin-manager code.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "in...
null
ai-dynamo__nixl__764
ai-dynamo/nixl
764
defect
3911d60854b971d7ff62b56698f188123be62469
018f1d4e948052abc1f5689f34cc886848a2887c
Add a flag to agent config to captureTelemetry
## What? Add a flag to agent config to captureTelemetry ## Why? Enabling telemetry capture through both config and env vars. For output file, the env var is still needed as it's more runtime, but just enabling to capture the telemetry data to be used by getXferTelemetry can be set in agent config.
diff --git a/src/api/cpp/nixl_params.h b/src/api/cpp/nixl_params.h index 7655ee4702..1e714c1153 100644 --- a/src/api/cpp/nixl_params.h +++ b/src/api/cpp/nixl_params.h @@ -37,6 +37,8 @@ class nixlAgentConfig { int listenPort; /** @var synchronization mode for multi-threaded environment execution *...
5
2
1
[{"id": "G0", "claim": "The new capture_telemetry parameter should be added at the end of nixlAgentConfig's optional-argument list rather than in the middle, because inserting it before existing optional parameters is a breaking API change for clients that pass them positionally.", "category": "design", "verdict": "sup...
null
ai-dynamo__nixl__789
ai-dynamo/nixl
789
defect
86da61620e79c508c0b292229f51740ac9e2cb55
3ce04efcb74eba2192338beb893e8b2d5861702c
Implement host device API
## What? Implements host side device API for UCX backend enabling direct GPU-initiated network transfers via CUDA device functions. ## Why? Allows GPU kernels to initiate network transfers without CPU involvement, reducing latency and eliminating CPU-GPU synchronization overhead for AI inference workloads. ## H...
diff --git a/meson.build b/meson.build index 1e48df4b16..d042888f78 100644 --- a/meson.build +++ b/meson.build @@ -140,11 +140,11 @@ if ucx_path != '' # Check if path is absolute if ucx_inc_path.startswith('/') ucx_dep = declare_dependency( - link_args : ['-L' + ucx_lib_path, '-lucp', '-lucs', '-luct'],...
32
23
4
[{"id": "G0", "claim": "The -Wl,-rpath linker flag added for the UCX library path in meson.build is questioned as unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new meson summary() block for the UCX GPU Device API should be remo...
null
ai-dynamo__nixl__81
ai-dynamo/nixl
81
defect
cc6d15600a2857fb14d7c9105d0f6731d6cea16d
2854345bdfe56496f5e3c90ff96f3c70acec914a
Agent: Fixed a bug in auto deregistration
* There was an ordering bug in agent destructor when some memories were left registered. Also how local section destructor worked had a bug. Both fixed.
diff --git a/src/core/agent_data.h b/src/core/agent_data.h index 454fd54f27..925030858a 100644 --- a/src/core/agent_data.h +++ b/src/core/agent_data.h @@ -40,7 +40,7 @@ class nixlAgentData { std::unordered_map<nixl_backend_t, std::string> connMD; // Local section, and Remote sections and their ava...
1
1
0
[{"id": "G0", "claim": "Only one agent's explicit deregisterMem calls should be commented out (rather than both agents' in sideXferTest), so explicit deregistration stays exercised.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ai-dynamo__nixl__872
ai-dynamo/nixl
872
defect
7c56cd5bc5ab997f6c6c72442f3b824bc75358e3
e802188cf6a42363d0f5bea65bd50b68f6689588
chore: Include tests and examples in release builds
Lets build these for release builds. In release builds there is some optimization added that might help with running tests and seeing performance numbers. The asserts are removed in release builds so a new macro was added to check for return status' of the API calls. ## What? Add tests and examples to release build...
diff --git a/examples/cpp/nixl_etcd_example.cpp b/examples/cpp/nixl_etcd_example.cpp index 1403a30c7c..13f96c0dc1 100644 --- a/examples/cpp/nixl_etcd_example.cpp +++ b/examples/cpp/nixl_etcd_example.cpp @@ -22,6 +22,15 @@ #include "nixl.h" +#define CHECK_NIXL_ERROR(result, message, agent) \...
4
3
0
[{"id": "G0", "claim": "The CHECK_NIXL_ERROR macro duplicated in every touched file should be placed in a common header file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the asserts that are now redundant next to the added CHECK_NIXL_E...
null
ai-dynamo__nixl__897
ai-dynamo/nixl
897
defect
e9d7332d65b6d5f17bca9c3bcd923b9eb22ef6fe
6d206d3a38a4e7a6b760c7ef7a077e674fba861e
nixlbench: Add support for setting GUSLI configuration
## What? Added GUSLI (G3+ User Space Access Library) backend to NIXLBench with simplified, command-line driven configuration for benchmarking direct block device I/O operations. ## Why? User-Space Storage Performance: GUSLI bypasses kernel for low-latency block device access Simplified Configuration: Command-line...
diff --git a/benchmark/nixlbench/README.md b/benchmark/nixlbench/README.md index b3369d44b4..536d1320b5 100644 --- a/benchmark/nixlbench/README.md +++ b/benchmark/nixlbench/README.md @@ -33,7 +33,7 @@ A comprehensive benchmarking tool for the NVIDIA Inference Xfer Library (NIXL) t ## Features - **Multiple Communica...
2
1
0
[{"id": "G0", "claim": "The README's GUSLI WRITE example benchmarks against ./store0.bin without documenting that WRITE stores data into that file and that the file must be created in advance.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The REA...
null
ai-robots-txt__ai.robots.txt__100
ai-robots-txt/ai.robots.txt
100
defect
5b8650b99b35ff2aa1aa9ae26183b312edc48d45
5f5a89c38c27b676c3212f6ea3895d31f315f37e
Fix html-mangled hyphen in 'Perplexity-Users' bot name
Fixes #99 Additionally, `code/tests.py` wouldn't execute on my python 3 due to a [syntax complaint around f-strings, so I fixed that too](https://github.com/ai-robots-txt/ai.robots.txt/commit/6b0349f37ddf69ef9ec0e09a884b351f4a0e4b43).
diff --git a/.htaccess b/.htaccess index 2f5d0e4..27a7e11 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,3 @@ RewriteEngine On -RewriteCond %{HTTP_USER_AGENT} (AI2Bot|Ai2Bot\-Dolma|Amazonbot|anthropic\-ai|Applebot|Applebot\-Extended|Brightbot\ 1\.0|Bytespider|CCBot|ChatGPT\-User|Claude\-Web|ClaudeBot|cohere\-ai|coh...
3
2
0
[{"id": "G0", "claim": "The non-breaking hyphen (U+2011) in the comment on line 110 of code/robots.py should be replaced with a normal hyphen.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code could emit a warning message when the hyphen-s...
null
ai-robots-txt__ai.robots.txt__110
ai-robots-txt/ai.robots.txt
110
defect
bbec639c14f3e7258729718dd2c6fc0b1734a9b1
e519f9f94ccd903a86ac68cffe4efb0c897a1d09
Added a Caddyfile converter
Added a Converter that converts it into a Caddyfile format for easy copying into a Caddy Servers Caddyfile
diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..679e5c2 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,57 @@ +@aibots { + header User-Agent "*AI2Bot*" + header User-Agent "*Ai2Bot-Dolma*" + header User-Agent "*aiHitBot*" + header User-Agent "*Amazonbot*" + header User-Agent "*anthropic-a...
4
4
2
[{"id": "G0", "claim": "The new Caddyfile generator should get a test, like the other file generators have.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "robots.json is an input to the generator, so the pull request should not modify it; please revert ...
null
ai-robots-txt__ai.robots.txt__216
ai-robots-txt/ai.robots.txt
216
defect
a762015e58a86dc107176057aab1e8547778c799
5f0dd97ccbb9973744a98f082f0017ec207bf39b
Lighttpd
These PR provides support for the webserver [lighttpd](https://www.lighttpd.net/).
diff --git a/README.md b/README.md index 586e9f7..7ac0618 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ This repository provides the following files: - `nginx-block-ai-bots.conf` - `Caddyfile` - `haproxy-block-ai-bots.txt` +- `lighttpd-block-ai-bots.conf` `robots.txt` implements the Robots Exclusion Pr...
2
2
1
[{"id": "G0", "claim": "The README sentence should read \"either globally or in any conditional section\" instead of \"either global or in any conditional section\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should include a ...
null
ai-robots-txt__ai.robots.txt__51
ai-robots-txt/ai.robots.txt
51
defect
d62cab66c511126b542a22157d7b7dec2d1c2104
0c05461f84ca0d8ad9fa525821c10dbd0937db92
PHP to Python plus tests and stuff
This PR changes the behaviour: - ports php code to python -> no more PHP code, one language left - adds test for the json to txt and md conversion - removes the action for the php script - everything is now updated at once with the Python script - adds the action trigger push to the remaining action - adds some ...
diff --git a/.github/workflows/daily_update.yml b/.github/workflows/daily_update.yml index 6b6624a..11eeab3 100644 --- a/.github/workflows/daily_update.yml +++ b/.github/workflows/daily_update.yml @@ -1,5 +1,8 @@ name: Daily Update from Dark Visitors on: + push: + branches: + - "main" schedule: - cron:...
7
2
1
[{"id": "G0", "claim": "The workflow file daily_update.yml should be renamed now that it does more than daily updates, with the action name using the same terminology as the new filename.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull r...
null
ai-robots-txt__ai.robots.txt__68
ai-robots-txt/ai.robots.txt
68
defect
b7f908e30560a87c7bf45dc6cd5e132e25ab449e
933aa6159da9dbe7025f6294e98a6d3e326b43a3
Implementing automatic htaccess generation
This should work to solve #64 I added also a test function in `code/tests.py`. I tried to run Pytest and it seems to work. Tell me if I can make the implementation better in any way, and thanks for your project
diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..31ba5f7 --- /dev/null +++ b/.htaccess @@ -0,0 +1,3 @@ +RewriteEngine On +RewriteCond %{HTTP_USER_AGENT} ^.*(AI2Bot|Ai2Bot-Dolma|Amazonbot|anthropic-ai|Applebot|Applebot-Extended|Bytespider|CCBot|ChatGPT-User|Claude-Web|ClaudeBot|cohere-ai|cohere-tra...
4
4
1
[{"id": "G0", "claim": "For the change to be useful, the README must document (or provide a stable link to) how to use .htaccess and state that the checked-in .htaccess file is kept up to date with the set of AI crawlers.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
ai-robots-txt__ai.robots.txt__80
ai-robots-txt/ai.robots.txt
80
defect
abfd6dfcd15267ed03b5fda4cd3eac2512604ed2
e03b92f56e79f49f9d97398d064813d8736e10a3
.htaccess: Allow robots access to `/robots.txt`
Allow robots access to `/robots.txt`. Also improve the regular expression by removing unneeded anchors and escaping special characters (not just space) to prevent false positives or a misbehaving rewrite rule. Closes #76.
diff --git a/code/robots.py b/code/robots.py index 087b00b..c6aa68c 100644 --- a/code/robots.py +++ b/code/robots.py @@ -1,4 +1,5 @@ import json +import re from pathlib import Path import requests @@ -99,7 +100,6 @@ def consolidate(field: str, value: str) -> str: def ingest_darkvisitors(): - old_robots_j...
3
2
1
[{"id": "G0", "claim": "The Python tests fail against the PR branch (test_htaccess_creation fails because the checked-in code/test_files/.htaccess fixture no longer matches the output of the changed json_to_htaccess), so the tests need to be made to pass.", "category": "correctness", "verdict": "supported", "priority":...
null
ai-robots-txt__ai.robots.txt__94
ai-robots-txt/ai.robots.txt
94
defect
5e7c3c432f8bad894363c7289b888328f98963f3
4f3f4cd0dd0f421c2787b1336d37b8da06998882
Implement Nginx configuration snippet export
This PR implements an export for Nginx. As htaccess files cannot be processed by the Nginx web server, the rules need to go into an Nginx configuration file. A new file `nginx-block-ai-bots.conf` is generated when the `robots.py` script is run. ## Example of use This file is copied to the Nginx web server co...
diff --git a/README.md b/README.md index 30a85da..b984672 100644 --- a/README.md +++ b/README.md @@ -13,16 +13,19 @@ If you'd like to add information about a crawler to the list, please make a pull This repository provides the following files: - `robots.txt` - `.htaccess` +- `nginx-block-ai-bots.conf` `robots.txt...
1
1
1
[{"id": "G0", "claim": "The pull request ships the new Nginx config generation with no test covering it; please add a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ai__check-dts__41
ai/check-dts
41
defect
7020f61159798fbe19d2a1e38aadd75ab0c7ccc5
e711d5b0dfb3b0c73559c273395f37699deaa9af
Report errors not associated with a file
I have some projects that use a TSConfig file with `rootDir` and `includes` referring to the project source files, but that also have a TypeScript configuration file for some tool (Vite, Jest, etc) outside of that `rootDir`. Running `check-dts` on such a project fails with an uninformative error message: ``` $ che...
diff --git a/check.js b/check.js index 6f01c63..7bbcbf7 100644 --- a/check.js +++ b/check.js @@ -20,6 +20,7 @@ const ROOT = dirname(fileURLToPath(import.meta.url)) const TS_DIR = dirname(require.resolve('typescript')) const WORKER = join(ROOT, 'worker.js') const PREFIX = '// THROWS ' +const IS_TEST = process.env.NOD...
2
2
0
[{"id": "G0", "claim": "Use '.' instead of '$CWD' as the replacement when stripping the working directory from the message.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Strip the working directory from the message for all cases rather than only when IS...
null
ai__nanoid__84
ai/nanoid
84
defect
445ff4192bf6f37199865a640ad8ac75333c9be0
c85d27fc5cb3448b810eb4733f05da6be18c564f
Restore support for Node.js<v6.13.0
Unfortunately I can't add an older Node config to the TravisCI env, because `eslint` requires `node>=6.14.0` (see the tests for the first commit)
diff --git a/async.js b/async.js index 34f3e782..cbe26354 100644 --- a/async.js +++ b/async.js @@ -1,6 +1,5 @@ -var crypto = require('crypto') - var url = require('./url') +var random = require('./random') /** * Generate secure URL-friendly unique ID. Non-blocking version. @@ -24,32 +23,25 @@ var url = require('....
2
2
1
[{"id": "G0", "claim": "The callback API path still routes through a Promise (random.async returns a Promise that the callback is then attached to), so it will not work in environments without Promise, which the callback API was created to support.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
ai__size-limit__107
ai/size-limit
107
defect
1218a85dca94c21315634d02fc056425f552614c
afe2d6c924f656f2f22267068951fd784b441f12
fix: support extensionless main field
closes #106 Added `yarn watch` to run `jest` in watch mode
diff --git a/cli-body.js b/cli-body.js index c32f6ceb..6d3615b0 100755 --- a/cli-body.js +++ b/cli-body.js @@ -335,16 +335,15 @@ async function main () { let result = await Promise.all(configFile.config.map(async entry => { let peer = Object.keys(package.pkg.peerDependencies || { }) - let globbing, c...
2
1
0
[{"id": "G0", "claim": "The new `watch` script in package.json is unnecessary because `npx jest --watch` already does the same, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks what kind of error the bare catch in the...
null
ai__size-limit__167
ai/size-limit
167
defect
5f152801428e101f4d2a03a905076f49c3e6e7e0
f516275c639c5e517322a81b07435666a2ec42cd
implemented watch mode
I've trying to implement this as simple as I could do it. So it looks like enough for the requirements maybe it's not that good inside, so let's discuss what we can do better :)
diff --git a/packages/size-limit/create-help.js b/packages/size-limit/create-help.js index 8f5ed081..d0b01bf8 100644 --- a/packages/size-limit/create-help.js +++ b/packages/size-limit/create-help.js @@ -34,6 +34,7 @@ module.exports = process => { ` ${ y('--limit LIMIT') } Set size or running time limit for fil...
2
2
2
[{"id": "G0", "claim": "Watch mode must call mainCalc once before starting the watcher; as written, running with --watch shows no size results at all until a watched file changes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If the user presses Ct...
null
ai__size-limit__215
ai/size-limit
215
defect
cf961287fd9b19d8fc259f5ee583d6f6bf3538a0
9c877175eed980eda9a505dcc42fce323f8a4740
Add flag --silent for silent mode
Close #214
diff --git a/.gitignore b/.gitignore index 6a997fbb..f14e381c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ coverage/ .cache dist/ node-warnings.logs +.idea/ diff --git a/packages/size-limit/create-reporter.js b/packages/size-limit/create-reporter.js index 200d664f..1d2c098d 100644 --- a/packages/size-lim...
1
1
0
[{"id": "G0", "claim": "The .idea/ entry added to the repository's .gitignore should instead be put in the author's local git ignore (per-computer ignores), not committed to the repo.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ai__size-limit__216
ai/size-limit
216
defect
fdf844b3a49efd7fe43b1c2218566e457dd48d94
8dee7676bd480036914bee6c6c3fd72d683bf622
fail on missed entries
Close #213
diff --git a/packages/size-limit/calc.js b/packages/size-limit/calc.js index d7e6bd83..fbb09796 100644 --- a/packages/size-limit/calc.js +++ b/packages/size-limit/calc.js @@ -52,6 +52,11 @@ module.exports = async function calc (plugins, config, createSpinner) { if (typeof check.timeLimit !== 'undefined') { ...
1
1
0
[{"id": "G0", "claim": "The 'specify correct file path' hint should be shown only when the failure is a missed file (e.g. guarded by a new config.missed flag), not added unconditionally to the generic failure message.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ai__size-limit__226
ai/size-limit
226
defect
122027fb3131d58fb0db08e7151cf65aca76e549
944f1a1e19c319c415030e0363eea17cc33b35b7
add `modifyWebpackConfig` config option
So, we want to use this for `@reduxjs/toolkit` which will have multiple entry points from the next version that reference each other, so we need to add the `NormalModuleReplacementPlugin`. Rather than creating a bunch of fixed webpack configs that don't work with `--why`, this allows to just do some last-minute chan...
diff --git a/README.md b/README.md index e3b77c68..d5deb2e4 100644 --- a/README.md +++ b/README.md @@ -505,6 +505,7 @@ Each section in the config can have these options: * **config**: a path to a custom webpack config. * **ignore**: an array of files and dependencies to exclude from the project size calculation. +...
2
2
1
[{"id": "G0", "claim": "The new README bullet for `modifyWebpackConfig` should end with a period and respect the 80-symbols-per-line limit.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request needs test coverage for the new `modifyWebp...
null
ai__size-limit__312
ai/size-limit
312
defect
71ca7c7e0b548f9c18cba7eb030cdee656a3491a
be8ad7c915f8f0ff4bd292c7f4ce83e17531a6ef
feat(@size-limit/esbuild-why): support multiple sections for `--why`
Fixed #311
diff --git a/README.md b/README.md index 61340856..cbec8760 100644 --- a/README.md +++ b/README.md @@ -573,6 +573,39 @@ inserts `style-loader` runtime (≈2 kB) into the bundle. [Statoscope docs]: https://github.com/statoscope/statoscope/tree/master/packages/webpack-plugin#optionsreports-report [pattern]: https://githu...
3
3
0
[{"id": "G0", "claim": "Use `let` instead of `const` for the top-level declarations in packages/esbuild-why/index.js, per the author's stated style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The valid-filename dependency is too simple a che...
null
ai__size-limit__353
ai/size-limit
353
defect
bdffcfb0b227ea350569805c2d5d4310c21f6cba
23d6cd0b4bdab48090447cde95eef8a8660a8fa7
Add support for `.mjs` config files
## This PR: - [X] Adds support `.mjs` config files. - [X] Adds support for `.js` config files with the nearest `package.json` having `"type": "module"`. - [X] Bumps `lilconfig` to latest version. - [X] Adds unit tests to test different types of config files. - [X] Resolves #352.
diff --git a/fixtures/js-config-file-with-type-module/.size-limit.js b/fixtures/js-config-file-with-type-module/.size-limit.js new file mode 100644 index 00000000..31503c8c --- /dev/null +++ b/fixtures/js-config-file-with-type-module/.size-limit.js @@ -0,0 +1,5 @@ +export default [ + { + path: 'index.js' + } +] di...
1
1
0
[{"id": "G0", "claim": "Add a new line at the end of fixtures/js-config-file/.size-limit.js.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
ai__size-limit__384
ai/size-limit
384
defect
3542c73a58874effc80a4549bdac3a4906766ee5
b36bc34f84e511e9bfa064b4f438a547aa1ae801
feat: add time options to set loading network speed, latency and message
This PR introduces a new time field for check configuration to customize `@size-limit/time` plugin loading time with such options as network speed, latency, and message. Resolves #325 Further enhancement: - extend time options with customization of running time calculation.
diff --git a/README.md b/README.md index 898ff286..fa4b8a1d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ if the cost exceeds the limit. that use their own bundler or small npm libraries with many files. * Can calculate **the time** it would take a browser to download and **execute** your JS. Time is ...
1
1
0
[{"id": "G0", "claim": "The README documentation needs more examples of the new customization options.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ai__size-limit__397
ai/size-limit
397
defect
3d4cbf641d5124b18a9bf29d395e4051813dc092
b69a466d65d36c811c23182c0d6e475d9d909b20
Add disablePlugins as option
closes #396 This adds the option `disablePlugins`. The benefit of doing this is to still have multiple plugins installed, but disable plugins per entry of the array. The usage could look like this: ```js modue.exports = [ // following disables the `esbuild` plugin { name: 'first-package', disa...
diff --git a/README.md b/README.md index 0fe68d5c..44996188 100644 --- a/README.md +++ b/README.md @@ -591,6 +591,9 @@ Each section in the config can have these options: * **compareWith**: path to `stats.json` from another build to compare (when `--why` is using). * **uiReports**: custom UI reports list (see [Stat...
1
1
1
[{"id": "G0", "claim": "The disablePlugins option should accept only npm package names instead of short, scoped or hyphenated plugin-name aliases, since matching those forms risks name conflicts and makes the system harder to maintain.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc...
null
ai__size-limit__75
ai/size-limit
75
defect
74a868a72de3a148b19d2aa54ff090841e21fb1e
96a5673a1cfd806e453df4eb18fdd3768577ccc1
Support webpack multiple entry points and dynamic output filename
This PR aims at adding support webpack multiple entry points and dynamic output filename which was discussed at https://github.com/ai/size-limit/issues/74.
diff --git a/README.md b/README.md index b3aa7202..95cd9e97 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ Each section in config could have options: * **gzip**: with `false` will disable gzip compression. * **config**: a path to custom webpack config. * **ignore**: an array of files and dependencies to ...
6
6
3
[{"id": "G0", "claim": "Set output.filename: '[name]-[hash].js' in the test Webpack config so the tests also cover dynamic output filenames.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Size Limit config should use `entry: ['moduleA', 'moduleB']` ...
null
aicis__fresco__140
aicis/fresco
140
defect
4defbcefe857056e27ef7ad1fbd579c9ecdd9c67
fc66128ee8b421f0de3986cfb8591fadb8a2588c
Removing calls to known
A lot (if not all) calls to known is actually just a way to bootstrap algorithms with a basic step. Introdcued these basic steps, hence improving performance ever so little. As far as I can tell, one could reasonably deprecate known.
diff --git a/core/src/main/java/dk/alexandra/fresco/lib/collections/LinearLookUp.java b/core/src/main/java/dk/alexandra/fresco/lib/collections/LinearLookUp.java index caffc4b30..a4976a510 100644 --- a/core/src/main/java/dk/alexandra/fresco/lib/collections/LinearLookUp.java +++ b/core/src/main/java/dk/alexandra/fresco/l...
3
3
2
[{"id": "G0", "claim": "Throwing a RuntimeException for a zero exponent is questionable since the exponent may only be known at runtime and could be zero, and in any case the guard should throw an IllegalArgumentException, not a RuntimeException.", "category": "correctness", "verdict": "supported", "priority": "P1", "s...
null
aicis__fresco__185
aicis/fresco
185
defect
c2cf6c711b72596946f0f5d6b16e31c58bc7fc98
ebc8e73fb65e639400cbb4212cec7aafb3c0fc5a
Removed AES fixing #174 and fully tested the KryoNetNetwork fixing #177
Quick fix for the two issues #174 and #177 One of the tests will take around 17 seconds no matter what since we need to wait for timeout.
diff --git a/core/src/main/java/dk/alexandra/fresco/framework/crypto/AES.java b/core/src/main/java/dk/alexandra/fresco/framework/crypto/AES.java deleted file mode 100644 index 8198788be..000000000 --- a/core/src/main/java/dk/alexandra/fresco/framework/crypto/AES.java +++ /dev/null @@ -1,96 +0,0 @@ -package dk.alexandra...
1
1
0
[{"id": "G0", "claim": "The imports in KryoNetNetwork.java are in the wrong sort order.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
aicis__fresco__186
aicis/fresco
186
defect
4b33b51f48a4d652b051cf846a3d9ccfc3264cd1
8112834db6705e2da10db36c19cc834966503311
Lp tests #182
Covered the LP package with tests. - Removed some dimension checking in classes that should only be used by the LPSolver (which already checks) - Revived some old tests for exception handling - Tested the debugging print out for the LPSolver and LPTableau, including changing how the debug flag is set in LPSolver. ...
diff --git a/core/src/main/java/dk/alexandra/fresco/lib/lp/BlandEnteringVariable.java b/core/src/main/java/dk/alexandra/fresco/lib/lp/BlandEnteringVariable.java index 6f2481596..d68438c51 100644 --- a/core/src/main/java/dk/alexandra/fresco/lib/lp/BlandEnteringVariable.java +++ b/core/src/main/java/dk/alexandra/fresco/l...
4
3
0
[{"id": "G0", "claim": "The debug-flag accessor should be renamed (e.g. to \"isDebug\") instead of being called \"getDebuggable\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debug output of LPTableau should be reconfigurable (e.g. exposi...
null
aicis__fresco__209
aicis/fresco
209
defect
081ef4745a560314802676a5e53206c4894d8c00
7c442bde6fcc607b24b33b58d6a243cf48acf320
Kryonet refactor
Nikolai recently discovered a bug in KryoNetNetwork which this PR should fix. Multiple test runs at least confirms this, but since it was a deadlock issue, one cannot say for certain. With high probability though, it's fixed :) Also, if someone can explain why using free ports for the test testKryoNetConnectInterrup...
diff --git a/core/src/main/java/dk/alexandra/fresco/framework/network/KryoNetNetwork.java b/core/src/main/java/dk/alexandra/fresco/framework/network/KryoNetNetwork.java index 78df3966b..62ea99db2 100644 --- a/core/src/main/java/dk/alexandra/fresco/framework/network/KryoNetNetwork.java +++ b/core/src/main/java/dk/alexan...
4
3
0
[{"id": "G0", "claim": "In testKryoNetConnectInterrupt the failure inside the thread should be thrown as a RuntimeException (for clarity) instead of Assert.fail, whose more uncontrolled exception does not make the test fail.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"...
null
aicis__fresco__211
aicis/fresco
211
defect
9076aafdd7ab6e3fc0d990eb54e2f9cd9b3d6ae7
5291377d71fb948951f95635faf492927e7ede72
Spdz test coverage
Some refactoring and new testcases for the spdz suite (now on 100% coverage). These changes are part of issues #106 and #114.
diff --git a/core/src/main/java/dk/alexandra/fresco/framework/sce/resources/storage/FilebasedStreamedStorageImpl.java b/core/src/main/java/dk/alexandra/fresco/framework/sce/resources/storage/FilebasedStreamedStorageImpl.java index 3d4d3e496..daa73c5a7 100644 --- a/core/src/main/java/dk/alexandra/fresco/framework/sce/re...
6
3
0
[{"id": "G0", "claim": "DummyDataSupplierImpl should cast an exception if someone uses it with more than 3 parties, since the RuntimeException the change removed was the only guard and an array-out-of-bounds exception would now be thrown for player > 3.", "category": "correctness", "verdict": "opposed", "priority": "P1...
null
aicis__fresco__233
aicis/fresco
233
defect
328b893a91965cd18b358587f97be9470499cdbf
b0cabe6e72364ddd966f07db39654d7ba227810c
221 fix correlation error bug
Closes #221
diff --git a/core/src/main/java/dk/alexandra/fresco/framework/network/Network.java b/core/src/main/java/dk/alexandra/fresco/framework/network/Network.java index 596f1fc41..fa8642050 100644 --- a/core/src/main/java/dk/alexandra/fresco/framework/network/Network.java +++ b/core/src/main/java/dk/alexandra/fresco/framework/...
1
1
0
[{"id": "G0", "claim": "The sentence \"meaning that the network is allowed to overwrite the content of the byte array.\" should be added to the Network interface javadoc to make the ownership-transfer semantics explicit.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
aicis__fresco__305
aicis/fresco
305
defect
f06d60449ecdad609a2905ae1f634108e9a5e29f
17d2438f9dfe049a432eedf76f974b4e1f3b2339
Exponentiation bug
Fixes a bug pointed out on gitter where the exponentiation with and open exponent would fail with a `NullPointerException` when the exponent was a power of two. This closes #303
diff --git a/core/src/main/java/dk/alexandra/fresco/framework/builder/numeric/AdvancedNumeric.java b/core/src/main/java/dk/alexandra/fresco/framework/builder/numeric/AdvancedNumeric.java index b5f4c3cbc..0ef0acc1e 100644 --- a/core/src/main/java/dk/alexandra/fresco/framework/builder/numeric/AdvancedNumeric.java +++ b/c...
1
1
1
[{"id": "G0", "claim": "Initialising accOdd to known(BigInteger.ONE) makes the protocol perform a quite unnecessary multiplication of known values (multiplying by 1) on every exponentiation.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
aicis__fresco__308
aicis/fresco
308
defect
c7c9b573682847ecb8500f2a76d0f7666d070bc5
21e114d97bdfb6279fc4235f87d96d517dac5332
307 kill seq tests
- Removes sequential tests from spdz/ dummy arithmetic suites - Uses smaller modulus where possible for spdz - Sets up AbstractSpdzTest for more refactoring
diff --git a/core/src/main/java/dk/alexandra/fresco/lib/statistics/CreditRater.java b/core/src/main/java/dk/alexandra/fresco/lib/statistics/CreditRater.java index ae0e22d8d..997423583 100644 --- a/core/src/main/java/dk/alexandra/fresco/lib/statistics/CreditRater.java +++ b/core/src/main/java/dk/alexandra/fresco/lib/sta...
2
2
0
[{"id": "G0", "claim": "The throw of IllegalArgumentException(\":(\") for SEQUENTIAL evaluation should be replaced or removed rather than left with a useless string argument.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out DEFAU...
null
aicis__fresco__313
aicis/fresco
313
defect
fea82fe234814abd04adb18b77b7beefb872504c
a12a64ae7a6abaaa7053b270b89d5b354a8b9cbb
Matrix subtraction and transposition
Add functionality for subtracting and transposing secret shared matrices.
diff --git a/core/src/main/java/dk/alexandra/fresco/lib/real/DefaultLinearAlgebra.java b/core/src/main/java/dk/alexandra/fresco/lib/real/DefaultLinearAlgebra.java index 63a86fddf..bd0d7a631 100644 --- a/core/src/main/java/dk/alexandra/fresco/lib/real/DefaultLinearAlgebra.java +++ b/core/src/main/java/dk/alexandra/fresc...
2
2
0
[{"id": "G0", "claim": "The private helper `add` used to implement `sub` should be renamed because its name is inaccurate for the subtraction use case.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc parameters `Secret value 1` / `Sec...
null
aicis__fresco__349
aicis/fresco
349
defect
88629446f52e648f1a6e87f0febd8368571e8000
34e23e7881e9fa34f8630d5acc4050f67a8b5cc1
Fast reduction
Fast modular reduction using Barrett Reduction. Is about 28% than BigInteger::mod.
diff --git a/core/src/main/java/dk/alexandra/fresco/framework/builder/numeric/field/BigIntegerFieldElement.java b/core/src/main/java/dk/alexandra/fresco/framework/builder/numeric/field/BigIntegerFieldElement.java index 814e4f019..0d9f1247a 100644 --- a/core/src/main/java/dk/alexandra/fresco/framework/builder/numeric/fi...
2
2
2
[{"id": "G0", "claim": "Objects.requireNonNullElse is not Java 8 compatible, so the new lazy-reducer line in BigIntegerModulus.reduceModThis must be replaced with a Java 8 compatible null check.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TestMod...
null
aicis__fresco__351
aicis/fresco
351
defect
88629446f52e648f1a6e87f0febd8368571e8000
641b8a688ee8f10845c02fcc46b1a426054c8bee
Mascot demo
Add option for using preprocessing using MASCOT in demos
diff --git a/demos/common/src/main/java/dk/alexandra/fresco/demo/cli/CmdLineProtocolSuite.java b/demos/common/src/main/java/dk/alexandra/fresco/demo/cli/CmdLineProtocolSuite.java index 5cd91c457..b7e5df2c1 100644 --- a/demos/common/src/main/java/dk/alexandra/fresco/demo/cli/CmdLineProtocolSuite.java +++ b/demos/common/...
2
2
1
[{"id": "G0", "claim": "The switch over the preprocessing strategy is very hard to test, which could explain some of the loss of coverage.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change lacks tests and the reviewer prefers 100% code coverage,...
null