{"id":18264544,"url":"https://github.com/modeltc/mqbench","last_synced_at":"2025-05-15T00:13:19.432Z","repository":{"id":36957025,"uuid":"397953975","full_name":"ModelTC/MQBench","owner":"ModelTC","description":"Model Quantization Benchmark","archived":false,"fork":false,"pushed_at":"2025-04-12T09:39:41.000Z","size":3614,"stargazers_count":798,"open_issues_count":13,"forks_count":142,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-12T10:31:49.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ModelTC.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":"2021-08-19T13:32:15.000Z","updated_at":"2025-04-10T02:08:02.000Z","dependencies_parsed_at":"2024-04-24T18:24:40.357Z","dependency_job_id":null,"html_url":"https://github.com/ModelTC/MQBench","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FMQBench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FMQBench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FMQBench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FMQBench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModelTC","download_url":"https://codeload.github.com/ModelTC/MQBench/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565044,"owners_count":21125414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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"}},"keywords":[],"created_at":"2024-11-05T11:15:04.501Z","updated_at":"2025-04-12T11:53:39.558Z","avatar_url":"https://github.com/ModelTC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"resources/logo.png\" width=\"700\" /\u003e\n\u003c/div\u003e\n\n------------\n[![Documentation Status](https://readthedocs.org/projects/mqbench/badge/?version=latest)](https://mqbench.readthedocs.io/en/latest/?badge=latest)\n[![Lint and test](https://github.com/ModelTC/MQBench/actions/workflows/lint-and-test.yml/badge.svg?branch=main)](https://github.com/ModelTC/MQBench/actions/workflows/lint-and-test.yml)\n[![license](https://img.shields.io/github/license/ModelTC/MQBench)](https://github.com/ModelTC/MQBench/blob/main/LICENSE)\n\n## Latest News\n\n- **Jan 10, 2025:** 🚀 MQBench already supports torch2.5.1!!! The old version that supports torch1.10 is [here](https://github.com/ModelTC/MQBench/tree/mqb-torch1.10).\n\n## Introduction\n\nMQBench is an open-source model quantization toolkit based on PyTorch fx.\n\nThe envision of MQBench is to provide:\n\n- **SOTA Algorithms**. With MQBench, the hardware vendors and researchers can benefit from the latest research progress in academic.\n- **Powerful Toolkits**. With the toolkit, quantization node can be inserted to the original PyTorch module automatically with respect to the specific hardware. After training, the quantized model can be smoothly converted to the format that can inference on the real device.\n\n## Installation\n\n```shell\ngit clone git@github.com:ModelTC/MQBench.git\ncd MQBench\npip install -v -e .\n```\n\n## Documentation\n\nMQBench aims to support (1) various deployable quantization algorithms and (2) hardware backend libraries to facilitate the development of the community.\n\nFor the detailed information, please refer to [MQBench documentation](https://mqbench.readthedocs.io/en/latest/).\n\n## Citation\n\nIf you use this toolkit or benchmark in your research, please cite this project.\n\n```latex\n@article{MQBench,\n  title   = {MQBench: Towards Reproducible and Deployable Model Quantization Benchmark},\n  author  = {Yuhang Li* and Mingzhu Shen* and Jian Ma* and Yan Ren* and Mingxin Zhao* and\n             Qi Zhang* and Ruihao Gong* and Fengwei Yu and Junjie Yan},\n  journal= {Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks},\n  year={2021}\n}\n```\n\n## License\n\nThis project is released under the [Apache 2.0 license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodeltc%2Fmqbench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodeltc%2Fmqbench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodeltc%2Fmqbench/lists"}