-
Notifications
You must be signed in to change notification settings - Fork 540
Docs fix #2301
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
pggPL
wants to merge
17
commits into
NVIDIA:main
Choose a base branch
from
pggPL:docs_refactor
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
Docs fix #2301
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8124d3d
init
pggPL a23a365
Merge remote-tracking branch 'upstream/main' into docs_refactor
pggPL 2413bcb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8dec718
fix
pggPL 3ff3ca0
lines lenght
pggPL 8118005
fix
pggPL 1a9b993
fix
pggPL dd792f8
Merge remote-tracking branch 'upstream/main' into docs_refactor
pggPL 0116d34
fix
pggPL 20ba719
subtitle --- fix in many files:
pggPL f800a1f
Merge branch 'main' into docs_refactor
pggPL 19da61b
cross entropy _input -> input rename
pggPL 15c6741
cross entropy _input -> input rename
pggPL 556ab28
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 35e75de
fix
pggPL 0a5eafd
a lot of small fixes
pggPL b9506aa
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 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
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |||||||||
|
|
||||||||||
| See LICENSE for license information. | ||||||||||
|
|
||||||||||
| pyTorch | ||||||||||
| PyTorch | ||||||||||
| ======= | ||||||||||
|
|
||||||||||
| .. autoapiclass:: transformer_engine.pytorch.Linear(in_features, out_features, bias=True, **kwargs) | ||||||||||
|
|
@@ -37,16 +37,23 @@ pyTorch | |||||||||
| .. autoapiclass:: transformer_engine.pytorch.CudaRNGStatesTracker() | ||||||||||
| :members: reset, get_states, set_states, add, fork | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.fp8_autocast | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.fp8_model_init | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.autocast | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.quantized_model_init | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.checkpoint | ||||||||||
|
|
||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.make_graphed_callables | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.get_cpu_offload_context | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.parallel_cross_entropy | ||||||||||
|
|
||||||||||
| Recipe availability | ||||||||||
| ------------------- | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.is_fp8_available | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.is_mxfp8_available | ||||||||||
|
|
@@ -63,9 +70,8 @@ pyTorch | |||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.get_default_recipe | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.make_graphed_callables | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.get_cpu_offload_context | ||||||||||
| Mixture of Experts (MoE) functions | ||||||||||
| ---------------------------------- | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.moe_permute | ||||||||||
|
|
||||||||||
|
|
@@ -75,13 +81,24 @@ pyTorch | |||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.moe_sort_chunks_by_index | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.parallel_cross_entropy | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.moe_sort_chunks_by_index_with_probs | ||||||||||
|
|
||||||||||
|
|
||||||||||
| Communication-computation overlap | ||||||||||
| --------------------------------- | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.initialize_ub | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.destroy_ub | ||||||||||
|
|
||||||||||
| .. autoapiclass:: transformer_engine.pytorch.UserBufferQuantizationMode | ||||||||||
| :members: FP8, NONE | ||||||||||
|
|
||||||||||
|
|
||||||||||
| Deprecated functions | ||||||||||
| -------------------- | ||||||||||
|
|
||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.fp8_autocast | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.fp8_model_init | ||||||||||
pggPL marked this conversation as resolved.
Show resolved
Hide resolved
pggPL marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. syntax: missing final newline
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. syntax: missing final newline
Suggested change
|
||||||||||
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
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
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.
We do want to have them still in the documentation though, just marked as deprecated.
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.
Ok, I see that you just moved it.