Feature/mixlora entropy from v2.1.0#37
Closed
mikecovlee wants to merge 4 commits intoTUDB-Labs:mainfrom
Closed
Conversation
* update_0121 * Add tests for alignment of various models with flash attention and eager implementations - Introduced new test files for alignment testing of models including Gemma2, Phi, Phi3, Llama, Qwen2, and Mistral. - Implemented tests for flash attention forward pass in `test_alignment_flash_attn.py`. - Added eager path tests for Gemma2 and Phi models in `test_alignment_gemma2_eager.py` and `test_alignment_gemma_phi.py`. - Created alignment tests for Llama and Qwen2 models in `test_alignment_llama_qwen2.py`. - Included tests for Mistral and Phi3 models in `test_alignment_mistral_phi3.py`. - Each test verifies model configuration, initialization, and output shapes, ensuring proper integration with the PEFT framework. * Fix code quality issues: typos, documentation, unused imports, and code organization (#5) * Initial plan * Fix review comments: typos, comments, and code quality issues Co-authored-by: mikecovlee <16332179+mikecovlee@users.noreply.github.com> * Fix CI: Make qwen3 import conditional to support older transformers versions Co-authored-by: mikecovlee <16332179+mikecovlee@users.noreply.github.com> * Remove Qwen code from modeling_mistral.py and fix all casual→causal typos Co-authored-by: mikecovlee <16332179+mikecovlee@users.noreply.github.com> * Fix bare except clause in launch.py Co-authored-by: mikecovlee <16332179+mikecovlee@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mikecovlee <16332179+mikecovlee@users.noreply.github.com> * [fix] update torch and transformers dependencies to specific versions * [refactor] update Qwen model imports and improve softcap parameter formatting --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: mikecovlee <16332179+mikecovlee@users.noreply.github.com>
…1.0 without destructive changes\n\n- Config: add router_dyn_loss_coef, entropy_* params\n- Router loss: combine entropy and load-balance losses\n- Common: add tsallis/renyi/shannon entropy utilities and export
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.
No description provided.