[Feature] Partially frozen model support
@SolenoidWGT is already working on this.
Since Aug 1, 2023.
Assessment
This issue has not been assessed yet.
Description
Describe the feature
Current implementation does not support partially training, i.e., part of the model parameters are frozen.
If I understand it correctly, the assertion around line 584 in hybrid_zero_optim.py suggests that all parameters should be involved in the training.
Very looking forward this feature being implemented as there are many scenarios where users only want to finetune parts of the model.
Is there any plan on this feature?
Will you implement it?
- I would like to implement this feature and create a PR!
- Dominant language
- Python
- Stars
- 420
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InternLM/InternEvo
-
[Feature] 该怎么在VLM训练里也用这个框架?有示例吗May be free again @yhcc claimed this 584 days ago, and no pull request is open. Openenhancement
-
[Bug] Some spelling errors in repoMay be free again @sunpengsdu claimed this 652 days ago, and no pull request is open. Openbug
-
[Bug] CPU Mem utilization grows with training, when Dataloader num_workers>0May be free again @yhcc claimed this 654 days ago, and no pull request is open. Openbug
-
[Bug] TypeError: Qwen2.__init__() got an unexpected keyword argument 'enable_qkv_fusion'May be free again @ZwwWayne claimed this 672 days ago, and no pull request is open. Openbug
-
[Feature] Add Lingen - MATE architecture (SSM Mamba2 based) as a model optionMay be free again @yhcc claimed this 690 days ago, and no pull request is open. Openenhancement
All issues in InternLM/InternEvo
Similar issues
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
future-agi/future-agi#5908 ·
Maintainers usually reply within 1 day
-
Placeholder export disables HTML image input for picture descriptionPossibly taken @cloudiful claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
docling-project/docling-serve#817 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Techiebutler/freeframe#687 ·
Maintainers usually reply within 1 day
-
Parse truncated verbose GC logs up to the first XML errorPossibly taken A pull request linked to this issue is open or already merged. Openbug verbose GC
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
IBM/javacore-analyser#677 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 2 days