transformers
[CB] [Major] Asynchronous batching
#43960
Merged

[CB] [Major] Asynchronous batching #43960

ArthurZucker merged 39 commits into main from cb-async-lfg
remi-or
remi-or Cleanup: batch is more self contained
334afd38
remi-or Created utils.py file
c8d7753f
remi-or Moved pad to utils
8aee274d
remi-or Pin memory for input and outputs
3bc03161
remi-or Consolidate inputs into a bulk tensor
1bcc5264
remi-or Consolidated read and write indices
9a84bde1
remi-or Add the transfer_inputs fn
92947aa6
remi-or Renames and getters
a258ba12
remi-or Remove useless sync
c5877bc7
remi-or Move graphs to the IOs
a75124c8
remi-or Async done except for carry_in_ids
b4c13fdf
remi-or Add carry over (scheduler not picking up tho)
da98e66e
remi-or Remodeled scheduling
b736a136
remi-or Fix carry over
462ff769
remi-or Fix stream
810b55f1
remi-or Bumped _upper_bound_num_blocks
8ead282e
remi-or Faster compute for physical read indices
e4c429f4
remi-or Final actual changes
6e68685a
remi-or Adress some todos
ed7d437c
remi-or Rename input_outputs
90043874
remi-or Modify the behavior of async
188ee868
remi-or Fix bugs
8f728f91
remi-or Added async tests
b33a6caa
remi-or Fix test
d48c2bd1
remi-or Remodel example
353c2619
remi-or Fix offload test
9b0dc901
remi-or Fix real cause of offload fail
cce892a0
remi-or Nits
6cf6b97f
remi-or Propagate use_async
f4a6a67d
remi-or Performance fixes 1
7ef9f541
remi-or More flexibility for cuda graphs
e47d0ea0
remi-or Remodeled the read and write indices
2c171fc5
remi-or Review compliance
0c70eb31
remi-or More doc and beautifull ascii
df57dae2
remi-or remi-or requested a review from ArthurZucker ArthurZucker 243 days ago
remi-or remi-or assigned remi-or remi-or 243 days ago
remi-or Style
66e05bc0
HuggingFaceDocBuilderDev
mxchampagne
remi-or Fixes for end of generation
1b7e1d60
remi-or
ArthurZucker
ArthurZucker approved these changes on 2026-02-17
ArthurZucker
mxchampagne
remi-or Review compliance
e538826f
remi-or Merge branch 'main' into cb-async-lfg
fe2596e9
remi-or More tokens to pass test
736370b8
ArthurZucker ArthurZucker merged 9f7faed2 into main 232 days ago
ArthurZucker ArthurZucker deleted the cb-async-lfg branch 232 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
Labels
Milestone