[bug] Released TorchX dependency prevents installing NeMo-Run 0.11.1 with urllib3 2.x
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 38/100
Rechercherichtung
Start with nemo_run/run/torchx_backend/schedulers/slurm.py and the TorchX dependency declarations for NeMo-Run 0.11.1; reproduce the resolver conflict using the provided requirements.in and uv pip compile command. Review TorchX #1040, #1122, and NeMo-Run #429 for the compatibility options already under discussion. Done means identifying a supported released dependency combination and verifying dependency resolution plus Slurm and Local scheduler imports and execution.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
NeMo-Run 0.11.1 declares torchx>=0.7.0, but the available PyPI release, TorchX 0.7.0, requires urllib3>=1.21.1,<1.27. This prevents installing NeMo-Run alongside urllib3 2.x without overriding published dependency requirements or patching TorchX.
We encountered this while building Core Models images on PyTorch 26.11. The image contains urllib3 2.8.0 and Requests 2.34.2, which requires urllib3 >=2.6.3. Dependency resolution fails before any workload can run.
Steps/Code to reproduce bug
In an empty directory, create requirements.in:
nemo-run==0.11.1
urllib3==2.8.0
Resolve against PyPI with a Python 3.12 target:
uv pip compile requirements.in \
--python-version 3.12 \
--default-index https://pypi.org/simple \
--no-header
Observed output with uv 0.12.17 on October 19, 2026:
error: No solution found when resolving dependencies
cause: Because torchx>=0.7.0 depends on urllib3>=1.21.1,<1.27 and nemo-run>=0.11.1 depends on torchx>=0.7.0, we can conclude that nemo-run>=0.11.1 depends on urllib3>=1.21.1,<1.27.
And because you require nemo-run==0.11.1 and urllib3==2.8.0, we can conclude that your requirements are unsatisfiable.
This reproduction only resolves package metadata; it requires no GPU, cluster access, or PyTorch installation.
Expected behavior
A supported NeMo-Run release should have a tested, installable dependency combination compatible with modern urllib3, while preserving working Slurm and Local scheduler imports and execution.
Please identify the supported release path, whether that is a compatible TorchX release/backport or a NeMo-Run update for a tested newer TorchX revision. Downstream consumers should be able to use that combination without maintaining a local TorchX patch.
Additional context
-
Original environment: Linux ARM64, PyTorch 26.11 image, NeMo-Run 0.11.1, urllib3 2.8.0, Requests 2.34.2. The dependency-only reproduction above uses a Python 3.12 target.
-
TorchX #1040 already tracks the obsolete urllib3 requirement, and TorchX #1122 removes it in source. The available PyPI release still carries the requirement.
-
A source-upgrade attempt using the upstream TorchX fixing revision also failed when importing NeMo-Run's Slurm scheduler:
ImportError: cannot import name 'AppDryRunInfo' from 'torchx.schedulers.api'NeMo-Run 0.11.1 imports this symbol from
torchx.schedulers.api. This is an observation about the tested fixing revision, not a claim that every newer TorchX revision has the same failure. -
NeMo-Run #429 addresses related TorchX dependency/API compatibility work and remains open. This issue requests a supported released solution rather than assuming that PR's current implementation is the only approach.
-
Our temporary workaround retains TorchX 0.7.0's scheduler API and backports only the urllib3 requirement removal. A Python 3.12 CPU probe passed Slurm/Local scheduler imports, local executor execution, and dependency checks. ARM64 mbridge-base and nemo-base image builds also passed. Internal evidence: Core Models !2871 and validation pipeline, requiring NVIDIA access. These checks do not establish full distributed GPU execution coverage.
-
A global urllib3 override also hid an incompatible botocore requirement in our Bridge environment, leading to
DEFAULT_CIPHERSimport failures. That separate issue is tracked in Megatron-Bridge #6547. -
We have not identified a known-good NeMo-Run revision or bisected the first bad commit.
- Vorherrschende Sprache
- Python
- Sterne
- 268
- Forks
- 121
- Ø Merge
- 3 Std. 42 Min.
- Gemergte PRs (30 T.)
- 4
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NVIDIA-NeMo/Run
-
community-request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
NVIDIA-NeMo/Run#727 ·
Maintainer antworten meist innerhalb von 1 Tag
-
dgxcloud: cancel() uses GET on the distributed suspend endpoint, and single-node ray jobs are polled under /workloads/trainingsEvtl. vergeben @dundysm hat das vor 9 Tagen übernommen. Offencommunity-request
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 25/100
NVIDIA-NeMo/Run#704 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 25/100
NVIDIA-NeMo/Run#678 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 55/100
NVIDIA-NeMo/Run#659 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Dependency DashboardOffen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 20/100
NVIDIA-NeMo/Run#594 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NVIDIA-NeMo/Run
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Evtl. vergeben @cestercian hat das heute übernommen. Offencomp/cli P2 type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
NousResearch/hermes-agent#162259 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[request] gRpc/1.86.0Offenupstream update
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
conan-io/conan-center-index#31597 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
AOSSIE-Org/PictoPy#1802 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 3 Tagen
-
bot-triaged module: higher order operators module: pickle module: pt2-dispatcher oncall: pt2 triaged
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
pytorch/pytorch#207247 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag