{"id":25334107,"url":"https://github.com/ilyalasy/moe-routing","last_synced_at":"2025-08-25T07:36:22.264Z","repository":{"id":224770661,"uuid":"764083605","full_name":"ilyalasy/moe-routing","owner":"ilyalasy","description":"Analysis of token routing for different implementations of Mixture of Experts ","archived":false,"fork":false,"pushed_at":"2024-03-22T12:13:25.000Z","size":903,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T22:51:12.562Z","etag":null,"topics":["artificial-intelligence","deep-learning","interpretable-deep-learning","mixture-of-experts"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/ilyalasy.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-27T13:00:01.000Z","updated_at":"2025-01-20T03:24:43.000Z","dependencies_parsed_at":"2024-06-07T18:24:59.327Z","dependency_job_id":"28f9da86-4927-4912-acf8-c85697725cc9","html_url":"https://github.com/ilyalasy/moe-routing","commit_stats":null,"previous_names":["misterion777/moe-experiments","misterion777/moe-routing","ilyalasy/moe-routing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ilyalasy/moe-routing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyalasy%2Fmoe-routing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyalasy%2Fmoe-routing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyalasy%2Fmoe-routing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyalasy%2Fmoe-routing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilyalasy","download_url":"https://codeload.github.com/ilyalasy/moe-routing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyalasy%2Fmoe-routing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272024968,"owners_count":24860528,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["artificial-intelligence","deep-learning","interpretable-deep-learning","mixture-of-experts"],"created_at":"2025-02-14T05:34:59.914Z","updated_at":"2025-08-25T07:36:22.200Z","avatar_url":"https://github.com/ilyalasy.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Token Routing Analysis of Mixture of Experts LLMs\n\n## Install \n```\npip install -r requirements.txt\ncd ..\ngit clone https://github.com/hpcaitech/ColossalAI\npip install -U ./ColossalAI\ncd ColossalAI/examples/language/openmoe\npip install -r requirements.txt\n```\n## Run OpenMoe Inference on RedPajama\n\n```\n./scripts/token-routing.sh \n```\n\n## Analyse token routing data\n\nSee [EDA notebook](https://github.com/Misterion777/moe-experiments/blob/main/notebooks/routing_eda.ipynb)\n\n## TODO\n- [x] Support Mixtral\n- [x] Support DeepSeek\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyalasy%2Fmoe-routing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filyalasy%2Fmoe-routing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyalasy%2Fmoe-routing/lists"}