Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/nemotron/recipes/embed/stage3_eval/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,36 @@ dependencies = [
# Needed by Nemotron library (added via --with flag)
"omegaconf>=2.3.0",
"pydantic-settings>=2.0.0",
# Pin torch to a CUDA 12.9-compatible build. Without this pin, uv resolves
# torch 2.11+ from PyPI, which requires CUDA 13 and silently falls back to
# CPU on systems whose NVIDIA driver only supports CUDA 12.x.
"torch<=2.10.0",
]

# Note: exclude-dependencies injected dynamically by run_uv.py for Docker/Slurm

[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", marker = "sys_platform != 'linux' and sys_platform != 'darwin'" },
{ index = "pytorch-cu129", marker = "sys_platform == 'linux'" },
{ index = "pypi", marker = "sys_platform == 'darwin'" },
]

[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
explicit = true

[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

[[tool.uv.index]]
name = "pytorch-cu129"
url = "https://download.pytorch.org/whl/cu129"
explicit = true

[tool.nemotron]
entry-point = "eval.py"
container-exclude-dependencies = [
Expand Down
Loading
Loading