forked from triton-inference-server/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add reshape tests for autocomplete (triton-inference-server#4121)
* add reshape tests for autocomplete * copy model files from QA model repo * fix copyright
- Loading branch information
Showing
10 changed files
with
512 additions
and
1 deletion.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
...nfig/autofill_noplatform_success/tensorflow_graphdef/reshape_config_provided/config.pbtxt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: "reshape_config_provided" | ||
version_policy { | ||
latest { | ||
num_versions: 1 | ||
} | ||
} | ||
max_batch_size: 8 | ||
input { | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
input { | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 8 | ||
reshape { | ||
shape: 4 | ||
shape: 1 | ||
shape: 2 | ||
} | ||
} | ||
output { | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
output { | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 8 | ||
reshape { | ||
shape: 4 | ||
shape: 1 | ||
shape: 2 | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...l_config/autofill_noplatform_success/tensorflow_graphdef/reshape_config_provided/expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: "reshape_config_provided" | ||
platform: "tensorflow_graphdef" | ||
version_policy { | ||
latest { | ||
num_versions: 1 | ||
} | ||
} | ||
max_batch_size: 8 | ||
input { | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
input { | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 8 | ||
reshape { | ||
shape: 4 | ||
shape: 1 | ||
shape: 2 | ||
} | ||
} | ||
output { | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
output { | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 8 | ||
reshape { | ||
shape: 4 | ||
shape: 1 | ||
shape: 2 | ||
} | ||
} | ||
instance_group { | ||
name: "reshape_config_provided" | ||
count: 1 | ||
gpus: 0 | ||
kind: KIND_GPU | ||
} | ||
default_model_filename: "model.graphdef" | ||
optimization { | ||
input_pinned_memory { | ||
enable: true | ||
} | ||
output_pinned_memory { | ||
enable: true | ||
} | ||
} | ||
backend: "tensorflow" |
34 changes: 34 additions & 0 deletions
34
...ig/autofill_noplatform_success/tensorflow_savedmodel/reshape_config_provided/config.pbtxt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "reshape_config_provided" | ||
max_batch_size: 8 | ||
input [ | ||
{ | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: [ 1 ] | ||
reshape: { shape: [ ] } | ||
} | ||
] | ||
output [ | ||
{ | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: [ 1 ] | ||
reshape: { shape: [ ] } | ||
} | ||
] | ||
input [ | ||
{ | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: [ 8 ] | ||
reshape: { shape: [ 4,1,2 ] } | ||
} | ||
] | ||
output [ | ||
{ | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: [ 8 ] | ||
reshape: { shape: [ 4,1,2 ] } | ||
} | ||
] |
52 changes: 52 additions & 0 deletions
52
...config/autofill_noplatform_success/tensorflow_savedmodel/reshape_config_provided/expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: "reshape_config_provided" | ||
platform: "tensorflow_savedmodel" | ||
version_policy { | ||
latest { | ||
num_versions: 1 | ||
} | ||
} | ||
max_batch_size: 8 | ||
input { | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 4 | ||
dims: 1 | ||
dims: 2 | ||
} | ||
input { | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
output { | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 4 | ||
dims: 1 | ||
dims: 2 | ||
} | ||
output { | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
instance_group { | ||
name: "reshape_config_provided" | ||
count: 1 | ||
gpus: 0 | ||
kind: KIND_GPU | ||
} | ||
default_model_filename: "model.savedmodel" | ||
optimization { | ||
input_pinned_memory { | ||
enable: true | ||
} | ||
output_pinned_memory { | ||
enable: true | ||
} | ||
} | ||
backend: "tensorflow" |
52 changes: 52 additions & 0 deletions
52
...nfig/autofill_noplatform_success/tensorflow_savedmodel/reshape_config_provided/expected.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: "reshape_config_provided" | ||
platform: "tensorflow_savedmodel" | ||
version_policy { | ||
latest { | ||
num_versions: 1 | ||
} | ||
} | ||
max_batch_size: 8 | ||
input { | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
input { | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 4 | ||
dims: 1 | ||
dims: 2 | ||
} | ||
output { | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 4 | ||
dims: 1 | ||
dims: 2 | ||
} | ||
output { | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
instance_group { | ||
name: "reshape_config_provided" | ||
count: 1 | ||
gpus: 0 | ||
kind: KIND_GPU | ||
} | ||
default_model_filename: "model.savedmodel" | ||
optimization { | ||
input_pinned_memory { | ||
enable: true | ||
} | ||
output_pinned_memory { | ||
enable: true | ||
} | ||
} | ||
backend: "tensorflow" |
52 changes: 52 additions & 0 deletions
52
...nfig/autofill_noplatform_success/tensorflow_savedmodel/reshape_config_provided/expected.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: "reshape_config_provided" | ||
platform: "tensorflow_savedmodel" | ||
version_policy { | ||
latest { | ||
num_versions: 1 | ||
} | ||
} | ||
max_batch_size: 8 | ||
input { | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 4 | ||
dims: 1 | ||
dims: 2 | ||
} | ||
input { | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
output { | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
output { | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 4 | ||
dims: 1 | ||
dims: 2 | ||
} | ||
instance_group { | ||
name: "reshape_config_provided" | ||
count: 1 | ||
gpus: 0 | ||
kind: KIND_GPU | ||
} | ||
default_model_filename: "model.savedmodel" | ||
optimization { | ||
input_pinned_memory { | ||
enable: true | ||
} | ||
output_pinned_memory { | ||
enable: true | ||
} | ||
} | ||
backend: "tensorflow" |
52 changes: 52 additions & 0 deletions
52
...nfig/autofill_noplatform_success/tensorflow_savedmodel/reshape_config_provided/expected.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: "reshape_config_provided" | ||
platform: "tensorflow_savedmodel" | ||
version_policy { | ||
latest { | ||
num_versions: 1 | ||
} | ||
} | ||
max_batch_size: 8 | ||
input { | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
input { | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 4 | ||
dims: 1 | ||
dims: 2 | ||
} | ||
output { | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: 1 | ||
reshape { | ||
} | ||
} | ||
output { | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: 4 | ||
dims: 1 | ||
dims: 2 | ||
} | ||
instance_group { | ||
name: "reshape_config_provided" | ||
count: 1 | ||
gpus: 0 | ||
kind: KIND_GPU | ||
} | ||
default_model_filename: "model.savedmodel" | ||
optimization { | ||
input_pinned_memory { | ||
enable: true | ||
} | ||
output_pinned_memory { | ||
enable: true | ||
} | ||
} | ||
backend: "tensorflow" |
Oops, something went wrong.