{"id":18608968,"url":"https://github.com/argmaxinc/mlx-bench","last_synced_at":"2025-05-01T06:31:11.546Z","repository":{"id":224314257,"uuid":"762942031","full_name":"argmaxinc/mlx-bench","owner":"argmaxinc","description":"Benchmark MLX Performance across commits","archived":false,"fork":false,"pushed_at":"2024-03-06T05:45:48.000Z","size":14,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T10:47:18.295Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/argmaxinc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-25T05:52:59.000Z","updated_at":"2024-04-21T11:19:31.000Z","dependencies_parsed_at":"2024-11-07T03:04:53.367Z","dependency_job_id":"f6ef6ec6-90a2-4cbe-b8ca-18a15efa36ee","html_url":"https://github.com/argmaxinc/mlx-bench","commit_stats":null,"previous_names":["argmaxinc/mlx-bench"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fmlx-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fmlx-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fmlx-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fmlx-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/argmaxinc","download_url":"https://codeload.github.com/argmaxinc/mlx-bench/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251835541,"owners_count":21651670,"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-07T03:04:47.208Z","updated_at":"2025-05-01T06:31:11.247Z","avatar_url":"https://github.com/argmaxinc.png","language":"Python","funding_links":[],"categories":["Libraries and Tools"],"sub_categories":["2024"],"readme":"# mlx-bench\nBenchmark MLX Performance across forks and commits\n\n## Installation\n\n```bash\npip install -r requirements.txt\ngit submodule init \u0026\u0026 git submodule update\n```\n\n## Usage\n\nExample command to test [ml-explore/mlx#735](https://github.com/ml-explore/mlx/pull/735) for Mistral 7b:\n\n```bash\npython bench_mistral.py \\\n    --repo-a ml-explore/mlx --commit-a cbcf44a4caf3fb504ed29ef78091126134e197a3 \\\n    --repo-b ml-explore/mlx --commit-b 14b4e51a7c6455a61a74d24da9f47dfeb161023f \\\n    --output-dir external --hub-model-name mlx-community/Mistral-7B-Instruct-v0.2-4-bit \\\n    --max-context-length 800 \\\n    --fail-for-mismatch-before-n-tokens 800\n```\n\nThis benchmark tests the two repo+commit pairs for correctness and plot the performance. These are saved in the output directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargmaxinc%2Fmlx-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fargmaxinc%2Fmlx-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargmaxinc%2Fmlx-bench/lists"}