Skip to content
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

Support model with multiple SCE loss nodes #20016

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

baijumeswani
Copy link
Contributor

@baijumeswani baijumeswani commented Mar 21, 2024

Fixes this issue: #19464 (comment)

The problem is that the model uses multiple SCELoss nodes that have the same input. The input output rewriter for the loss will try to add a new output for both the nodes with the same name causing duplicate node args with the same name. This PR addresses this issue.

@baijumeswani baijumeswani added the training issues related to ONNX Runtime training; typically submitted using template label Mar 21, 2024
@baijumeswani baijumeswani requested a review from pengwa March 21, 2024 22:46
@baijumeswani baijumeswani merged commit 2bc2924 into main Mar 22, 2024
93 of 95 checks passed
@baijumeswani baijumeswani deleted the baijumeswani/sceloss-duplicate-name branch March 22, 2024 17:28
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training issues related to ONNX Runtime training; typically submitted using template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants