Add IOBinding support to ONNX Runtime module #421
Create IOBinding helper and Type helper
7b058e59
fix style
a82f2ab1
Apply IOBinding helper to causallm model
9ff48be3
remove useless
a0ae7290
Update docstring
ee7afd5c
Add use_io_binding args
c280fa2b
lewtun
commented
on 2022-10-17
Fix case
adfbc6a3
Fix doctring
bef7f4df
Fix docstring
dd7db8f5
Fix case
cd06b9a1
Improve class description
92ff5de5
Improve class description
a4f70c5b
Complete comment
ec600235
Fix use_io_binding value define bug
da6fe5ae
Fix typos
0729d0b3
np to numpy
9446274e
Replace asserts with error raise
80e9c1ab
Add io binding return type
4ddfcdbc
Add is_onnxruntime_training_available in utils
0c8813c8
Apply io binding to encoders
a07b6a8c
Also for custom tasks
f08479f5
Improve use_io_binding args
8c7d82e2
Apply io binding for seq2seq
e97769b6
seq2seq io binding bug fix
a5e599bb
nits
7dcaff86
remove zip when outputs are fixed
78a5106d
Check cupy availability
cd999d41
Move io binding preparation to causal model
2ec100f8
move io binding preparation for other ort models
369c4414
Move io binding to ort seq2seq model
2424e335
Bind output tensors directly for causal lm
39182344
Remove useless in IO helper
c2e9d5d7
Fix test name
a3ac26c9
Direct binding for multi-choice/im-cls/custom
fffcccce
Direct binding for all other ort models
b2187586
Remove IO binding for ORTModelForCustomModels
6c38d460
Remove unused import
c774f38b
Merge main
ede2895a
IO binding added for seq2seq model
5236a158
JingyaHuang
marked this pull request as ready for review 3 years ago
modify for comments
9f5a2a3d
Revert dependencies for anothet PR
fb1680d8
Add IO binding tests for Encoder/Decoder
07f3248c
Add config for passing seq2seq modeling tests
b90ae76a
Improve seq2seq buffer size
aadd037e
Add test for seq2seq
e98ee95e
Add tests for generation
855bad5d
Merge branch 'main' into add-ort-iobinding
56bf6c6e
Fix doc
cc51dc66
Add comments
095268b0
Merge branch 'add-ort-iobinding' of https://github.com/huggingface/op…
479be02a
Add warning for TensorRT
c0eea41d
Merge main branch
a6021a67
Test: allclose -> equal
505ed8c4
JingyaHuang
deleted the add-ort-iobinding branch 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub