algorithm-nexus[product]==0.2.2 broken on fresh pip install: torchgeo 0.10.0 incompatibility
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- build-system
Research direction
Inspect the [product] dependency declaration and requirements-product.txt, then reproduce the failure with the clean pip install and the terratorch import command. Compare the unlocked dependency resolution with the working torchgeo<0.10 workaround and upstream compatibility status. Done means a fresh algorithm-nexus[product]==0.2.2 install completes and the vLLM plugin and Terratorch registration imports succeed.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Python
- Stars
- 4
- Forks
- 7
- Avg merge
- 19h 13m
- Merged PRs (30d)
- 20
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IBM/algorithm-nexus
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
IBM/algorithm-nexus#159 ·
Maintainers usually reply within 1 day
-
bug: `nexus validate logical-benchmarks` does not fail when instances are misplacedPossibly taken @AlessandroPomponio claimed this 4 days ago. Openbug
IBM/algorithm-nexus#288 · 1 assignee ·
Maintainers usually reply within 1 day
-
feat: allow specifying multiple values for properties in an instancePossibly taken @christian-pinto claimed this 7 days ago. Openenhancement
IBM/algorithm-nexus#277 · 1 assignee ·
Maintainers usually reply within 1 day
-
docs: improve readmeOpen
Difficulty 3/5 1-2 days Newbie friendliness 68/100
IBM/algorithm-nexus#276 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
IBM/algorithm-nexus#254 ·
Maintainers usually reply within 1 day
All issues in IBM/algorithm-nexus
Similar issues
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
json_params_matcher fails on falsy top-level JSON primitives (0, False, "")Possibly taken @mayureshsonawane17 claimed this today. OpenWaiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Add .devin pluginOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ayghri/i-have-adhd#249 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
modelscope/FunASR#3762 ·
Maintainers usually reply within 1 day