-
Notifications
You must be signed in to change notification settings - Fork 3.3k
build: Upgrade deps #2289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ko3n1g
wants to merge
13
commits into
NVIDIA:main
Choose a base branch
from
ko3n1g:ko3n1g/build/upgrade-deps
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
build: Upgrade deps #2289
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0bdb0c8
build: Upgrade deps
ko3n1g caf608d
add dev cache
ko3n1g 039884e
bump fastapi
ko3n1g 9fb4411
add cu13
ko3n1g 3202176
fix download of assets
ko3n1g 364737a
requests
ko3n1g bb3692e
fix
ko3n1g 629eb45
format
ko3n1g 22206d3
fix np product
ko3n1g 5384229
fix
ko3n1g 8ba395b
fix download
ko3n1g c68e233
format
ko3n1g 8937b0c
copyright
ko3n1g File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ dynamic = ["version", "readme"] | |
| description = "Megatron Core - a library for efficient and scalable training of transformer based models" | ||
| requires-python = ">=3.10" | ||
| license = { text = "Apache 2.0" } | ||
| dependencies = ["torch", "numpy<2.0.0", "packaging>=24.2"] | ||
| dependencies = ["torch", "numpy", "packaging>=24.2"] | ||
| authors = [{ name = "NVIDIA", email = "[email protected]" }] | ||
| maintainers = [{ name = "NVIDIA", email = "[email protected]" }] | ||
| keywords = [ | ||
|
|
@@ -68,23 +68,23 @@ mlm = ["flask-restful", "sentencepiece", "tiktoken", "wandb", "transformers"] | |
|
|
||
| dev = [ | ||
| "nvidia-modelopt[torch]; sys_platform != 'darwin'", | ||
| "transformer-engine[pytorch]>=2.9.0a0,<2.10.0", | ||
| "transformer-engine[pytorch,core_cu13]>=2.9.0a0,<2.10.0", | ||
| "nvidia-resiliency-ext", | ||
| "tqdm", | ||
| "einops~=0.8", | ||
| "tensorstore~=0.1,!=0.1.46,!=0.1.72", | ||
| "nvtx~=0.2", | ||
| "multi-storage-client~=0.27", | ||
| "opentelemetry-api~=1.33.1", | ||
| "setuptools<80.0.0", | ||
| "mamba-ssm~=2.2", | ||
| "causal-conv1d~=1.5", | ||
| "nv-grouped-gemm~=1.1", | ||
| "megatron-energon[av_decode]~=6.0", | ||
| "av<16.0.0", # At the time, av 16.0.0 is not compatible with Python 3.12 | ||
| "av", | ||
| "flashinfer-python", | ||
| "wget", | ||
| "onnxscript", | ||
| "fastapi~=0.50", # Forcing a little bit more recent version of fastapi to be compatible with pydantic 2.0 | ||
| ] | ||
|
|
||
| lts = [ | ||
|
|
@@ -94,15 +94,15 @@ lts = [ | |
| "nvtx~=0.2", | ||
| "multi-storage-client~=0.27", | ||
| "opentelemetry-api~=1.33.1", | ||
| "setuptools<80.0.0", | ||
| "mamba-ssm~=2.2", | ||
| "causal-conv1d~=1.5", | ||
| "nv-grouped-gemm~=1.1", | ||
| "megatron-energon[av_decode]~=6.0", | ||
| "av<16.0.0", # At the time, av 16.0.0 is not compatible with Python 3.12 | ||
| "av", | ||
| "flashinfer-python", | ||
| "wget", | ||
| "onnxscript", | ||
| "fastapi~=0.50", # Forcing a little bit more recent version of fastapi to be compatible with pydantic 2.0 | ||
| ] | ||
|
|
||
| [dependency-groups] | ||
|
|
@@ -146,7 +146,7 @@ linting = [ | |
| "pylint==3.2.6", | ||
| ] | ||
| ci = ["python-gitlab", "slack-sdk", "pandas"] | ||
| flash_mla = ["flash_mla"] | ||
| no_pypi_wheels = ["flash_mla", "emerging_optimizers"] | ||
|
|
||
| [tool.uv] | ||
| default-groups = ["linting", "build", "test"] | ||
|
|
@@ -173,7 +173,7 @@ override-dependencies = [ | |
| flash_mla = [ | ||
| { git = "https://github.com/deepseek-ai/FlashMLA", rev = "9edee0c022cd0938148a18e334203b0aab43aa19" }, | ||
| ] | ||
| transformer-engine = { git = "https://github.com/NVIDIA/TransformerEngine.git", rev = "release_v2.9" } # on `release_v2.9` | ||
| # transformer-engine = { git = "https://github.com/NVIDIA/TransformerEngine.git", rev = "release_v2.9" } # on `release_v2.9` | ||
| nemo-run = { git = "https://github.com/NVIDIA-NeMo/Run.git", rev = "01a9a8ba360f7b2908728ad0516e0ad9d936966d" } | ||
| emerging_optimizers = { git = "https://github.com/NVIDIA-NeMo/Emerging-Optimizers.git", rev = "fb1add873e7851ec34b48581ea1b15761b73d189" } | ||
|
|
||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this commented out, where would TE come from now ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After commenting this out, TE comes from PyPI. This will speed up our build since we don't need to build the transformer-engine-cu13 wheel ourselves anymore