{"id":123954,"url":"https://github.com/horseee/LLM-Pruner","last_synced_at":"2026-06-02T07:30:34.429Z","repository":{"id":167557967,"uuid":"642028103","full_name":"horseee/LLM-Pruner","owner":"horseee","description":"[NeurIPS 2023] LLM-Pruner: On the Structural Pruning of Large Language Models. Support Llama-3/3.1, Llama-2, LLaMA,  BLOOM, Vicuna, Baichuan, TinyLlama, etc.","archived":false,"fork":false,"pushed_at":"2024-10-07T08:49:26.000Z","size":6209,"stargazers_count":1113,"open_issues_count":65,"forks_count":131,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-03-27T21:42:47.172Z","etag":null,"topics":["baichuan","bloom","chatglm","compression","language-model","llama","llama-2","llama3","llm","neurips-2023","pruning","pruning-algorithms","vicuna"],"latest_commit_sha":null,"homepage":"https://arxiv.org/abs/2305.11627","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/horseee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-17T16:58:28.000Z","updated_at":"2026-03-22T19:21:57.000Z","dependencies_parsed_at":"2023-12-19T09:42:54.334Z","dependency_job_id":"7890dd96-4632-48da-81b5-bac579cbe033","html_url":"https://github.com/horseee/LLM-Pruner","commit_stats":{"total_commits":154,"total_committers":4,"mean_commits":38.5,"dds":"0.39610389610389607","last_synced_commit":"128a07d977f9b205d60ab14cfbc6a78f8a8e39d2"},"previous_names":["horseee/llm-pruner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/horseee/LLM-Pruner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horseee%2FLLM-Pruner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horseee%2FLLM-Pruner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horseee%2FLLM-Pruner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horseee%2FLLM-Pruner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/horseee","download_url":"https://codeload.github.com/horseee/LLM-Pruner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horseee%2FLLM-Pruner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32954934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"horseee","name":"Horseee","uuid":"22924514","kind":"user","description":"","email":"","website":"horseee.github.io","location":"Hangzhou, China","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/22924514?u=1306a9c498e23369034e3deec20224fff705e4f1\u0026v=4","repositories_count":4,"last_synced_at":"2023-03-05T10:39:42.887Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/horseee","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-15T13:36:55.549Z","updated_at":"2023-03-05T10:39:42.889Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/horseee","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/horseee/repositories"},"packages":[],"commits":{"id":1639493,"full_name":"horseee/LLM-Pruner","default_branch":"main","total_commits":154,"total_committers":3,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":51.333333333333336,"dds":0.38961038961038963,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-01-22T19:28:18.472Z","last_synced_commit":"128a07d977f9b205d60ab14cfbc6a78f8a8e39d2","created_at":"2024-07-25T15:27:05.580Z","updated_at":"2026-01-22T19:28:18.439Z","committers":[{"name":"horseee","email":"maxinyin@u.nus.edu","login":"horseee","count":94},{"name":"Gongfan Fang","email":"gongfan@u.nus.edu","login":"VainF","count":59},{"name":"Ikko Eltociear Ashimine","email":"eltociear@gmail.com","login":"eltociear","count":1}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/horseee%2FLLM-Pruner/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-01-23T00:00:11.556Z","repositories_count":6168563,"commits_count":932666948,"contributors_count":36241087,"owners_count":1138782,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues":{"table":{"full_name":"horseee/LLM-Pruner","html_url":"https://github.com/horseee/LLM-Pruner","last_synced_at":"2025-11-23T10:02:57.807Z","status":"active","issues_count":87,"pull_requests_count":9,"avg_time_to_close_issue":464649.5714285714,"avg_time_to_close_pull_request":1194747.6666666667,"issues_closed_count":28,"pull_requests_closed_count":6,"pull_request_authors_count":6,"issue_authors_count":69,"avg_comments_per_issue":1.5977011494252873,"avg_comments_per_pull_request":0.2222222222222222,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":11,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":223050.75,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":4,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":10,"past_year_avg_comments_per_issue":0.2727272727272727,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2024-07-25T15:27:36.106Z","updated_at":"2025-11-23T10:02:57.808Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/horseee%2FLLM-Pruner","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/horseee%2FLLM-Pruner/issues","issue_labels_count":{"table":{"bug":2,"enhancement":1,"question":1}},"pull_request_labels_count":{"table":{}},"issue_author_associations_count":{"table":{"NONE":87}},"pull_request_author_associations_count":{"table":{"NONE":6,"OWNER":2,"CONTRIBUTOR":1}},"issue_authors":{"table":{"Daisy5296":4,"qxpBlog":4,"coderchem":3,"Duncan1115":2,"sidhantls":2,"moonlightian":2,"azuryl":2,"18140663659":2,"youngwhite":2,"StevensPrime":2,"Ahmed-Roushdy":2,"VincentZ-2020":2,"sriyachakravarthy":2,"saidineshpola":1,"kiucho":1,"hebowei2000":1,"LeonCheng0129":1,"cmnfriend":1,"xcg940123":1,"Qubitium":1,"lb553024300":1,"yangxue-1":1,"danyal97":1,"tuidan":1,"sixt99":1,"yinwangsong":1,"wangxiaoxue":1,"WilliamYi96":1,"thedarkzeno":1,"chihwei462428":1,"marianbasti":1,"jianyuheng":1,"neverwinHao":1,"JunKong5":1,"Kausal-Lei":1,"lihuang258":1,"bokyeong1015":1,"digbangbang":1,"ZN1010":1,"nikhilgsh":1,"BrownTan":1,"jameslahm":1,"mumuyeye":1,"grigorn":1,"Elycyx":1,"yangd85":1,"coldplayers":1,"shaonianyr":1,"junzhang-zj":1,"manlenzzz":1,"pxrgod":1,"Zhuqln":1,"L-hongbin":1,"Franklin-L":1,"yaolu-zjut":1,"SKY072410":1,"Cyber-Vadok":1,"soonchangAI":1,"mmichaelzhang":1,"WentaoTan":1,"wefwefWEF2":1,"lingq1":1,"shawnricecake":1,"Sting-Scorpion":1,"Charlly-D":1,"AboveParadise":1,"zhichaoxu-shufe":1,"Daisy-a-p":1,"TejasLidhure":1}},"pull_request_authors":{"table":{"horseee":2,"cv-chaitali":2,"manickavela29":2,"aritralegndery":1,"eltociear":1,"michaelvin1322":1}},"host":{"table":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-01-23T00:00:08.538Z","repositories_count":12874471,"issues_count":35684932,"pull_requests_count":115951073,"authors_count":11125898,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"}},"past_year_issue_labels_count":{"table":{}},"past_year_pull_request_labels_count":{"table":{}},"past_year_issue_author_associations_count":{"table":{"NONE":4}},"past_year_pull_request_author_associations_count":{"table":{}},"past_year_issue_authors":{"table":{"Cyber-Vadok":1,"Daisy-a-p":1,"sixt99":1,"Sting-Scorpion":1}},"past_year_pull_request_authors":{"table":{}},"maintainers":[{"table":{"login":"horseee","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/horseee"}}],"active_maintainers":[]}},"events":{"total":{"PullRequestEvent":1,"ForkEvent":34,"IssuesEvent":16,"WatchEvent":202,"IssueCommentEvent":22},"last_year":{"ForkEvent":21,"IssuesEvent":4,"WatchEvent":114,"IssueCommentEvent":8}},"keywords":["baichuan","bloom","chatglm","compression","language-model","llama","llama-2","llama3","llm","neurips-2023","pruning","pruning-algorithms","vicuna"],"dependencies":[{"ecosystem":"pypi","filepath":"requirement.txt","sha":null,"kind":"manifest","created_at":"2023-06-05T22:45:35.892Z","updated_at":"2023-06-05T22:45:35.892Z","repository_link":"https://github.com/horseee/LLM-Pruner/blob/main/requirement.txt","dependencies":[{"id":10420852149,"package_name":"torch","ecosystem":"pypi","requirements":"\u003e=1.7.1","direct":true,"kind":"runtime","optional":false},{"id":10420852150,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.28.1","direct":true,"kind":"runtime","optional":false},{"id":10420852151,"package_name":"datasets","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":10420852152,"package_name":"sentencepiece","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":10420852153,"package_name":"accelerate","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":10420852155,"package_name":"wandb","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":10420852159,"package_name":"ptflops","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":10420852172,"package_name":"gradio","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"lm-evaluation-harness/requirements.txt","sha":null,"kind":"manifest","created_at":"2023-09-23T19:11:39.319Z","updated_at":"2023-09-23T19:11:39.319Z","repository_link":"https://github.com/horseee/LLM-Pruner/blob/main/lm-evaluation-harness/requirements.txt","dependencies":[]},{"ecosystem":"pypi","filepath":"lm-evaluation-harness/setup.py","sha":null,"kind":"manifest","created_at":"2023-09-23T19:11:39.610Z","updated_at":"2023-09-23T19:11:39.610Z","repository_link":"https://github.com/horseee/LLM-Pruner/blob/main/lm-evaluation-harness/setup.py","dependencies":[{"id":13905967129,"package_name":"datasets","ecosystem":"pypi","requirements":"\u003e=2.0.0","direct":true,"kind":"runtime","optional":false},{"id":13905967136,"package_name":"jsonlines","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":13905967140,"package_name":"numexpr","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":13905967143,"package_name":"openai","ecosystem":"pypi","requirements":"\u003e=0.6.4","direct":true,"kind":"runtime","optional":false},{"id":13905967147,"package_name":"omegaconf","ecosystem":"pypi","requirements":"\u003e=2.2","direct":true,"kind":"runtime","optional":false},{"id":13905967150,"package_name":"peft","ecosystem":"pypi","requirements":"\u003e=0.2.0","direct":true,"kind":"runtime","optional":false},{"id":13905967153,"package_name":"pybind11","ecosystem":"pypi","requirements":"\u003e=2.6.2","direct":true,"kind":"runtime","optional":false},{"id":13905967156,"package_name":"pycountry","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":13905967158,"package_name":"pytablewriter","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":13905967163,"package_name":"rouge-score","ecosystem":"pypi","requirements":"\u003e=0.0.4","direct":true,"kind":"runtime","optional":false},{"id":13905967166,"package_name":"sacrebleu","ecosystem":"pypi","requirements":"==1.5.0","direct":true,"kind":"runtime","optional":false},{"id":13905967169,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"\u003e=0.24.1","direct":true,"kind":"runtime","optional":false},{"id":13905967173,"package_name":"sqlitedict","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":13905967177,"package_name":"torch","ecosystem":"pypi","requirements":"\u003e=1.7","direct":true,"kind":"runtime","optional":false},{"id":13905967180,"package_name":"tqdm-multiprocess","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":13905967183,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.1","direct":true,"kind":"runtime","optional":false},{"id":13905967187,"package_name":"zstandard","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":13905967193,"package_name":"accelerate","ecosystem":"pypi","requirements":"\u003e=0.17.1","direct":true,"kind":"runtime","optional":false}]}],"score":8.170185652879642,"created_at":"2024-07-25T15:26:06.442Z","updated_at":"2026-06-02T07:30:34.430Z","avatar_url":"https://github.com/horseee.png","language":"Python","codemeta":null,"publiccode":null,"project_url":"https://summary.ecosyste.ms/api/v1/projects/123954","html_url":"https://summary.ecosyste.ms/projects/123954"}