-
Notifications
You must be signed in to change notification settings - Fork 174
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
Update routers to use GetPodModelMetric api and misc cleanup in metri… #590
Conversation
MODEL_NAME = os.getenv('MODEL_NAME', 'llama2-70b') | ||
DEPLOYMENT_NAME = os.getenv('DEPLOYMENT_NAME', 'llama2-70b') | ||
MODEL_NAME = os.getenv('MODEL_NAME', 'llama2-7b') | ||
DEPLOYMENT_NAME = os.getenv('DEPLOYMENT_NAME', 'llama2-7b') |
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.
nice catch. name has been changed. We probably can inject from env using reference later.
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.
+1
development/app/app.py
Outdated
for metric in simple_metrics: | ||
metrics_output += generate_counter_gauge_metric(metric["name"], metric["type"], metric["description"], | ||
model_name, metric["value"]) | ||
metrics_output += generate_counter_gauge_metric(metric["name"], metric["type"], metric["description"], | ||
"lora-1", metric["value"], help_header=False) | ||
"text2sql-lora-1", metric["value"], help_header=False) |
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.
em. does user register a different name here?
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.
this is not a blocker for the merge.
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.
not sure from where lora-1 name came from. I added text2sql lora name based off model adapter.
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
No description provided.