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>
fabianlim
commented
Dec 3, 2024
| z = z.contiguous() | ||
| if D is not None and D.stride(-1) != 1: | ||
| D = D.contiguous() | ||
| if initial_states is not None: |
Owner
Author
There was a problem hiding this comment.
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>
Owner
Author
|
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>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



NOTES
Tests
Currently the tests, except the ones for chunked pre-fill, are passing