We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6cf290 commit 32c0ae0Copy full SHA for 32c0ae0
pkg/controller/dual-pods/controller.go
@@ -29,6 +29,7 @@ import (
29
"sync/atomic"
30
"time"
31
32
+ "github.com/llm-d-incubation/llm-d-fast-model-actuation/pkg/controller/utils"
33
corev1 "k8s.io/api/core/v1"
34
apierrors "k8s.io/apimachinery/pkg/api/errors"
35
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -102,7 +103,7 @@ func GPUIndexFunc(obj any) ([]string, error) {
102
103
if len(pod.Annotations[nominalHashAnnotationKey]) == 0 || pod.Spec.NodeName == "" {
104
return []string{}, nil
105
}
- isIdx, _, err := getInferenceServerPort(pod)
106
+ isIdx, _, err := utils.GetInferenceServerPort(pod)
107
if err != nil {
108
109
0 commit comments