FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

double reduction user-friendly error by stas00 · Pull Request #7895 · deepspeedai/DeepSpeed · GitHub

double reduction user-friendly error - #7895

Merged
sfc-gh-truwase merged 1 commit into
masterfrom
stas00-patch-1
Mar 10, 2026
Merged

double reduction user-friendly error#7895
sfc-gh-truwase merged 1 commit into
masterfrom
stas00-patch-1

Conversation

stas00 commented Mar 10, 2026
edited
Loading

Copy link
Copy Markdown
Collaborator

Currently a numerical order of the param tells nothing to the user of what param is the problem. This PR fixes that.

before:

AssertionError: The parameter 0 has already been reduced. ...

after:

AssertionError: The parameter model.embed_tokens.weight has already been reduced.

before:

```
AssertionError: The parameter 0 has already been reduced. ...
```

after:

```
AssertionError: The parameter model.embed_tokens.weight has already been reduced.
```
stas00 requested review from tjruwase and tohtana as code owners March 10, 2026 17:58
sfc-gh-truwase merged commit b6346bf into master Mar 10, 2026
9 of 11 checks passed
sfc-gh-truwase deleted the stas00-patch-1 branch March 10, 2026 19:38
nathon-lee pushed a commit to nathon-lee/DeepSpeed_woo that referenced this pull request Mar 28, 2026
Currently a numerical order of the param tells nothing to the user of
what param is the problem. This PR fixes that.

before:

```
AssertionError: The parameter 0 has already been reduced. ...
```

after:

```
AssertionError: The parameter model.embed_tokens.weight has already been reduced.
```

Signed-off-by: nathon-lee <leejianwoo@gmail.com>
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
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


Back | FazBrowse Home | New Git URL