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>
  • Loading branch information
jngz-es authored Apr 19, 2023
1 parent 90e5ea0 commit 982fa74
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 982fa74

Please sign in to comment.