Allow for dynamic batch padding #2352
Allow for dynamic batch paddign
73e64a1e
Fix test
3534a342
Update src/accelerate/inference.py
0af31ff0
Break early after the first valid bs is found
b1c565d0
Less slicy-dicy
a98e51b0
Test cv model
8a452c18
Start, need to test
2e23e1e9
Use dataloader-like logic
c7800f50
Refactor to utils
1a9181c4
With tests
fed86c4c
Update the source
fcc72a37
Clean
7045a290
bs=1 case
6167d0ba
Add test
7e958024
add some failing test
57277673
Almost working version
6864314c
Much cleaner implementation
a45e7f96
Use pad_input_tensor
136f495c
All tests passing!
5970e8e3
Do it at tracing too
6e1e02f6
muellerzr
merged
dac1daa9
into pippy-integration-v2 2 years ago
muellerzr
deleted the pippy-duplicates branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub