Skip to content
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

Merged
merged 10 commits into from
May 15, 2024

Conversation

juanroesel
Copy link
Collaborator

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.

@@ -153,7 +153,9 @@ def mock_kv_cache_seq_add(

def test_llama_patch(mock_llama):
n_ctx = 128
ai_service = "testing"
Copy link

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?

Copy link
Collaborator Author

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.

@@ -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"
Copy link

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?

@juanroesel juanroesel requested a review from cwarje May 14, 2024 17:20
Copy link

@cwarje cwarje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@juanroesel juanroesel merged commit c538a13 into main May 15, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants