-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use 'ai_service' parameter to differentiate Prometheus metrics #2
Conversation
tests/test_llama.py
Outdated
@@ -153,7 +153,9 @@ def mock_kv_cache_seq_add( | |||
|
|||
def test_llama_patch(mock_llama): | |||
n_ctx = 128 | |||
ai_service = "testing" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended for the final PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Cam. Changing this to a more meaningful value.
tests/test_llama.py
Outdated
@@ -230,15 +232,16 @@ def test_utf8(mock_llama): | |||
llama = llama_cpp.Llama(model_path=MODEL, vocab_only=True, logits_all=True) | |||
|
|||
output_text = "😀" | |||
ai_service = "testing" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended for the final PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes ZenHubHQ/devops#2239.
Also closes ZenHubHQ/devops#2233, as all unit tests are passing locally now, so existing GH Actions should be able to run as expected.