-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mismatch key vs name gpu io test #5143
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
name: "mismatch_key_name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would name it differently, IIUC, it is still an valid model, just that its signature def expose the I/O in names different from the tensor names in the TF graph.
I think the model created from gen_tag_sigdef.py
has this characteristic so you should be able to re-use that for this test case. CC @jbkyang-nvi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Updated.
With the sig_tag0 model, when the test is run without the TF change, the server will fail to start:
|
CC @nv-kmcgill53, PR for TF gpu_io MakeCallable fix. |
exit 1 | ||
fi | ||
kill $SERVER_PID | ||
wait $SERVER_PID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Send request to test if the model is working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And check the response
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Updated.
c648b81
to
2ad7532
Compare
2ad7532
to
697dc6b
Compare
The current L0_tf_gpu_io test relies on well created TF savedmodels, which the I/O tensors key and name will always match, but this is not the case in the real world. The added model and test is derived from the same "qa_identity_model_repository/savedmodel_nobatch_zero_1_float32" but deliberately made the key and name to not match for testing the change.
Related PR: triton-inference-server/tensorflow_backend#84