Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug] Static disaggregated worker addresses cannot round trip bracketed IPv6

オープン 初心者向け
#20,126 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@bojiang-li がすでに取り組んでいます。

2026年10月12日 から。

  • #20128 @bojiang-li による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

まず 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 の本文から書いたものです。

説明

Disaggregated serving
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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/TensorRT-LLM のほかの issue

NVIDIA/TensorRT-LLM の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。