Skip to content
Merged
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
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ override-dependencies = [
"torch; sys_platform == 'never'",
"torchvision; sys_platform == 'never'",
"triton; sys_platform == 'never'",
"transformer-engine @ git+https://github.com/NVIDIA/TransformerEngine.git@6a34b6574fa6c29d9d07fdcddf9812cbb1488878",
"transformer-engine @ git+https://github.com/NVIDIA/TransformerEngine.git@d9b7fc5770a88af06e2e9c2bd97b550614c3a69f",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if the commit exists in the TE repo and find related tags
git ls-remote https://github.com/NVIDIA/TransformerEngine.git | grep "d9b7fc5770a88af06e2e9c2bd97b550614c3a69f"

# Also list tags that might give us version info
echo "=== Recent TE tags ==="
git ls-remote --tags https://github.com/NVIDIA/TransformerEngine.git | tail -30

Repository: NVIDIA-NeMo/Megatron-Bridge

Length of output: 1789


🏁 Script executed:

#!/bin/bash
# Try to fetch the specific commit to verify if it exists
echo "Attempting to fetch the specific commit..."
git fetch --dry-run https://github.com/NVIDIA/TransformerEngine.git d9b7fc5770a88af06e2e9c2bd97b550614c3a69f 2>&1 | head -20

# Also check if maybe it's a typo - search for similar commits
echo -e "\n=== Checking HEAD of main/master ==="
git ls-remote https://github.com/NVIDIA/TransformerEngine.git | grep -E "HEAD|main|master"

# Check all recent commits (not just tags)
echo -e "\n=== Checking for commits in main branch ==="
git ls-remote --heads https://github.com/NVIDIA/TransformerEngine.git main | head -5

Repository: NVIDIA-NeMo/Megatron-Bridge

Length of output: 483


🏁 Script executed:

#!/bin/bash
# Fetch repo info and check commit details
mkdir -p /tmp/te_check
cd /tmp/te_check

# Clone a shallow copy focusing on the relevant commit and tags
git clone --depth=500 https://github.com/NVIDIA/TransformerEngine.git 2>&1 | tail -5

cd TransformerEngine

# Check what version/tags are associated with this commit
echo "=== Checking commit info ==="
git log --oneline d9b7fc5770a88af06e2e9c2bd97b550614c3a69f -1

echo -e "\n=== Tags reachable from this commit ==="
git tag --contains d9b7fc5770a88af06e2e9c2bd97b550614c3a69f 2>/dev/null | head -20

echo -e "\n=== Distance from tags v2.10, v2.11, v2.12 ==="
git log --oneline d9b7fc5770a88af06e2e9c2bd97b550614c3a69f..v2.11 | wc -l
echo "Commits between target commit and v2.11:"
git log --oneline d9b7fc5770a88af06e2e9c2bd97b550614c3a69f..v2.11 | head -5

echo -e "\n=== Check if commit is between v2.10 and v2.13 ==="
git merge-base --is-ancestor d9b7fc5770a88af06e2e9c2bd97b550614c3a69f v2.13 && echo "Commit is ancestor of v2.13 ✓" || echo "Commit is NOT ancestor of v2.13 ✗"

Repository: NVIDIA-NeMo/Megatron-Bridge

Length of output: 1019


🏁 Script executed:

#!/bin/bash
mkdir -p /tmp/te_check2
cd /tmp/te_check2

# Clone with full history for commit analysis
echo "Cloning full repo..."
git clone https://github.com/NVIDIA/TransformerEngine.git 2>&1 | tail -3

cd TransformerEngine

# Now check the commit
echo "=== Commit details ==="
git log --oneline d9b7fc5770a88af06e2e9c2bd97b550614c3a69f -1

echo -e "\n=== Tags containing this commit ==="
git tag --contains d9b7fc5770a88af06e2e9c2bd97b550614c3a69f 2>/dev/null

echo -e "\n=== Check version range >=2.10.0a0,<2.13.0 ==="
git merge-base --is-ancestor v2.10.0 d9b7fc5770a88af06e2e9c2bd97b550614c3a69f && echo "v2.10.0 is ancestor (commit is after v2.10)" || echo "v2.10.0 is NOT ancestor"
git merge-base --is-ancestor d9b7fc5770a88af06e2e9c2bd97b550614c3a69f v2.13.0 && echo "Commit is ancestor of v2.13.0 (commit is before v2.13)" || echo "Commit is NOT ancestor of v2.13.0"

echo -e "\n=== Commit timestamp and author ==="
git log -1 --format="%ai %an: %s" d9b7fc5770a88af06e2e9c2bd97b550614c3a69f

Repository: NVIDIA-NeMo/Megatron-Bridge

Length of output: 638


🏁 Script executed:

#!/bin/bash
cd /tmp/te_check2/TransformerEngine

echo "=== All v2.x tags ==="
git tag -l 'v2.*' | sort -V

echo -e "\n=== Check commit ancestry against actual tags ==="
git merge-base --is-ancestor v2.10 d9b7fc5770a88af06e2e9c2bd97b550614c3a69f && echo "✓ v2.10 is ancestor of commit" || echo "✗ v2.10 is NOT ancestor"
git merge-base --is-ancestor d9b7fc5770a88af06e2e9c2bd97b550614c3a69f v2.11 && echo "✓ Commit is ancestor of v2.11" || echo "✗ Commit is NOT ancestor of v2.11"

echo -e "\n=== Check if v2.12 or v2.13 exist ==="
git tag -l 'v2.1[2-3]'

echo -e "\n=== Latest v2.x tag ==="
git tag -l 'v2.*' | sort -V | tail -1

echo -e "\n=== Detailed version info ==="
git describe --tags d9b7fc5770a88af06e2e9c2bd97b550614c3a69f 2>&1

Repository: NVIDIA-NeMo/Megatron-Bridge

Length of output: 391


Fix the TransformerEngine commit hash—it does not fall within the specified version constraint.

Line 84 constrains transformer-engine to >=2.10.0a0,<2.13.0, but the commit hash on line 114 (d9b7fc5770a88af06e2e9c2bd97b550614c3a69f) is from early repository history (v0.1 era, per git describe), not from the v2.10+ range. This commit is not an ancestor of any v2.x tag and will cause dependency resolution failures. Verify the correct commit hash for the intended version and update line 114.

🤖 Prompt for AI Agents
In `@pyproject.toml` at line 114, The transformer-engine git reference uses an
incorrect ancient commit hash (d9b7fc5770a88af06e2e9c2bd97b550614c3a69f) that is
not within the declared version constraint (transformer-engine
>=2.10.0a0,<2.13.0); update the git+ URL to point at a commit hash (or a release
tag) that corresponds to a v2.10.x–v2.12.x release, e.g. locate a commit that is
an ancestor of a v2.10+/v2.12 tag in the TransformerEngine repo and replace the
existing hash in the "transformer-engine @
git+https://github.com/NVIDIA/TransformerEngine.git@..." entry (or switch to the
appropriate annotated tag) so the VCS ref matches the declared version range.

"mlflow>=3.5.0",
"cryptography>=43.0.0,<47"
"cryptography>=43.0.0,<47",
"nvidia-modelopt~=0.41.0",
"nvidia-resiliency-ext @ git+https://github.com/NVIDIA/nvidia-resiliency-ext.git@v0.4.1" # Requires a source install to compile cupti for cuda13
]

[tool.uv.sources]
megatron-core = { path = "3rdparty/Megatron-LM/", editable = true }
nvidia-modelopt = { git = "https://github.com/NVIDIA/TensorRT-Model-Optimizer.git", rev = "0a4f0a8b933121f7af080261a0a5a7717f2c5d49" }
nvidia-resiliency-ext = { git = "https://github.com/NVIDIA/nvidia-resiliency-ext.git", rev = "v0.4.1" } # Requires a source install to compile cupti for cuda13

[project.optional-dependencies]
recipes = [
Expand Down
12 changes: 7 additions & 5 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading