Skip to content
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

Integration test huggingface transfromers torchscript support #433

Merged
merged 6 commits into from
Jun 5, 2020
35 changes: 28 additions & 7 deletions test/postman/inference_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,45 @@
"file": "../examples/image_classifier/kitten.jpg"
},
{
"url": "https://torchserve.s3.amazonaws.com/mar_files/bert_seq_classification.mar",
"model_name": "bert_seq_classification",
"url": "https://torchserve.s3.amazonaws.com/mar_files/roberta_qa_torchscript.mar",
"model_name": "roberta_qa_torchscript.mar",
"worker": 1,
"synchronous": "true",
"file": "../examples/Huggingface_Transformers/sample_text.txt"
},
{
"url": "https://torchserve.s3.amazonaws.com/mar_files/roberta_qa_no_torchscript.mar",
"model_name": "roberta_qa_no_torchscript",
"worker": 1,
"synchronous": "true",
"file": "../examples/Huggingface_Transformers/sample_text.txt"
},
{
"url": "https://torchserve.s3.amazonaws.com/mar_files/bert_token_classification_torchscript.mar",
"model_name": "bert_token_classification_torchscript",
"worker": 1,
"synchronous": "true",
"file": "../examples/text_classification/sample_text.txt"
},
{
"url": "https://torchserve.s3.amazonaws.com/mar_files/bert_token_classification_no_torchscript.mar",
"model_name": "bert_token_classification_no_torchscript",
"worker": "1",
"synchronous": "true",
"file" : "../examples/text_classification/sample_text.txt"
},
{
"url": "https://torchserve.s3.amazonaws.com/mar_files/bert_token_classification.mar",
"model_name": "bert_token_classification",
"url": "https://torchserve.s3.amazonaws.com/mar_files/bert_seqc_with_torchscript.mar",
"model_name": "bert_seqc_with_torchscript",
"worker": "1",
"synchronous": "true",
"file" : "../examples/text_classification/sample_text.txt"
},
{
"url": "https://torchserve.s3.amazonaws.com/mar_files/roberta_qa.mar",
"model_name": "roberta_qa",
"url": "https://torchserve.s3.amazonaws.com/mar_files/bert_seqc_without_torchscript.mar",
"model_name": "bert_seqc_without_torchscript",
"worker": "1",
"synchronous": "true",
"file" : "../examples/Huggingface_Transformers/sample_text.txt"
"file" : "../examples/text_classification/sample_text.txt"
}
]