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

chore: Bump up model-server to v0.7.11-2 #421

Merged
merged 2 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/components/estimator/estimator.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

const (
// NOTE: update tests/images.yaml when changing this image
StableImage = "quay.io/sustainable_computing_io/kepler_model_server:v0.7.11"
StableImage = "quay.io/sustainable_computing_io/kepler_model_server:v0.7.11-2"
vprashar2929 marked this conversation as resolved.
Show resolved Hide resolved
waitForSocketCommand = "until [ -e /tmp/estimator.sock ]; do sleep 1; done && %s"
)

Expand Down Expand Up @@ -76,8 +76,8 @@ func Container(image string) corev1.Container {
ImagePullPolicy: corev1.PullIfNotPresent,
Name: "estimator",
VolumeMounts: mounts,
Command: []string{"python3.10"},
Args: []string{"-u", "src/estimate/estimator.py"},
Command: []string{"estimator"},
Args: []string{"-l", "info"},
vprashar2929 marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand Down
6 changes: 3 additions & 3 deletions pkg/components/modelserver/modelserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const (

const (
defaultModelServer = "http://%s.%s.svc.cluster.local:%d"
StableImage = "quay.io/sustainable_computing_io/kepler_model_server:v0.7.11"
StableImage = "quay.io/sustainable_computing_io/kepler_model_server:v0.7.11-2"
)

var (
Expand Down Expand Up @@ -86,8 +86,8 @@ func NewDeployment(deployName string, ms *v1alpha1.InternalModelServerSpec, name
Name: "http",
}},
VolumeMounts: mounts,
Command: []string{"python3.10"},
Args: []string{"-u", "src/server/model_server.py"},
Command: []string{"model-server"},
Args: []string{"-l", "info"},
}}

return &appsv1.Deployment{
Expand Down
2 changes: 1 addition & 1 deletion tests/images.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
images:
- component: 'model-server'
image: 'quay.io/sustainable_computing_io/kepler_model_server:v0.7.11'
image: 'quay.io/sustainable_computing_io/kepler_model_server:v0.7.11-2'
Loading