[feat] Track Exact Fast-LLM Version in Training Outputs and wandb Logs
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- git, python
調査の方向性
The payload names no source files, so start by finding where training output directories are created and where the wandb run is initialized. Derive the version from git describe --tags --dirty with a commit-hash fallback, then write it to fast_llm_version.txt, add it to the wandb config and a tag, and print it at startup. Done means a run's output directory and wandb run both show the version string. The thread has had no reply for about 646 days, so confirm the approach with maintainers before starting.
索引モデルが issue の本文から書いたものです。
説明
🧐 Problem Description
The version of Fast-LLM used for training is currently not easily accessible. While training job specs (e.g., Toolkit, Kubeflow) provide the image path/URL, references like ghcr.io/servicenow/fast-llm:latest don't indicate which commit or tagged version was used. This makes it difficult to trace back to the exact codebase version for a training run.
💡 Proposed Solution
Include a version string in the output directory of each training run and log it to wandb for visibility.
Details:
- For tagged release commits, use the semantic version (e.g.,
v1.2.3). - For non-tagged commits, include the commit hash (e.g.,
abcdef1) and mark the build as "dirty" if uncommitted changes exist (e.g.,abcdef1-dirty). - Example formats:
- Tagged release:
v1.2.3 - Non-tagged commit:
abcdef1 - Modified tagged release:
v1.2.3-dirty
- Tagged release:
This version string should:
- Be written to a file in the training output directory (e.g.,
fast_llm_version.txt). - Be logged to wandb:
- As part of the run configuration (
wandb.init(config=...)). - As a standalone field (
wandb.log). - Optionally, as a tag for easier filtering (
wandb.init(tags=...)).
- As part of the run configuration (
- Be shown in stdout logs.
🔄 Alternatives Considered
- Using container image tags in job specs:
- Problem: Tags like
latestare ambiguous. Job descriptions may not persist (e.g., they could be garbage-collected or lost when a Kubernetes instance is decommissioned).
- Problem: Tags like
📈 Potential Benefits
- Reproducibility: Trace models back to the exact version of Fast-LLM used.
- Transparency: Facilitates auditing and debugging of training runs.
- Usability: Avoids manual tracking of version information.
📝 Additional Context
This feature aligns with best practices for software versioning and reproducibility. Common formats like semantic versioning (semver) and commit hashes are widely supported and easy to interpret.
Relevant references:
- Semantic Versioning
- Git documentation on describing tags.
- wandb documentation on logging custom metrics and tags.
- 主要言語
- Python
- スター
- 337
- フォーク
- 52
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ServiceNow/Fast-LLM のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
ServiceNow/Fast-LLM#556 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
ServiceNow/Fast-LLM#538 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
ServiceNow/Fast-LLM#533 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
ServiceNow/Fast-LLM#510 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
ServiceNow/Fast-LLM#507 ·
ServiceNow/Fast-LLM の issue をすべて見る
似ている issue
-
bug module:nodes tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rocketride-org/rocketride-server#3020 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
bretterer/home-assistant-rivian#335 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mampfes/hacs_waste_collection_schedule#8114 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TIGER-AI-Lab/ClawBench#475 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
UKGovernmentBEIS/inspect_ai#6322 ·
メンテナーはふだん 1 日以内に返信