{"id":24765938,"url":"https://github.com/infinitensor/ninetoothed-examples","last_synced_at":"2025-03-23T17:22:33.822Z","repository":{"id":251306164,"uuid":"837017059","full_name":"InfiniTensor/ninetoothed-examples","owner":"InfiniTensor","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-23T00:38:37.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T01:26:01.973Z","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/InfiniTensor.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":"2024-08-02T03:30:21.000Z","updated_at":"2025-02-22T04:54:05.000Z","dependencies_parsed_at":"2024-08-29T08:21:44.523Z","dependency_job_id":"f6446550-a3b8-4fb4-9556-eeb7cc880a96","html_url":"https://github.com/InfiniTensor/ninetoothed-examples","commit_stats":null,"previous_names":["infinitensor/ninetoothed-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Fninetoothed-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Fninetoothed-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Fninetoothed-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Fninetoothed-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InfiniTensor","download_url":"https://codeload.github.com/InfiniTensor/ninetoothed-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245137453,"owners_count":20566758,"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":"2025-01-28T23:17:47.862Z","updated_at":"2025-03-23T17:22:33.802Z","avatar_url":"https://github.com/InfiniTensor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NineToothed Examples\n\nThis repository contains examples for [NineToothed](https://github.com/InfiniTensor/ninetoothed), including implementations of several common compute kernels written using NineToothed.\n\n## Usage\n\nAfter cloning this repository, you can run any of the examples using Python. For instance, to run the matrix multiplication example, execute the following command:\n\n```bash\npython matmul.py\n```\n\n### Autotuning Behavior\n\nBy default, the examples apply autotuning, which may take several minutes or longer to complete for complex kernels. If you wish to disable autotuning, you can replace symbol definitions with concrete values. Consider the following example:\n\n```python\nBLOCK_SIZE = Symbol(\"BLOCK_SIZE\", meta=True)\n```\n\nHere, `meta=True` specifies that `BLOCK_SIZE` is a meta symbol for autotuning. To disable autotuning, you can:\n\n1. Set `constexpr=True` and pass a value when invoking the kernel.\n2. Replace the symbol definition with a fixed integer value, as shown below:\n\n```python\nBLOCK_SIZE = 1024\n```\n\nThese approaches allow you to obtain results in seconds. However, selecting optimal values is crucial for good performance. Experiment with different values to determine the best configuration.\n\n## Third-Party Code and Licenses\n\nThis project includes code modified or inspired from the following open-source repositories:\n\n* [https://github.com/triton-lang/triton](https://github.com/triton-lang/triton)\n* [https://github.com/ROCm/triton](https://github.com/ROCm/triton)\n* [https://github.com/l1351868270/implicit_gemm.triton](https://github.com/l1351868270/implicit_gemm.triton)\n\nLicenses for third-party code are stored in the `third_party` directory. Each subdirectory contains its associated `LICENSE` file.\n\n## License\n\nThis repository is distributed under the Apache-2.0 license. See the included [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitensor%2Fninetoothed-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinitensor%2Fninetoothed-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitensor%2Fninetoothed-examples/lists"}