Skip to content

Commit 572ef18

Browse files
reorder imports
Signed-off-by: Kevin <[email protected]>
1 parent e156843 commit 572ef18

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

tests/common/resources/custom-nb-small.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
- name: PIP_TRUSTED_HOST
5656
value: {{.PipTrustedHost}}
5757
image: {{.NotebookImage}}
58-
command: ["/bin/sh", "-c", "pip install papermill && papermill /opt/app-root/notebooks/{{.NotebookConfigMapFileName}} /opt/app-root/src/mcad-out.ipynb -p namespace {{.Namespace}} -p openshift_api_url {{.OpenShiftApiUrl}} -p kubernetes_user_bearer_token {{.KubernetesUserBearerToken}} -p num_gpus {{ .NumGpus }} --log-output && sleep infinity"]
58+
command: {{.Command}}
5959
# args: ["pip install papermill && oc login --token=${OCP_TOKEN} --server=${OCP_SERVER} --insecure-skip-tls-verify=true && papermill /opt/app-root/notebooks/mcad.ipynb /opt/app-root/src/mcad-out.ipynb" ]
6060
imagePullPolicy: Always
6161
# livenessProbe:

tests/kfto/kfto_mnist_sdk_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ import (
2121
"testing"
2222

2323
. "github.com/onsi/gomega"
24-
. "github.com/opendatahub-io/distributed-workloads/tests/common"
2524
. "github.com/project-codeflare/codeflare-common/support"
2625

2726
v1 "k8s.io/api/core/v1"
27+
28+
. "github.com/opendatahub-io/distributed-workloads/tests/common"
2829
)
2930

3031
func TestMnistSDK(t *testing.T) {

tests/odh/mnist_ray_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ import (
2323
"time"
2424

2525
. "github.com/onsi/gomega"
26-
. "github.com/opendatahub-io/distributed-workloads/tests/common"
2726
. "github.com/project-codeflare/codeflare-common/support"
2827
rayv1 "github.com/ray-project/kuberay/ray-operator/apis/ray/v1"
2928

3029
corev1 "k8s.io/api/core/v1"
3130
"k8s.io/apimachinery/pkg/api/resource"
3231
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3332
"sigs.k8s.io/kueue/apis/kueue/v1beta1"
33+
34+
. "github.com/opendatahub-io/distributed-workloads/tests/common"
3435
)
3536

3637
func TestMnistRayCpu(t *testing.T) {

tests/odh/mnist_raytune_hpo_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ import (
2323
"time"
2424

2525
. "github.com/onsi/gomega"
26-
. "github.com/opendatahub-io/distributed-workloads/tests/common"
2726
. "github.com/project-codeflare/codeflare-common/support"
2827
rayv1 "github.com/ray-project/kuberay/ray-operator/apis/ray/v1"
2928

3029
corev1 "k8s.io/api/core/v1"
3130
"k8s.io/apimachinery/pkg/api/resource"
3231
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3332
"sigs.k8s.io/kueue/apis/kueue/v1beta1"
33+
34+
. "github.com/opendatahub-io/distributed-workloads/tests/common"
3435
)
3536

3637
func TestMnistRayTuneHpoCpu(t *testing.T) {

tests/odh/ray_finetune_llm_deepspeed_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ import (
2424
"time"
2525

2626
. "github.com/onsi/gomega"
27-
. "github.com/opendatahub-io/distributed-workloads/tests/common"
2827
. "github.com/project-codeflare/codeflare-common/support"
2928
rayv1 "github.com/ray-project/kuberay/ray-operator/apis/ray/v1"
3029

3130
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
31+
32+
. "github.com/opendatahub-io/distributed-workloads/tests/common"
3233
)
3334

3435
func TestRayFinetuneLlmDeepspeedDemoLlama_2_7b(t *testing.T) {

tests/odh/raytune_oai_mr_grpc_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ import (
2626
"time"
2727

2828
. "github.com/onsi/gomega"
29-
. "github.com/opendatahub-io/distributed-workloads/tests/common"
3029
. "github.com/project-codeflare/codeflare-common/support"
3130
rayv1 "github.com/ray-project/kuberay/ray-operator/apis/ray/v1"
3231

3332
corev1 "k8s.io/api/core/v1"
33+
34+
. "github.com/opendatahub-io/distributed-workloads/tests/common"
3435
)
3536

3637
func TestRaytuneOaiMrGrpcCpu(t *testing.T) {

0 commit comments

Comments
 (0)