Skip to content

Commit

Permalink
[wlm] Fixes WorkerThread name (deepjavalibrary#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored and KexinFeng committed Aug 16, 2023
1 parent 6d9b759 commit 64202c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wlm/src/main/java/ai/djl/serving/wlm/WorkerThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private WorkerThread(Builder<I, O> builder) {
ZooModel<I, O> model = builder.model.getModel(device);

predictor = model.newPredictor();
modelName = model.getName();
modelName = builder.model.getId();
logModelMetric = Boolean.parseBoolean(model.getProperty("log_model_metric"));
metricsAggregation = Integer.parseInt(model.getProperty("metrics_aggregation", "1000"));
}
Expand Down

0 comments on commit 64202c8

Please sign in to comment.