-
Notifications
You must be signed in to change notification settings - Fork 905
Support restuning/side/lora-embedding/qlora, etc #48
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
Merged
wenmengzhou
merged 78 commits into
modelscope:main
from
tastelikefeet:feat/replace_lora
Sep 15, 2023
Merged
Support restuning/side/lora-embedding/qlora, etc #48
wenmengzhou
merged 78 commits into
modelscope:main
from
tastelikefeet:feat/replace_lora
Sep 15, 2023
Conversation
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
This reverts commit ff9f473.
* feat/replace_lora: add tests add restuner
…lace_lora * commit 'f925f4297268bbc6a14a12157cbb23a06a225cfb': Add internlm (modelscope#59) Add bloom (modelscope#55) Add baichuan2 (modelscope#40) add feat: only save model (modelscope#49) Add openbuddy llama2 (modelscope#47) fix ddp bug (modelscope#45) fix template bug2 (modelscope#44)
* feat/replace_lora: Add internlm (modelscope#59) Add bloom (modelscope#55) Add baichuan2 (modelscope#40) add feat: only save model (modelscope#49) Add openbuddy llama2 (modelscope#47) fix ddp bug (modelscope#45) fix template bug2 (modelscope#44) # Conflicts: # examples/pytorch/llm/src/llm_sft.py # examples/pytorch/llm/src/utils/preprocess.py
* feat/replace_lora: support activate/deactivate adapter # Conflicts: # swift/tuners/adapter.py # swift/tuners/lora.py # swift/tuners/prompt.py
wenmengzhou
reviewed
Sep 14, 2023
wenmengzhou
reviewed
Sep 14, 2023
wenmengzhou
approved these changes
Sep 15, 2023
hjh0119
pushed a commit
to hjh0119/swift
that referenced
this pull request
Jul 22, 2024
## New algorithms: * Add bnb 4bit & 8bit and autogptq lora support * Add lora support for torch.nn.Embedding * Add sidetuner * Add restuner-bypass * Fix some bugs ## New features: * llm_sft support cross-validation with model.generate * llm_sft support perf recording * All tuners support activate and deactivate * Add more unit tests * Fix some bugs
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.
New algorithms:
New features: