Skip to content
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

relora: magnitude pruning of the optimizer #1245

Merged
merged 15 commits into from
Feb 6, 2024
Merged

relora: magnitude pruning of the optimizer #1245

merged 15 commits into from
Feb 6, 2024

Conversation

winglian
Copy link
Collaborator

@winglian winglian commented Feb 2, 2024

Description

Motivation and Context

How has this been tested?

Screenshots (if appropriate)

Types of changes

Social Handles (Optional)

@winglian winglian marked this pull request as draft February 2, 2024 04:54
@winglian winglian marked this pull request as ready for review February 5, 2024 23:58
@winglian
Copy link
Collaborator Author

winglian commented Feb 6, 2024

Screenshot 2024-02-06 at 12 12 36 AM

@winglian winglian merged commit 8c2e05a into main Feb 6, 2024
7 checks passed
@winglian winglian deleted the relora-2024 branch February 6, 2024 05:35
maximegmd pushed a commit to maximegmd/axolotl that referenced this pull request Feb 6, 2024
* magnitude pruning of the optimizer

* add alpaca chat template and fix relora patch

* fix handling of lora adapter for relora

* fix merge and save call

* fixes for 8-bit lora merge

* save intermediate checkpoint adapters

* auto merge

* fix eval check

* handle relora annealing

* fix anneal step logic

* chore: lint

* misx fix

* fix types

* Update tests/e2e/test_relora_llama.py

* check for safetensors saved from relora
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
* magnitude pruning of the optimizer

* add alpaca chat template and fix relora patch

* fix handling of lora adapter for relora

* fix merge and save call

* fixes for 8-bit lora merge

* save intermediate checkpoint adapters

* auto merge

* fix eval check

* handle relora annealing

* fix anneal step logic

* chore: lint

* misx fix

* fix types

* Update tests/e2e/test_relora_llama.py

* check for safetensors saved from relora
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant