Skip to content

Commit

Permalink
Change mem_size_estimation to memory_size_estimation. (#868)
Browse files Browse the repository at this point in the history
Signed-off-by: Jing Zhang <jngz@amazon.com>
(cherry picked from commit 982fa74)
  • Loading branch information
jngz-es authored and github-actions[bot] committed Apr 19, 2023
1 parent 119ddba commit 97128d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
builder.field("predict_request_stats", predictRequestStats);
}
if (memSizeEstimationCPU != null) {
builder.field("mem_size_estimation_cpu", memSizeEstimationCPU);
builder.field("memory_size_estimation_cpu", memSizeEstimationCPU);
}
if (memSizeEstimationGPU != null) {
builder.field("mem_size_estimation_gpu", memSizeEstimationGPU);
builder.field("memory_size_estimation_gpu", memSizeEstimationGPU);
}
builder.endObject();
return builder;
Expand Down

0 comments on commit 97128d4

Please sign in to comment.