Skip to content

Commit

Permalink
Revert "Put result in DKV and name it properly (#15819)" (#15820)
Browse files Browse the repository at this point in the history
This reverts commit a0cb523.
  • Loading branch information
mn-mikke authored Oct 13, 2023
1 parent a0cb523 commit 5bce33a
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,8 @@ public Frame scoreContributions(Frame frame, Key<Frame> destination_key, Job<Fra
!ContributionsWithBackgroundFrameTask.enoughMinMemory(numOfUsefulBaseModels() *
ContributionsWithBackgroundFrameTask.estimatePerNodeMinimalMemory(frame.numCols(), frame, backgroundFrame))) // or we have no other choice due to memory
return SplitToChunksApplyCombine.splitApplyCombine(frame, fun, destination_key);
else {
Frame result = fun.apply(frame);
result._key = destination_key;
DKV.put(result);
return result;
}
else
return fun.apply(frame);
} finally {
Log.info("Finished contributions calculation for " + this._key + "...");
}
Expand Down

0 comments on commit 5bce33a

Please sign in to comment.