GPT2 with one step beam search#7163
Conversation
onnxruntime/python/tools/transformers/gpt2_beamsearch_helper.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/gpt2_beamsearch_helper.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/gpt2_beamsearch_helper.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/gpt2_beamsearch_helper.py
Outdated
Show resolved
Hide resolved
|
Hi @xi-liu-ds - Thanks for the PR and contribution. Do you have some time to address the comments in the PR ? |
|
/azp run Windows GPU CI Pipeline, Windows GPU TensorRT CI Pipeline, centos7_cpu, centos7_cpu (linux_centos_ci Debug), centos7_cpu (linux_centos_ci Release), orttraining-linux-ci-pipeline, orttraining-linux-gpu-ci-pipeline, orttraining-amd-gpu-ci-pipeline, Linux Nuphar CI Pipeline, orttraining-distributed |
|
/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux CPU x64 NoContribops CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux OpenVINO CI Pipeline, MacOS CI Pipeline, MacOS NoContribops CI Pipeline, Windows CPU CI Pipeline, orttraining-ortmodule, orttraining-ortmodule-distributed |
|
/azp run Linux GPU CI Pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 6 pipeline(s). |
|
Azure Pipelines successfully started running 10 pipeline(s). |
Hi @hariharans29 sorry I was busy with another task. I am working on addressing the comments right now. BTW, I am wondering can I kick off all pipelines myself or I have to go through you guys? Thanks! |
Thank you for addressing the comments. We will have to kick off pipelines for you. Let me know when you are done with addressing the comments and I ll kick them off. Thanks. |
Hi @tianleiwu @hariharans29 I have addressed all the comments. Now it is ready for another round of review. @hariharans29 Could you help kick off pipelines? Thank you all! |
Description: In this PR we add support for one-step beam search in ONNX graph.
Motivation and Context
How to run
In bash/CMD/PowerShell, run:
and optionally with
--input_test_file=[path/to/test/file]