-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Add pyproject.toml
with legacy build backend to keep most logic in setup.py
#7033
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
loadams
wants to merge
76
commits into
master
Choose a base branch
from
loadams/pyproject-toml
base: master
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
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
230f479
[ROCm] Enable fp_quantizer on ROCm (#7027)
rraminen 130c11c
Add pyproject.toml
loadams b2e16cb
Formatting fix
loadams 72bfb70
add gds chinese blog (#7034)
GuanhuaWang 48c02ad
Add chinese blog for deepspeed windows, and fix format (#7035)
hwchen2017 4996cae
AIO on ROCM (#7023)
jomayeri 52709fa
Update setuptools min requirement
loadams 9eb0618
Switch build to legacy
loadams 36ce373
Add no-build isolation
loadams a0ff11a
Control trace cache warnings (#7039)
tjruwase c574b45
Update CUDA compute capability to support Blackwell (#7047)
hwchen2017 5326873
Update setup.py handling of ROCm cupy (#7051)
loadams c22be1a
nv-ds-chat breaks with latest transformers (#7052)
loadams 2873a11
Test with non legacy backend
loadams 4e88463
Need legacy backend to execute setup.py, though it executes it differ…
loadams 6d837ca
Update to actually use legacy backend
loadams 5b2f713
Rename aio_thread_count to intra_op_parallelism (#7056)
tjruwase c0f4235
add autoTP training zero2 tests (#7049)
inkcherry 01dd318
Fix, bf16 optimizer remove dup loop (#7054)
wukong1992 41718ad
Update version.txt after 0.16.4 release (#7063)
loadams c83ade6
fix an outdated doc wrt CUDA_VISIBLE_DEVICES (#7058)
stas00 cc79d17
Tecorigin sdaa accelerator (#6903)
siqi654321 aa63ba4
Handle special case of libuv for Windows (#7064)
loadams aaf86d6
Update README with info on newest accelerator (#7065)
loadams 630864d
Bug Fix for offload_states API (#7050)
U-rara 5a2ecea
Add all imports from setup.py to pyproject.toml
loadams ac52bae
Fix TOCTOU issues, switch to fstat (#7067)
loadams fd5273f
config torch to avoid graph breaks caused by logger (#6999)
ShellyNR c91d225
Fix meta load tensor imcompatible issue (#7073)
Yejing-Lai 80ff420
Replace calls to `python setup.py sdist` with `python -m build --sdis…
loadams 355e9c5
Update workflow to not do build isolation
loadams 00addaa
Add more requirements
loadams 432e71d
Revert "Handle special case of libuv for Windows (#7064)" (#7076)
loadams 5ab8589
Add DeepseekV3 AutoTP. (#7045)
Yejing-Lai f325c92
Add pyproject.toml into comments
loadams 9c4c444
Improve inference tutorial docs (#7083)
loadams 5ebe9bd
Pin transformers version on tests that use latest. (#7085)
loadams 9da1b33
Update README.md with ICS '23 MoE paper link (#7087)
siddharth9820 f963248
Update parallelism for nv-torch-latest/nightly tests due to more GPUs…
loadams 8254e1b
Remove workflows for very old torch versions (#7090)
loadams a7ab4ab
Use new dlpack api; Formatting fixes (#7101)
tjruwase 6eb5baa
Avoid graph breaks by disabling sourceless calls in instrument_w_nvtx…
deepcharm feeaa2e
Avoid graph breaks in torch.compile caused by inner classes in the ba…
deepcharm 7b7e112
Only run pre-commit on the changes (#7106)
hwchen2017 674f9bd
Avoid graph break due to unsupported frozenset (#7105)
deepcharm 240c2a7
Fix fused_qkv print model ValueError (#7109)
Yejing-Lai 1c35241
Update references to new X/Twitter handle (#7110)
loadams ec2e93e
Update gaudi2 nightly,ci to latest 1.20.0 build (#7093)
raza-sikander c793401
fix keep_module_on_host (#7112)
inkcherry 62abd88
Add sequential pytest mark to TestNVMeCheckpointing to resolve pytest…
loadams 065084b
Training multiple models (#7018)
tjruwase e93f0d1
Update CONTRIBUTING.md to reflect changes from CLA to DCO (#7135)
loadams eaeae79
Avoid missing attr error (#7133)
tjruwase 8df6245
Add conditional expression (#7119)
A-transformer 6de20f6
Unpin transformers version for most workflows (#7139)
loadams e0188ac
Conditionally quote env vars (#7071)
saurabhkoshatwar ea61c6c
Correct the BACKWARD_PREFETCH_SUBMIT mismatch (#7120)
A-transformer 9d75311
Enhance Gaudi2 CI/Nightly Coverage with Model Parallelism and Linear …
raza-sikander 4ca7ba5
Update container version that runs on A6000 tests. (#7153)
loadams 2db922f
fix leak of z3 buffer
78ec025
hf tp+zero training doc. (#7151)
inkcherry 4a851f3
Avoid graph break by removing redundant requires_grad attr change (#7…
deepcharm 6adcf2e
Add destroy to tests to free memory (#7160)
tohtana 7b7ac9e
[NFC] Typo fix in SP layer. (#7152)
c8ef 31ec2b7
Link AutoTP blog in the front page (#7167)
hwchen2017 e40df22
Merge branch 'master' into loadams/pyproject-toml
loadams 4c32a9d
Remove unneeded requires in build system declaration
loadams c4b24fd
Add build to the pyproject
loadams b330b4e
Add no torch build triggers
loadams 3601c29
Remove no build isolation from nv-torch-latest
loadams e0d9ba4
Merge branch 'master' into loadams/pyproject-toml
loadams 42e42a0
Merge branch 'master' into loadams/pyproject-toml
loadams 3c94f51
Merge branch 'master' into loadams/pyproject-toml
loadams 221f2be
Merge branch 'master' into loadams/pyproject-toml
loadams dfcc24d
Merge branch 'master' into loadams/pyproject-toml
loadams b4ed94a
Merge branch 'master' into loadams/pyproject-toml
loadams 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[build-system] | ||
requires = [ | ||
"build", | ||
"setuptools>=64", | ||
"torch", | ||
"wheel" | ||
] | ||
# Use legacy backend to import local packages in setup.py | ||
build-backend = "setuptools.build_meta:__legacy__" |
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.
If you depend on setuptools 70.1 or later, you won't need
wheel
.