-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI - Remove deprecated APIs from TensorRT backend (#7193)
* Update CI * Temporary TENSORRT_IMAGE * Plugin * Test * Update L0_cuda_graph * [FIXME] Modify later INT32 to INT64 * Testing * Undo datatype changes int64 * Skip caffe2plan * Undo TRT image name * Update CI * Update CI * Update CI * Update plugin CI * Update gen_qa_model_repository * Removing DIRECT_IO flag from reformat-free I/O * Update * Update copyright * Update CI * Remove caffe2plan.cc * Undo copyright * Fix pre-commit errors * Support INT64 datatype from shape tensors in test cases * Update comments --------- Co-authored-by: tanmayv25 <[email protected]>
- Loading branch information
Showing
40 changed files
with
1,009 additions
and
1,574 deletions.
There are no files selected for viewing
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
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
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
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
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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ input [ | |
{ | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: [ 16, 1 ] | ||
dims: [ 7 ] | ||
} | ||
] | ||
output [ | ||
|
2 changes: 1 addition & 1 deletion
2
qa/L0_model_config/autofill_noplatform/tensorrt/bad_input_dims/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 |
---|---|---|
@@ -1 +1 @@ | ||
model 'bad_input_dims', tensor 'INPUT1': the model expects 1 dimensions (shape \[16\]) but the model configuration specifies 2 dimensions (shape \[16,1\]) | ||
model 'bad_input_dims', tensor 'INPUT1': the model expects 2 dimensions (shape \[-1,16\]) but the model configuration specifies 2 dimensions (an initial batch dimension because max_batch_size > 0 followed by the explicit tensor shape, making complete shape \[-1,7\]) |
26 changes: 26 additions & 0 deletions
26
qa/L0_model_config/autofill_noplatform/tensorrt/bad_input_shape/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,26 @@ | ||
|
||
max_batch_size: 8 | ||
input [ | ||
{ | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: [ 16] | ||
}, | ||
{ | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: [ 16, 1 ] | ||
} | ||
] | ||
output [ | ||
{ | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: [ 16 ] | ||
}, | ||
{ | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: [ 16 ] | ||
} | ||
] |
1 change: 1 addition & 0 deletions
1
qa/L0_model_config/autofill_noplatform/tensorrt/bad_input_shape/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 @@ | ||
unable to autofill for 'bad_input_shape', model tensor configurations are contradicting each other in terms of whether batching is supported |
2 changes: 1 addition & 1 deletion
2
qa/L0_model_config/autofill_noplatform/tensorrt/bad_output_dims/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 |
---|---|---|
@@ -1 +1 @@ | ||
model 'bad_output_dims', tensor 'OUTPUT1': the model expects 1 dimensions (shape \[16\]) but the model configuration specifies 1 dimensions (shape \[7\]) | ||
model 'bad_output_dims', tensor 'OUTPUT1': the model expects 2 dimensions (shape \[-1,16\]) but the model configuration specifies 2 dimensions (an initial batch dimension because max_batch_size > 0 followed by the explicit tensor shape, making complete shape \[-1,7\]) |
25 changes: 25 additions & 0 deletions
25
qa/L0_model_config/autofill_noplatform/tensorrt/bad_output_shape/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,25 @@ | ||
max_batch_size: 8 | ||
input [ | ||
{ | ||
name: "INPUT0" | ||
data_type: TYPE_FP32 | ||
dims: [ 16 ] | ||
}, | ||
{ | ||
name: "INPUT1" | ||
data_type: TYPE_FP32 | ||
dims: [ 16 ] | ||
} | ||
] | ||
output [ | ||
{ | ||
name: "OUTPUT0" | ||
data_type: TYPE_FP32 | ||
dims: [ 16 ] | ||
}, | ||
{ | ||
name: "OUTPUT1" | ||
data_type: TYPE_FP32 | ||
dims: [ 16, 1] | ||
} | ||
] |
1 change: 1 addition & 0 deletions
1
qa/L0_model_config/autofill_noplatform/tensorrt/bad_output_shape/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 @@ | ||
unable to autofill for 'bad_output_shape', model tensor configurations are contradicting each other in terms of whether batching is supported |
2 changes: 1 addition & 1 deletion
2
qa/L0_model_config/autofill_noplatform/tensorrt/too_few_inputs/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 |
---|---|---|
@@ -1 +1 @@ | ||
expected configuration for input 'INPUT0' for too_few_inputs | ||
failed to specify the dimensions of all input tensors or values of all input shape tensors |
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
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
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
Oops, something went wrong.