{"id":13521740,"url":"https://github.com/hidet-org/hidet","last_synced_at":"2025-03-31T20:32:42.409Z","repository":{"id":65684953,"uuid":"444266161","full_name":"hidet-org/hidet","owner":"hidet-org","description":"An open-source efficient deep learning framework/compiler, written in python.","archived":false,"fork":false,"pushed_at":"2025-02-25T17:50:29.000Z","size":4824,"stargazers_count":691,"open_issues_count":2,"forks_count":58,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-03-16T20:38:02.526Z","etag":null,"topics":["compiler","deep-learning","framework","inference"],"latest_commit_sha":null,"homepage":"https://hidet.org","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/hidet-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-01-04T02:52:45.000Z","updated_at":"2025-03-12T22:37:48.000Z","dependencies_parsed_at":"2023-10-25T20:35:48.186Z","dependency_job_id":"201cfec3-2a42-46a3-a00f-386c531e0b2e","html_url":"https://github.com/hidet-org/hidet","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidet-org%2Fhidet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidet-org%2Fhidet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidet-org%2Fhidet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidet-org%2Fhidet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hidet-org","download_url":"https://codeload.github.com/hidet-org/hidet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246536243,"owners_count":20793406,"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":["compiler","deep-learning","framework","inference"],"created_at":"2024-08-01T06:00:37.719Z","updated_at":"2025-03-31T20:32:42.402Z","avatar_url":"https://github.com/hidet-org.png","language":"Python","readme":"# Hidet: An Open-Source Deep Learning Compiler\n[**Documentation**](http://hidet.org/docs)  |\n[**Research Paper**](https://dl.acm.org/doi/10.1145/3575693.3575702)  |\n[**Releases**](https://github.com/hidet-org/hidet/releases) |\n[**Contributing**](https://hidet.org/docs/stable/developer-guides/contributing.html)\n\n![GitHub](https://img.shields.io/github/license/hidet-org/hidet)\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/hidet-org/hidet/tests.yaml)\n\n\nHidet is an open-source deep learning compiler, written in Python. \nIt supports end-to-end compilation of DNN models from PyTorch and ONNX to efficient cuda kernels.\nA series of graph-level and operator-level optimizations are applied to optimize the performance.\n\nCurrently, hidet focuses on optimizing the inference workloads on NVIDIA GPUs, and requires\n- Linux OS\n- CUDA Toolkit 11.6+\n- Python 3.9+\n\n## Getting Started\n\n### Installation\nIf you are going to use hidet's API \n```bash\npip install hidet\n```\n\nIf you are going to use hidet as PyTorch compiler \n```bash\npip install hidet[torch]\n```\n\nYou can also try the [nightly build version](https://docs.hidet.org/stable/getting-started/install.html) or [build from source](https://docs.hidet.org/stable/getting-started/build-from-source.html#).\n\n### Usage\n\nOptimize a PyTorch model through hidet (require PyTorch 2.3):\n```python\nimport torch\n\n# Define pytorch model\nmodel = torch.hub.load('pytorch/vision:v0.6.0', 'resnet18', pretrained=True).cuda().eval()\nx = torch.rand(1, 3, 224, 224).cuda()\n\n# Compile the model through Hidet\n# Optional: set optimization options (see our documentation for more details)\n#   import hidet \n#   hidet.torch.dynamo_config.search_space(2)  # tune each tunable operator\nmodel_opt = torch.compile(model, backend='hidet')  \n\n# Run the optimized model\ny = model_opt(x)\n```\nSee the following tutorials to learn other usages:\n- [Quick Start](http://hidet.org/docs/stable/gallery/getting-started/quick-start.html)\n- [Optimize PyTorch models](http://hidet.org/docs/stable/gallery/tutorials/optimize-pytorch-model.html)\n- [Optimize ONNX models](http://hidet.org/docs/stable/gallery/tutorials/optimize-onnx-model.html)\n\n## Publication\nHidet originates from the following research work:\n\n\u003e  **Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programs**  \n\u003e  Yaoyao Ding, Cody Hao Yu, Bojian Zheng, Yizhi Liu, Yida Wang, and Gennady Pekhimenko.  \n\u003e  ASPLOS '23\n\nIf you used **Hidet** in your research, welcome to cite our\n[paper](https://dl.acm.org/doi/10.1145/3575693.3575702).\n\n## Development \nHidet is currently under active development by a team at [CentML Inc](https://centml.ai/). \n\n## Contributing\nWe welcome contributions from the community. Please see \n[contribution guide](https://hidet.org/docs/stable/developer-guides/contributing.html)\nfor more details.\n\n## License\nHidet is released under the [Apache 2.0 license](LICENSE).\n","funding_links":[],"categories":["Open Source Projects"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidet-org%2Fhidet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhidet-org%2Fhidet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidet-org%2Fhidet/lists"}