Skip to content

CURing Large Models: Compression via CUR Decomposition

License

Notifications You must be signed in to change notification settings

lukepark327/CURing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CURing

CURing Large Models: Compression via CUR Decomposition

[Paper]


Prerequirements

lm-evaluation-harness

git clone --depth 1 https://github.com/EleutherAI/lm-evaluation-harness

cd lm-evaluation-harness
pip install -e .

MoRA

git clone https://github.com/kongds/MoRA.git

cd MoRA
pip install -e ./peft-mora

Change project name to peft_mora:

  • In pyproject.toml, update known-first-party = ["peft_mora"].
  • In setup.py, update name="peft_mora",.

Run

CURing Decomposition

$ curing.sh

Healing

$ healing.sh

Tensorboard

$ tensorboard --logdir=runs --host 0.0.0.0 --port 6006 --samples_per_plugin scalars=1000000

http://localhost:6006/?darkMode=true#scalars


Acknowledgement

Our code is based on lm-evaluation-harness and MoRA.

About

CURing Large Models: Compression via CUR Decomposition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published