| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:441965dd-2de5-cb88-98e1-5deeadca58d1 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 99F8:3DA8B4:89C9A:BBC77:6B060D1A |
| html-safe-nonce | 7b940ad35a9fb0480b8fb2dbfd6e1045c19e3152f1bccf8b51aec68c7f480d64 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUY4OjNEQThCNDo4OUM5QTpCQkM3Nzo2QjA2MEQxQSIsInZpc2l0b3JfaWQiOiI4MDgwODk2NDc0MzI3OTQ0NDc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | df760758985240ec18ed81226341bbfb57640f7f895c5411d9fd6373b569f8be |
| hovercard-subject-tag | repository:838474043 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Infini-AI-Lab/MagicDec |
| twitter:image | https://opengraph.githubassets.com/739edc275867188b80de72c22c163f73498815fd2d9261ebbfd2c44e19e5659f/Infini-AI-Lab/MagicDec |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/739edc275867188b80de72c22c163f73498815fd2d9261ebbfd2c44e19e5659f/Infini-AI-Lab/MagicDec |
| og:image:alt | [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding - Infini-AI-Lab/MagicDec |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e58943f0186bb8d97b217393c2724a49ab47e4aefefc43595a90fa04699066c9 |
| turbo-cache-control | no-cache |
| go-import | github.com/Infini-AI-Lab/MagicDec git https://github.com/Infini-AI-Lab/MagicDec.git |
| octolytics-dimension-user_id | 149595684 |
| octolytics-dimension-user_login | Infini-AI-Lab |
| octolytics-dimension-repository_id | 838474043 |
| octolytics-dimension-repository_nwo | Infini-AI-Lab/MagicDec |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 838474043 |
| octolytics-dimension-repository_network_root_nwo | Infini-AI-Lab/MagicDec |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 23517473abc6d5da019b4958bd421644e98a418b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/Infini-AI-Lab/MagicDec#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FInfini-AI-Lab%2FMagicDec |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FInfini-AI-Lab%2FMagicDec |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=Infini-AI-Lab%2FMagicDec |
| Reload | https://github.com/Infini-AI-Lab/MagicDec |
| Reload | https://github.com/Infini-AI-Lab/MagicDec |
| Reload | https://github.com/Infini-AI-Lab/MagicDec |
| Infini-AI-Lab | https://github.com/Infini-AI-Lab |
| MagicDec | https://github.com/Infini-AI-Lab/MagicDec |
| Code | https://github.com/Infini-AI-Lab/MagicDec |
| Issues8 (8) | https://github.com/Infini-AI-Lab/MagicDec/issues |
| Pull requests | https://github.com/Infini-AI-Lab/MagicDec/pulls |
| Actions | https://github.com/Infini-AI-Lab/MagicDec/actions |
| Projects | https://github.com/Infini-AI-Lab/MagicDec/projects |
| Security and quality | https://github.com/Infini-AI-Lab/MagicDec/security |
| Insights | https://github.com/Infini-AI-Lab/MagicDec/insights |
| https://github.com/Infini-AI-Lab/MagicDec |
| MagicDec | https://github.com/Infini-AI-Lab/MagicDec |
| Notifications | https://github.com/login?return_to=%2FInfini-AI-Lab%2FMagicDec |
| Fork14 (14) | https://github.com/login?return_to=%2FInfini-AI-Lab%2FMagicDec |
| Star162 (162) | https://github.com/login?return_to=%2FInfini-AI-Lab%2FMagicDec |
| Readme | https://github.com/Infini-AI-Lab/MagicDec#readme-ov-file |
| Apache-2.0 license | https://github.com/Infini-AI-Lab/MagicDec#Apache-2.0-1-ov-file |
| Activity | https://github.com/Infini-AI-Lab/MagicDec/activity |
| Custom properties | https://github.com/Infini-AI-Lab/MagicDec/custom-properties |
| 14 forks | https://github.com/Infini-AI-Lab/MagicDec/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FInfini-AI-Lab%2FMagicDec&report=Infini-AI-Lab+%28user%29 |
| Branches | https://github.com/Infini-AI-Lab/MagicDec/branches |
| Tags | https://github.com/Infini-AI-Lab/MagicDec/tags |
| https://github.com/Infini-AI-Lab/MagicDec/branches |
| https://github.com/Infini-AI-Lab/MagicDec/tags |
| 102 Commits | https://github.com/Infini-AI-Lab/MagicDec/commits/main/ |
| https://github.com/Infini-AI-Lab/MagicDec/commits/main/ |
| Data | https://github.com/Infini-AI-Lab/MagicDec/tree/main/Data |
| Data | https://github.com/Infini-AI-Lab/MagicDec/tree/main/Data |
| Engine | https://github.com/Infini-AI-Lab/MagicDec/tree/main/Engine |
| Engine | https://github.com/Infini-AI-Lab/MagicDec/tree/main/Engine |
| pages | https://github.com/Infini-AI-Lab/MagicDec/tree/main/pages |
| pages | https://github.com/Infini-AI-Lab/MagicDec/tree/main/pages |
| static | https://github.com/Infini-AI-Lab/MagicDec/tree/main/static |
| static | https://github.com/Infini-AI-Lab/MagicDec/tree/main/static |
| tests | https://github.com/Infini-AI-Lab/MagicDec/tree/main/tests |
| tests | https://github.com/Infini-AI-Lab/MagicDec/tree/main/tests |
| .gitignore | https://github.com/Infini-AI-Lab/MagicDec/blob/main/.gitignore |
| .gitignore | https://github.com/Infini-AI-Lab/MagicDec/blob/main/.gitignore |
| LICENSE | https://github.com/Infini-AI-Lab/MagicDec/blob/main/LICENSE |
| LICENSE | https://github.com/Infini-AI-Lab/MagicDec/blob/main/LICENSE |
| README.md | https://github.com/Infini-AI-Lab/MagicDec/blob/main/README.md |
| README.md | https://github.com/Infini-AI-Lab/MagicDec/blob/main/README.md |
| convert_hf_checkpoint.py | https://github.com/Infini-AI-Lab/MagicDec/blob/main/convert_hf_checkpoint.py |
| convert_hf_checkpoint.py | https://github.com/Infini-AI-Lab/MagicDec/blob/main/convert_hf_checkpoint.py |
| download.py | https://github.com/Infini-AI-Lab/MagicDec/blob/main/download.py |
| download.py | https://github.com/Infini-AI-Lab/MagicDec/blob/main/download.py |
| index.html | https://github.com/Infini-AI-Lab/MagicDec/blob/main/index.html |
| index.html | https://github.com/Infini-AI-Lab/MagicDec/blob/main/index.html |
| notes.txt | https://github.com/Infini-AI-Lab/MagicDec/blob/main/notes.txt |
| notes.txt | https://github.com/Infini-AI-Lab/MagicDec/blob/main/notes.txt |
| requirements.txt | https://github.com/Infini-AI-Lab/MagicDec/blob/main/requirements.txt |
| requirements.txt | https://github.com/Infini-AI-Lab/MagicDec/blob/main/requirements.txt |
| test.html | https://github.com/Infini-AI-Lab/MagicDec/blob/main/test.html |
| test.html | https://github.com/Infini-AI-Lab/MagicDec/blob/main/test.html |
| README | https://github.com/Infini-AI-Lab/MagicDec |
| Apache-2.0 license | https://github.com/Infini-AI-Lab/MagicDec |
| https://github.com/Infini-AI-Lab/MagicDec/blob/main/static/images/icons/MagicDec.png |
| https://github.com/Infini-AI-Lab/MagicDec#-magicdec-breaking-throughput-latency-trade-off-for-long-context-generation--with-speculative-decoding |
| Jian Chen* | https://github.com/jianc99 |
| Vashisth Tiwari* | https://github.com/Vashistht |
| Ranajoy Sadhukhan* | https://github.com/ranonrkm |
| Zhuoming Chen | https://github.com/dreaming-panda |
| Beidi Chen | https://github.com/keroro824 |
| Paper | https://arxiv.org/abs/2408.11049 |
| Blog | https://infini-ai-lab.github.io/MagicDec |
| https://github.com/Infini-AI-Lab/MagicDec#update |
| https://github.com/Infini-AI-Lab/MagicDec#installation |
| https://github.com/Infini-AI-Lab/MagicDec#environment-set-up |
| https://github.com/Infini-AI-Lab/MagicDec#prepare-checkpoints |
| Llama-2-7b | https://huggingface.co/meta-llama/Llama-2-7b-hf |
| Llama-2-7b-32k | https://huggingface.co/togethercomputer/LLaMA-2-7B-32K |
| Llama-2-13b | https://huggingface.co/meta-llama/Llama-2-13b-hf |
| Llama-2-70b | https://huggingface.co/meta-llama/Llama-2-70b-hf |
| Llama-3-8b | https://huggingface.co/meta-llama/Meta-Llama-3-8B |
| Llama-3-70b | https://huggingface.co/meta-llama/Meta-Llama-3-70B |
| llama-68m | https://huggingface.co/JackFram/llama-68m |
| TinyLlama | https://huggingface.co/TinyLlama/TinyLlama_v1.1 |
| Llama-3.1-8b | https://huggingface.co/meta-llama/Meta-Llama-3.1-8B |
| Llama-3.1-70b | https://huggingface.co/meta-llama/Llama-3.1-70B |
| Llama-3.2-1b | https://huggingface.co/meta-llama/Llama-3.2-1B |
| https://github.com/Infini-AI-Lab/MagicDec#evaluations |
| https://github.com/Infini-AI-Lab/MagicDec#baseline |
| https://github.com/Infini-AI-Lab/MagicDec#standalone-draft |
| https://github.com/Infini-AI-Lab/MagicDec#snapkv-based-drafting |
| https://github.com/Infini-AI-Lab/MagicDec#streamingllm-based-drafting |
| https://github.com/Infini-AI-Lab/MagicDec#self-speculation |
| https://github.com/Infini-AI-Lab/MagicDec#snapkv-based-drafting-1 |
| https://github.com/Infini-AI-Lab/MagicDec#streamingllm-based-drafting-1 |
| https://github.com/Infini-AI-Lab/MagicDec#citation |
| Readme | https://github.com/Infini-AI-Lab/MagicDec#readme-ov-file |
| Apache-2.0 license | https://github.com/Infini-AI-Lab/MagicDec#Apache-2.0-1-ov-file |
| Activity | https://github.com/Infini-AI-Lab/MagicDec/activity |
| Custom properties | https://github.com/Infini-AI-Lab/MagicDec/custom-properties |
| 14 forks | https://github.com/Infini-AI-Lab/MagicDec/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FInfini-AI-Lab%2FMagicDec&report=Infini-AI-Lab+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |