Skip to content

Commit

Permalink
Bump torchserve version (kubeflow#2530)
Browse files Browse the repository at this point in the history
Signed-off-by: Jagadeesh J <[email protected]>

Signed-off-by: Jagadeesh J <[email protected]>
  • Loading branch information
Jagadeesh J authored Nov 17, 2022
1 parent 376d008 commit 3d07cbb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/runtimes/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ images:

- name: kserve-torchserve
newName: pytorch/torchserve-kfs
newTag: 0.6.0
newTag: 0.6.1
10 changes: 5 additions & 5 deletions pkg/apis/serving/v1beta1/predictor_torchserve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestTorchServeValidation(t *testing.T) {
spec: PredictorSpec{
PyTorch: &TorchServeSpec{
PredictorExtensionSpec: PredictorExtensionSpec{
RuntimeVersion: proto.String("0.6.0"),
RuntimeVersion: proto.String("0.6.1"),
},
},
},
Expand All @@ -50,7 +50,7 @@ func TestTorchServeValidation(t *testing.T) {
spec: PredictorSpec{
PyTorch: &TorchServeSpec{
PredictorExtensionSpec: PredictorExtensionSpec{
RuntimeVersion: proto.String("0.6.0-gpu"),
RuntimeVersion: proto.String("0.6.1-gpu"),
},
},
},
Expand All @@ -60,7 +60,7 @@ func TestTorchServeValidation(t *testing.T) {
spec: PredictorSpec{
PyTorch: &TorchServeSpec{
PredictorExtensionSpec: PredictorExtensionSpec{
RuntimeVersion: proto.String("0.6.0"),
RuntimeVersion: proto.String("0.6.1"),
Container: v1.Container{
Resources: v1.ResourceRequirements{
Limits: v1.ResourceList{constants.NvidiaGPUResourceType: resource.MustParse("1")},
Expand Down Expand Up @@ -143,14 +143,14 @@ func TestTorchServeDefaulter(t *testing.T) {
PyTorch: &TorchServeSpec{
PredictorExtensionSpec: PredictorExtensionSpec{
ProtocolVersion: &protocolV1,
RuntimeVersion: proto.String("0.6.0"),
RuntimeVersion: proto.String("0.6.1"),
},
},
},
expected: PredictorSpec{
PyTorch: &TorchServeSpec{
PredictorExtensionSpec: PredictorExtensionSpec{
RuntimeVersion: proto.String("0.6.0"),
RuntimeVersion: proto.String("0.6.1"),
ProtocolVersion: &protocolV1,
Container: v1.Container{
Name: constants.InferenceServiceContainerName,
Expand Down

0 comments on commit 3d07cbb

Please sign in to comment.