-
Notifications
You must be signed in to change notification settings - Fork 545
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
base: main
Are you sure you want to change the base?
Docs fix #2301
Changes from 10 commits
8124d3d
a23a365
2413bcb
8dec718
3ff3ca0
8118005
1a9b993
dd792f8
0116d34
20ba719
f800a1f
19da61b
15c6741
556ab28
35e75de
0a5eafd
b9506aa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -37,16 +37,22 @@ 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 | ||||||||||
|
|
||||||||||
|
Comment on lines
39
to
40
Member
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. We do want to have them still in the documentation though, just marked as deprecated.
Member
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. Ok, I see that you just moved it. |
||||||||||
| .. 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 | ||||||||||
|
|
||||||||||
|
|
||||||||||
| Recipe availability | ||||||||||
| ------------------- | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.is_fp8_available | ||||||||||
|
|
||||||||||
| .. autoapifunction:: transformer_engine.pytorch.is_mxfp8_available | ||||||||||
|
|
@@ -63,9 +69,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 | ||||||||||
|
|
||||||||||
|
|
@@ -79,9 +84,22 @@ pyTorch | |||||||||
|
|
||||||||||
| .. 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
Contributor
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
Contributor
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 comment
The reason will be displayed to describe this comment to others. Learn more.
Was this needed to fix the rendering? The earlier version seems fine and of the correct length
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.
Yeah, that's incorrect. Fixed.