Skip to content

Commit

Permalink
Fix a typo in scoring logging (Azure#1956)
Browse files Browse the repository at this point in the history
* Fix a typo in scoring logging

* bump version
  • Loading branch information
yetamsft authored Dec 14, 2023
1 parent a02a80f commit 36518ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $schema: http://azureml/sdk-2-0/ParallelComponent.json
type: parallel

name: batch_score_llm
version: 1.0.2
version: 1.0.3
display_name: Batch Score Large Language Models
is_deterministic: False

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ def __init__(self, internal_id, x_ms_client_request_id, duration) -> None:

def log(self):
"""Log function."""
msg = "Score succeeded after {%.3f}s: internal_id={} x-ms-client-request-id=[{}]"
msg = "Score succeeded after {:.3f}s: internal_id={} x-ms-client-request-id=[{}]"
get_logger().info(msg.format(self.duration, self.internal_id, self.x_ms_client_request_id))

0 comments on commit 36518ab

Please sign in to comment.