Skip to content

Commit

Permalink
Change mem_size_estimation to memory_size_estimation. (#868) (#1234)
Browse files Browse the repository at this point in the history
Signed-off-by: Jing Zhang <jngz@amazon.com>
Co-authored-by: Jing Zhang <jngz@amazon.com>
  • Loading branch information
zane-neo and jngz-es authored Aug 24, 2023
1 parent 74ea6eb commit 7b41bbd
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 7b41bbd

Please sign in to comment.