Repository navigation
Conversation
|
Thanks for the PR! The general approach LGTM, but I do have one question. Have you verified that the attention mask is correct here? When I step through the forward method, it looks like we end up calling scaled dot product attention here, and from what I can see, |
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
…{Dict, List, Tuple} to primitive dict, list tuple
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Terry Kong <[email protected]> wip Signed-off-by: Terry Kong <[email protected]> fix it Signed-off-by: Terry Kong <[email protected]> patthing fix Signed-off-by: Terry Kong <[email protected]> wip Signed-off-by: Terry Kong <[email protected]> doesn't look like i needed that Signed-off-by: Terry Kong <[email protected]> fix Signed-off-by: Terry Kong <[email protected]> revert stuff Signed-off-by: Terry Kong <[email protected]> make it better Signed-off-by: Terry Kong <[email protected]> go Signed-off-by: Terry Kong <[email protected]> cleanup Signed-off-by: Terry Kong <[email protected]> mix it up Signed-off-by: Terry Kong <[email protected]> touch up Signed-off-by: Terry Kong <[email protected]> clean Signed-off-by: Terry Kong <[email protected]> better Signed-off-by: Terry Kong <[email protected]> clean up Signed-off-by: Terry Kong <[email protected]> add it in Signed-off-by: Terry Kong <[email protected]> mcore extra Signed-off-by: Terry Kong <[email protected]> instructions Signed-off-by: Terry Kong <[email protected]> works Signed-off-by: Terry Kong <[email protected]> revert to 3.10, 3.12 didn't seem necessary Signed-off-by: Terry Kong <[email protected]> ci has to recursively clone Signed-off-by: Terry Kong <[email protected]> bump build workflow Signed-off-by: Terry Kong <[email protected]> add megatron.core import Signed-off-by: Terry Kong <[email protected]> potential fix for unit test on CI Signed-off-by: Terry Kong <[email protected]> fix the test Signed-off-by: Terry Kong <[email protected]> this should fix test (it was a collision of namespace) Signed-off-by: Terry Kong <[email protected]> remove fp8 from test Signed-off-by: Terry Kong <[email protected]> add shallow Signed-off-by: Terry Kong <[email protected]> fix base build Signed-off-by: Terry Kong <[email protected]> fix instructions Signed-off-by: Terry Kong <[email protected]> fix the messed up indenting Signed-off-by: Terry Kong <[email protected]> fix Signed-off-by: Terry Kong <[email protected]> try nesting Signed-off-by: Terry Kong <[email protected]> okay, got it to work Signed-off-by: Terry Kong <[email protected]> fix up the readme Signed-off-by: Terry Kong <[email protected]> ok Signed-off-by: Terry Kong <[email protected]> touchup Signed-off-by: Terry Kong <[email protected]> add the lock file back Signed-off-by: Terry Kong <[email protected]> got Signed-off-by: Terry Kong <[email protected]>
Signed-off-by: Terry Kong <[email protected]>
Signed-off-by: Terry Kong <[email protected]>
Signed-off-by: Terry Kong <[email protected]>
Signed-off-by: Terry Kong <[email protected]>
Signed-off-by: Terry Kong <[email protected]>
Signed-off-by: Terry Kong <[email protected]>
88cefb4 to
e7e4038
Compare
Signed-off-by: Ahmad Kiswani <[email protected]>
Convergence graphs and logs are pending some runs. |
aeb36e9 to
f2aa89b
Compare
|
@ahmadki |
Signed-off-by: Ahmad Kiswani <[email protected]>
Signed-off-by: Sahil Jain <[email protected]>
Signed-off-by: Ahmad Kiswani <[email protected]>
f2aa89b to
e078be1
Compare
resolved |
Signed-off-by: Ahmad Kiswani <[email protected]>
363c0bc to
0d2f2c0
Compare
| pad_packed_seq_to=pad_full_seq_to, | ||
| ) | ||
| ) | ||
| input_ids = input_ids |
There was a problem hiding this comment.
@SahilJain314 Do you mind taking another look at this code block.
input_ids = input_ids doesn't make sense
Signed-off-by: Ahmad Kiswani <[email protected]>
929c9bb to
344275c
Compare
Signed-off-by: Ahmad Kiswani <[email protected]>
Signed-off-by: Ahmad Kiswani <[email protected]>
Signed-off-by: Ahmad Kiswani <[email protected]>
|
closing since newer PR makes this one obsolete #704 |
What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
Issues
List issues that this PR closes (syntax):
Usage
# Add a code snippet demonstrating how to use thisBefore your PR is "Ready for review"
Pre checks:
Additional Information
convergence looks good between megatron+sequence packing (gray) and megatron without
Additional runs can be found in this wandb project.