[Control] tune run --mode api --hold <size> renders the literal "None" into the worker command line, engine exits with code 2
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
まず tuning.py:770-800 から始め、保持された次元が tuning.py:604-622 の _args_for() にどのように渡されるかを追ってください。報告されたエンジンのバージョンで tune run --mode api --hold <size> を実行して再現し、保持された値がリテラルの None として表示されなくなり、ベースラインを測定できることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Environment. Control checkout run with Python 3.12.10 on Windows 11, engine 0.1.60. Reproduced twice: a sweep with --hold kv --hold vram_reserve --hold spec_min_p --hold ple_io, and again without --hold.
Symptom. The measured worker exits before it becomes ready:
EngineDied: the engine exited before it was ready … exit code 2
strata generate: invalid --ple-io/--ple-row-cache/--ple-inflight/--ple-delay-us
The worker command line contains --kv None --ple-io None --spec-min-p None --vram-reserve-mib None.
Cause (from the source). tuning.py:770-800 builds fixed = {d.id: … None} for held dimensions (tuning.py:786), and _args_for() (tuning.py:604-622) then re-renders args[flag] = str(value) — so None becomes the string "None". Engine 0.1.60 rejects that in argument validation, and every trial (including the baseline) is UNMEASURED: baseline could not be measured, trials 0 of 16.
Why it matters. Held dimensions are exactly the ones the user wants untouched, so the flag that protects them makes the whole sweep measure nothing. On an older engine (0.1.72) the same sweep passed with None accepted, which hides the bug.
Workaround we use. Drop --hold entirely: the sweep only measures and tune apply is never run, so the protected settings are safe anyway.
Suggested fix. Skip held dimensions when rendering arguments (or keep their original value from the launch config instead of None), and report the malformed command line in the job status rather than only the worker exited with code 1 before becoming ready.
- 主要言語
- C++
- スター
- 11.6k
- フォーク
- 1k
- 平均マージ
- 6日 2時間
- マージ済み PR(30日)
- 21
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Niko1221/Strata のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Niko1221/Strata#7684 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Niko1221/Strata#7670 · コメント 3 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Niko1221/Strata#7537 · コメント 3 件 ·
メンテナーはふだん 4 日以内に返信
Niko1221/Strata の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
simnJS/AnyPS5#735 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:tests kind:test
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
BabylonJS/BabylonNative#2138 ·
メンテナーはふだん 1 日以内に返信