`kaggle models instances versions list` returns the versions of every instance of the model
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with model_instance_versions_list and ApiListModelInstanceVersionsRequest, then compare its request construction with the working kaggle models instances versions files command. Reproduce the listing with a model that has multiple instance variations and trace whether instance_slug is preserved in the request. Done means the list endpoint returns only versions belonging to the requested instance, with the unrelated variation slugs absent.
索引モデルが issue の本文から書いたものです。
説明
What happens
kaggle models instances versions list <owner>/<model>/<framework>/<instance> lists versions of all the model's
instances (variations), not only the one given:
$ kaggle models instances versions list qwen-lm/qwen-3/transformers/8b-base
version variation title private
------------- --------------------------- ---------- ---------
1 235b-a22b-thinking-2507-fp8 Qwen 3 False
1 235b-a22b-thinking-2507 Qwen 3 False
1 30b-a3b-thinking-2507 Qwen 3 False
...
qwen-lm/qwen-3/transformers/14b-base gives the same list. With the Python API,
KaggleApi().model_instance_versions_list("qwen-lm/qwen-3/transformers/8b-base", page_size=50) returns 45
versions whose variation_slug covers every Qwen 3 variation (0.6b, 0.6b-base, ..., 235b-a22b-thinking-2507-fp8).
The same thing happens for qwen-lm/qwen2.5/transformers/7b.
Expected
Only the versions of 8b-base. For this instance that is version 1.
Notes
The client seems to send the instance correctly. model_instance_versions_list sets instance_slug on
ApiListModelInstanceVersionsRequest, and the request's path is
/api/v1/models/qwen-lm/qwen-3/MODEL_FRAMEWORK_TRANSFORMERS/8b-base/list. kaggle models instances versions files qwen-lm/qwen-3/transformers/8b-base/1 builds its request the same way and returns the right files. So the filter
looks like it is dropped on the server side of ListModelInstanceVersions.
Kaggle CLI 2.2.4, Windows 10, Python 3.13. The code is unchanged on main (941236a, release 2.2.5).
- 主要言語
- Python
- スター
- 7.7k
- フォーク
- 1.5k
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Kaggle/kaggle-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Kaggle/kaggle-cli#1254 ·
メンテナーはふだん 1 日以内に返信
-
duplicate
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Kaggle/kaggle-cli#1248 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
datasets metadata --update crops cover images larger than 560x280 to their top-left corner対応中かも @tb91117 が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
Kaggle/kaggle-cli#1250 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1時間未満 初心者へのやさしさ 50/100
Kaggle/kaggle-cli#1217 ·
メンテナーはふだん 1 日以内に返信
-
bug dependencies
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Kaggle/kaggle-cli#1207 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
Kaggle/kaggle-cli の issue をすべて見る
似ている issue
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
BrainLesion/BraTS#200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
OpenHands/extensions#970 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
rl-institut/enetra#91 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
huggingface/datasets#9100 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NVIDIA/garak#2486 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信