{"id":19626675,"url":"https://github.com/ml-explore/mlx-c","last_synced_at":"2025-04-05T15:06:11.105Z","repository":{"id":223540532,"uuid":"730905740","full_name":"ml-explore/mlx-c","owner":"ml-explore","description":"C API for MLX","archived":false,"fork":false,"pushed_at":"2025-03-28T00:06:41.000Z","size":7139,"stargazers_count":102,"open_issues_count":2,"forks_count":24,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-03-29T14:11:22.159Z","etag":null,"topics":["mlx"],"latest_commit_sha":null,"homepage":"https://ml-explore.github.io/mlx-c","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ml-explore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2023-12-12T23:50:49.000Z","updated_at":"2025-03-27T17:11:22.000Z","dependencies_parsed_at":"2024-04-12T00:40:19.252Z","dependency_job_id":"8531ff2a-4f74-4b55-98e7-d216b42c175a","html_url":"https://github.com/ml-explore/mlx-c","commit_stats":null,"previous_names":["ml-explore/mlx-c"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-explore%2Fmlx-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-explore%2Fmlx-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-explore%2Fmlx-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-explore%2Fmlx-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ml-explore","download_url":"https://codeload.github.com/ml-explore/mlx-c/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353732,"owners_count":20925329,"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":["mlx"],"created_at":"2024-11-11T11:47:18.922Z","updated_at":"2025-04-05T15:06:11.084Z","avatar_url":"https://github.com/ml-explore.png","language":"C++","funding_links":[],"categories":["Core MLX \u0026 Examples"],"sub_categories":[],"readme":"# MLX C\n\nMLX C is a C API for [MLX](https://github.com/ml-explore/mlx).\n\nMLX is an array framework for machine learning on Apple silicon. MLX C expands\nMLX to the C language, making research and experimentation easier on Apple\nsilicon.\n\nMLX C can be used standalone or as a bridge to bind other languages to\nMLX. For example, the [MLX Swift](https://github.com/ml-explore/mlx-swift/)\npackage uses MLX C to provide a Swift API to MLX.\n\nFor more information see the [docs](https://ml-explore.github.io/mlx-c).\n\n## Install\n\nCMake is required to build MLX C. You can install it with [Homebrew](https://brew.sh/):\n\n```shell\nbrew install cmake\n```\n\nTo build, run the following commands:\n\n```shell\nmkdir build \u0026\u0026 cd build\ncmake .. -DCMAKE_BUILD_TYPE=Release\nmake -j\n```\n\nFrom the `build/` directory, you can run an [example](examples/example.c)\nthat uses MLX C with `./example`.\n\n## Contributing \n\nCheck out the [contribution guidelines](CONTRIBUTING.md) for more information\non contributing to MLX C. See the\n[docs](https://ml-explore.github.io/mlx/build/html/install.html) for more\ninformation on building from source, and running tests.\n\nWe are grateful for all of [our\ncontributors](ACKNOWLEDGMENTS.md#Individual-Contributors). If you contribute\nto MLX C and wish to be acknowledged, please add your name to the list in your\npull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fml-explore%2Fmlx-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fml-explore%2Fmlx-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fml-explore%2Fmlx-c/lists"}