[Bug] Static disaggregated worker addresses cannot round trip bracketed IPv6
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- backend, networking
調査の方向性
まず tensorrt_llm.llmapi.disagg_utils と issue 内の再現手順を確認します。extract_ctx_gen_cfgs が静的な worker URL をどのように解析し、get_ctx_gen_server_addrs がどのように整形するかを追ってください。issue では、context worker と generation worker、IPv4、DNS、IPv6、ゾーン ID、設定オブジェクト、無効な入力に関するソースコード上の回帰ケースが報告されています。これらのケースを使って修正を確認してください。角括弧付き IPv6 アドレスが往復変換で保持され、IPv4 と DNS の動作が維持され、曖昧な角括弧なしの入力が拒否されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
Static disaggregated worker addresses do not round trip bracketed IPv6 on main 9cb84a22bb8813a6dda42961723212f4b2765e8c.
from tensorrt_llm.llmapi.disagg_utils import (
CtxGenServerConfig, extract_ctx_gen_cfgs, get_ctx_gen_server_addrs,
)
extract_ctx_gen_cfgs("ctx", urls=["[::1]:8000"])
# ValueError: too many values to unpack (expected 2)
get_ctx_gen_server_addrs([
CtxGenServerConfig(type="ctx", hostname="::1", port=8000),
])
# (["::1:8000"], [])
The parser splits on every colon. The formatter omits the brackets needed around an IPv6 HTTP authority.
Proposed scope
Split the port from the right, normalize bracketed IPv6 hostnames, and restore brackets when formatting worker addresses. Preserve IPv4 and DNS behavior and reject ambiguous unbracketed input. This is a small address parsing fix. It does not add complete IPv6 support to disaggregated listeners or transports.
I have regression cases for context and generation workers, IPv4, DNS, IPv6, zone IDs, existing configuration objects, and invalid input. The isolated source tests fail on the IPv6 cases before the change and pass with the draft. Full package validation still needs the TensorRT-LLM build environment.
I checked #19544 and #19482. They cover listener binding and advertised host selection, rather than this static address round trip.
I will link a draft patch for scope feedback before requesting code review, per CONTRIBUTING.md.
Before submitting
- Searched related issues and open PRs.
- Included a minimal reproduction and proposed scope.
- 主要言語
- Python
- スター
- 14.8k
- フォーク
- 2.8k
- 平均マージ
- 3日 17時間
- マージ済み PR(30日)
- 471
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/TensorRT-LLM のほかの issue
-
[Performance]: Beam search re-materializes Result.output_token_ids from pybind once per beam対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンGeneral perf
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NVIDIA/TensorRT-LLM#20236 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Kimi Linear / Kimi K3 fail to load from the release container: No module named 'fla'対応中かも @lorenzozanee が 5 日前に担当しました。 オープンCustomized kernels
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
NVIDIA/TensorRT-LLM#19893 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: guided response_format is silently ignored without guided_decoding_backend対応中かも @lorenzozanee が 20 日前に担当しました。 オープンbug Inference runtime
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NVIDIA/TensorRT-LLM#19635 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] _load_bin_or_path_file hides the real torch.load error behind UnboundLocalError対応中かも @David-Wu1119 が 23 日前に担当しました。 オープンCustomized kernels
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NVIDIA/TensorRT-LLM#19564 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: AutoDeploy logger treats verbose and internal_error as info対応中かも @RahulDeoghare が 25 日前に担当しました。 オープンAutoDeploy bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NVIDIA/TensorRT-LLM#19491 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
NVIDIA/TensorRT-LLM の issue をすべて見る
似ている issue
-
python triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/semantic-kernel#14615 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
shackett/shackett-utils#19 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
UKGovernmentBEIS/control-arena#917 ·
メンテナーはふだん 1 日以内に返信