Add BeamSearch operator for GPT-2 decoding #9680
Add BeamSearch op schema
34f396fb
Add ONNX conversion for beams search
1fe45a25
tianleiwu
marked this pull request as draft 4 years ago
remove attention_mask and change input order
e7a665c3
add option to run baseline
27bf8093
add check data type NULL
a6c402fe
applies VerifyNodeAndOpMatch to subgraph
147763c6
update input_ids shape
bd10853a
Add node name for Cast node
4ba5d001
expose API for topk
e343472c
parse parameters
1c2d9cd9
Add beam search scorer
820a53cd
viboga
commented
on 2021-11-17
viboga
commented
on 2021-11-17
output results
e1ae8485
fix typo
1f1ee1a5
use c++ template and format python
7c4fd9a9
fix build pipeline errors
09e2458c
symbolic shape infer of input onnx
afe4b129
output scores
2396c3b4
add kernel def hash
b444e704
Handle vocab_mask; move CheckSubgraph
bb032c24
undo insert_cast_transformer.cc and fusion_utils.py
fb275641
fix typo
cdb62bb3
Merge remote-tracking branch 'origin/master' into tlwu/gpt_beam_searc…
f32b5d18
fix merge
bca63fdf
update doc
3e0cb7f7
add repetition penalty
872408ca
refactoring: add GptSubgraph class
06dc72b2
move BeamSearchState from .h to .cc file
8bab52a5
adjust logits processor order
7db869c9
add batch generation example
b23540e0
fix repetition penalty for dup words in sequence
25f7605f
Add test
25751e7a
Add no repeat ngram processor
6a2427f3
refactoring: move logits processor to classes
5e42e69d
fix build warning
312d5486
show latency
3371cb45
use allocator in beam state
a63a473a
use allocator in sequences
08277874
Merge branch 'master' into tlwu/gpt_beam_search_op
5c23d3c2
tianleiwu
changed the title [WIP] Add BeamSearch operator for GPT-2 decoding Add BeamSearch operator for GPT-2 decoding 4 years ago
fix build error
08bd1d77
Merge branch 'tlwu/gpt_beam_search_op' of https://github.com/microsof…
1987a2c0
tianleiwu
marked this pull request as ready for review 4 years ago
move next_positions to beam state
c7d456b5
viboga
commented
on 2021-12-13
viboga
commented
on 2021-12-13
viboga
commented
on 2021-12-13
viboga
commented
on 2021-12-13
viboga
commented
on 2021-12-13
viboga
commented
on 2021-12-13
viboga
commented
on 2021-12-13
viboga
commented
on 2021-12-14
viboga
commented
on 2021-12-14
tianleiwu
force pushed
from
ff978cc2
to
c7d456b5
4 years ago
Merge remote-tracking branch 'origin/master' into tlwu/gpt_beam_searc…
bc89d44e
viboga
approved these changes
on 2021-12-16
tianleiwu
merged
ef36488d
into master 4 years ago
tianleiwu
deleted the tlwu/gpt_beam_search_op branch 4 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub