-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bamba VLLM Draft #2
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
4d67c31
to
98ba4fa
Compare
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
z = z.contiguous() | ||
if D is not None and D.stride(-1) != 1: | ||
D = D.contiguous() | ||
if initial_states is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel chunked prefill support requires update of the kernels. This is because initial_states
seems to be only implemented to handle batch > 1
when cu_seqlens == None
, since the latter case is only supported when we flatten the input x
such that batch == 1
.
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
To get stable latency measurements in nsight systems we rely on enabling cudagraph. However in our test with long context (64k) cudagraph usage is not seen in the profile. After digging in the code I found that the usage is controlled by engine argument |
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
NOTES
Tests
Currently the tests, except the ones for chunked pre-fill, are passing