-
Notifications
You must be signed in to change notification settings - Fork 74
Jwilber/evo2 generate patch #949
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: John St John <[email protected]>
Signed-off-by: John St John <[email protected]>
Signed-off-by: John St John <[email protected]>
Signed-off-by: John St John <[email protected]>
Signed-off-by: John St John <[email protected]>
Signed-off-by: John St John <[email protected]>
Signed-off-by: John St John <[email protected]>
…he call Signed-off-by: John St John <[email protected]>
Signed-off-by: Jared Wilber <[email protected]>
- NeMo: f17dbf74d (Anton's hyena changes + seq_len_interpolation_factor) - Megatron-LM: 5fc4f681 (Anton's inference context fixes) - Based on bionemo-compatible versions (6a78ab8 and fb7c3f8)
Signed-off-by: Jared Wilber <[email protected]>
Signed-off-by: Jared Wilber <[email protected]>
Signed-off-by: Jared Wilber <[email protected]>
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.
Is the plan to merge this PR into main
, or will it remain a feature branch without merging? CC: @trvachov
I’ve noticed that this PR is undoing some of the improvements we previously applied to the NeMo implementation in hyena_utils
and hyena_mixer
, particularly regarding memory overhead (e.g., unnecessary variable creation and excessive tensor rearrangements).
We should not merge this PR into main
until these issues are addressed. Merging as-is would complicate future NeMo upgrades and prevent us from leveraging cuHyena efficiently.
Fix the incompatibility between the Megatron/NeMi-based implementation of hyena operators in BioNeMo and the original Vortex kernels used for generation. Namely, add in Vortex's stateful convolution logic used during inference, based on a previous migration from @antonvnv.
Type of changes
Usage
Pre-submit Checklist