Skip to content

[UB] Adding configurable timeout for userbuffer and improving error reporting for potential hangs - #757

Merged
ksivaman merged 10 commits into
NVIDIA:mainfrom
shamisp:topic/ubhang_ce_v2
Apr 17, 2024
Merged

[UB] Adding configurable timeout for userbuffer and improving error reporting for potential hangs#757
ksivaman merged 10 commits into
NVIDIA:mainfrom
shamisp:topic/ubhang_ce_v2

Conversation

@shamisp

Copy link
Copy Markdown
Contributor

This PR is replacement for #741 based on recent changes in the code.

This PR addresses the following issues:

  • Adding configurable user buffer timeout instead of hardcoded
  • Adding CE hang detector
  • Improving error reporting for easier triage
  • Removing unused code and clearing up warnings

* Adding verbose error reporting in case of UB hang
* Adding CE hang detector
* Replacing hard-coded timeout with configurable one
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
@shamisp
shamispforce-pushed the topic/ubhang_ce_v2 branch from 0c4ded0 to 3628da5CompareApril 6, 2024 17:53
@ksivaman

Copy link
Copy Markdown
Member

/te-ci pytorch

Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
@ksivaman

Copy link
Copy Markdown
Member

/te-ci pytorch

Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
@shamispshamisp mentioned this pull request Apr 11, 2024
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
@shamisp
shamispforce-pushed the topic/ubhang_ce_v2 branch from 216e749 to ed76849CompareApril 12, 2024 13:32
@shamispshamisp changed the title Adding configurable timeout for userbuffer and improving error reporting for potential hangs[UB] Adding configurable timeout for userbuffer and improving error reporting for potential hangsApr 13, 2024
shamispand others added 2 commits April 15, 2024 11:02
* Remove cmake check
* Remove unused includes
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
@ksivaman

Copy link
Copy Markdown
Member

/te-ci pytorch

@nv-akorzhnv-akorzh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

looks good to me, go ahead

@ksivaman
ksivaman merged commit 08e5e4b into NVIDIA:mainApr 17, 2024
@ksivaman

Copy link
Copy Markdown
Member

@denera FYI

vasunvidia pushed a commit to vasunvidia/TransformerEngine that referenced this pull request May 1, 2024
…eporting for potential hangs (NVIDIA#757)
* Improving error reporting and hang detection logic
* Adding verbose error reporting in case of UB hang
* Adding CE hang detector
* Replacing hard-coded timeout with configurable one
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Cleaning up warnings in the code
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Removing unused codes
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Fixing styling issues reported on github
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Addressing lint new line and casting warnings
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Addressing lint warning about the usage of `unsigned long long`
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Removing unused case causing build issues on multi-arch setup
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Post GRDCOPY removal cleanup
* Remove cmake check
* Remove unused includes
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
---------
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
Co-authored-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
pggPL pushed a commit to pggPL/TransformerEngine that referenced this pull request May 23, 2024
…eporting for potential hangs (NVIDIA#757)
* Improving error reporting and hang detection logic
* Adding verbose error reporting in case of UB hang
* Adding CE hang detector
* Replacing hard-coded timeout with configurable one
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Cleaning up warnings in the code
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Removing unused codes
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Fixing styling issues reported on github
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Addressing lint new line and casting warnings
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Addressing lint warning about the usage of `unsigned long long`
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Removing unused case causing build issues on multi-arch setup
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
* Post GRDCOPY removal cleanup
* Remove cmake check
* Remove unused includes
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
---------
Signed-off-by: Pasha (Pavel) Shamis <pasharesearch@gmail.com>
Co-authored-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
Signed-off-by: Pawel Gadzinski <pgadzinski@nvidia.com>
vasunvidia added a commit to vasunvidia/TransformerEngine that referenced this pull request Jun 13, 2024
… error reporting for potential hangs (NVIDIA#757)"
This reverts commit 08e5e4b.
@timmoon10timmoon10 mentioned this pull request Jun 24, 2024
13 tasks
Sign up for freeto 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.

3 participants

@shamisp@ksivaman@nv-akorzh