algorithm-nexus[product]==0.2.2 broken on fresh pip install: torchgeo 0.10.0 incompatibility
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- build-system
調査の方向性
[product] の依存関係宣言と requirements-product.txt を調査し、クリーンな pip install と terratorch の import コマンドで失敗を再現します。ロックされていない依存関係の解決結果を、動作する torchgeo<0.10 の workaround および upstream の互換性ステータスと比較します。algorithm-nexus[product]==0.2.2 の新規インストールが完了し、vLLM プラグインと Terratorch の登録の import が成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
A fresh pip install algorithm-nexus[product]==0.2.2 fails at runtime because pip resolves torchgeo==0.10.0, which is incompatible with the pinned terratorch[vllm]==1.2.10.
Error
ImportError: cannot import name 'utils' from 'torchgeo.trainers'
(/opt/vllm/lib64/python3.12/site-packages/torchgeo/trainers/__init__.py)
This breaks both the terratorch_fix vLLM plugin and the Terratorch model architecture registration, making geospatial models (e.g. ibm-nasa-geospatial/Prithvi-EO-2.0-300M-TL-Sen1Floods11) unservable via vLLM.
Root Cause
-
torchgeo 0.10.0 (released 2026-08-14) renamed
torchgeo.trainers→torchgeo.tasks(torchgeo PR #3887). Thetrainers.utilssubmodule was not shimmed with a deprecation alias — it was simply removed. -
terratorch 1.2.10 (the version pinned by algorithm-nexus) imports
from torchgeo.trainers import utilsin multiple files (timm_model_factory.py,cli_tools.py,base_task.py,reconstruction_tasks.py,wxc_downscaling_task.py). Itspyproject.tomldeclarestorchgeoas a dependency with no upper bound. -
algorithm-nexus 0.2.2 pins
terratorch[vllm]==1.2.10in the[product]extra but has no directtorchgeoversion constraint. Therequirements-product.txtlock file pinstorchgeo==0.9.0, but a barepip install algorithm-nexus[product]==0.2.2(without the lock file) lets pip resolvetorchgeo==0.10.0, which breaks the import.
Upstream Status
- terratorch PR #1222 (merged 2026-08-18 to
main) pinstorchgeo>=0.9.0,<0.10— but this fix is not in any release. Latest release is still v1.2.10 (2026-07-15), which predates the fix. - terratorch PR #1221 (open) does a full API migration to support torchgeo 0.10.
Reproduction
# In a clean environment or container (e.g. quay.io/vllm/automation-vllm:cuda-*)
pip install algorithm-nexus[product]==0.2.2
# This fails:
python -c "from terratorch.vllm.plugins.general import register_terratorch_fix"
# ImportError: cannot import name 'utils' from 'torchgeo.trainers'
# Workaround:
pip install "torchgeo<0.10"
# Now the import succeeds
- 主要言語
- Python
- スター
- 3
- フォーク
- 7
- 平均マージ
- 14時間 4分
- マージ済み PR(30日)
- 15
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IBM/algorithm-nexus のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
IBM/algorithm-nexus#159 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
IBM/algorithm-nexus#258 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
fix: update benchmarking requirements対応中かも @christian-pinto が 1 日前に担当しました。 オープン
IBM/algorithm-nexus#255 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
IBM/algorithm-nexus#254 ·
メンテナーはふだん 1 日以内に返信
-
Test bmfm-targets with vllm >= 0.29.0対応中かも @sivanravidos が 15 日前に担当しました。 オープン
IBM/algorithm-nexus#240 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
IBM/algorithm-nexus の issue をすべて見る
似ている issue
-
pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pydantic/pydantic-ai#8843 ·
メンテナーはふだん 1 日以内に返信
-
breaking change enhancement server
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
sktime/sktime#11310 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信