Skip to content

Zr te doc edits #1745

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
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Zr te doc edits #1745

wants to merge 7 commits into from

Conversation

zredeaux07
Copy link

@zredeaux07 zredeaux07 commented May 2, 2025

Description

Style alignment and minor typo edits to Transformer Engine documentation.

Fixes # (issue)

Type of change

  • [ X] Documentation change (change only to the documentation, either a fix or a new content)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Infra/Build change
  • Code refactoring

Changes

Please list the changes introduced in this PR:

  • Change A
  • Change B

Checklist:

  • I have read and followed the contributing guidelines
  • The functionality is complete
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

zredeaux07 added 7 commits May 2, 2025 10:47
The documentation is very clean. I just found a few minor style alignment issues.

Signed-off-by: Zenobia "Z" Redeaux <[email protected]>
The text reads well. Just a note that our technical documentation  style avoids ableist language (such as "see"), Latin terminology, and the use of "please." Also, if we tell the reader something "should" occur, we need to tell them what to do if it doesn't.

Signed-off-by: Zenobia "Z" Redeaux <[email protected]>
Missed two verbs that should be in the past tense in the summary.

Signed-off-by: Zenobia "Z" Redeaux <[email protected]>
Try to ensure section Head 1s have some sort of lead-in text.

Signed-off-by: Zenobia "Z" Redeaux <[email protected]>
Signed-off-by: Zenobia "Z" Redeaux <[email protected]>
@nvMelissa nvMelissa requested a review from ptrendx May 5, 2025 18:02
"\n",
"<figure align=\"center\">\n",
"<img src=\"delayed_scaling.png\" width=\"80%\">\n",
"<figcaption> Figure 3: Delayed scaling strategy. The FP8 operator uses scaling factor obtained using the history of amaxes (maximums of absolute values) seen in some number of previous iterations and produces both the FP8 output and the current amax, which gets stored in the history.</figcaption>\n",
"</figure>\n",
"\n",
"As one can see in Figure 3, delayed scaling strategy requires both storing the history of amaxes, but also choosing a recipe for converting that history into the scaling factor used in the next iteration."
"In Figure 3, the delayed scaling strategy requires both storing the history of amaxes but also choosing a recipe for converting that history into the scaling factor used in the next iteration."
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure if the meaning here is exactly the same.
What we wanted to say here is that Figure 3 shows that the delayed scaling strategy requires those things in general. The changed sentence (at least the way I read it) suggests that those things are required only in the context of that figure.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe it should say "As shown in Figure 3"?


Installation (development build)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. warning::

While the development build of Transformer Engine could contain new features not available in
the official build yet, it is not supported and so its usage is not recommended for general
the official build, those features are not supported, so their usage is not recommended for general
Copy link
Member

Choose a reason for hiding this comment

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

We meant to say here that the development build of Transformer Engine is not supported, not that those features are not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants