mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-19 19:00:47 +00:00
GraphPartitioner.cpp: fixed Merge function to handle duplicated partitions. (#9929)
Co-authored-by: Achira <achiras@microsoft.com>
This commit is contained in:
parent
5cd57bb726
commit
32ee379f50
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ namespace Dml
|
|||
|
||||
for (GraphPartition* partitionToMerge : partitionsToMerge)
|
||||
{
|
||||
if (partitionToMerge == this)
|
||||
if (partitionToMerge->GetRootMergedPartition() == this)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue