-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Support push model to ModelScope community #5326
Open
tastelikefeet
wants to merge
10
commits into
hiyouga:main
Choose a base branch
from
tastelikefeet:feat/push_to_ms
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+181
−0
Conversation
This file contains 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
…ory into feat/push_to_ms
tastelikefeet
changed the title
Support push model to ModelScope community
[WIP]Support push model to ModelScope community
Sep 2, 2024
tastelikefeet
changed the title
[WIP]Support push model to ModelScope community
Support push model to ModelScope community
Sep 2, 2024
…h_to_ms * commit '1a3e6545b2e1d2dab01d2a257130a47da62e747a': (66 commits) Add qwen_vl to liger kernel supported list update wechat update the ROCm version to 6.2 update ci set dev version remove windows in ci fix ci fix hiyouga#5411 update accelerate ver for schedule_free optimizers fix mm plugin fix qwen2vl preprocess release v0.9.0 (real) fix constants release v0.9.0 tiny fix update wechat update scripts support vllm 0.6.0 fix test case add test case ...
@hiyouga hi, can you help to review please when free |
sure, I'll review this pr ASAP |
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.
What does this PR do?
Support pushing trained models to ModelScope community.
This feature works when
USE_MODELSCOPE_HUB
set to true or 1.Tested when USE_MODELSCOPE_HUB=0/1 both, ckpts can be pushed to HF or MS respectively.
Script:
examples/train_lora/llama3_lora_sft.yaml
Add config:
push_to_hub: true
hub_strategy: checkpoint/all_checkpoints/every_save
hub_model_id: xxx
hub_token: xxx (hf/ms token each)
Results:
HF not affected.
MS can be uploaded and tagged.
Before submitting