Loading video...

Video Failed to Load

Go Home

We previously shared our research on Layer Skip, an end-to-end solution for accelerating LLMs from researchers at Meta FAIR. It achieves this by executing a subset of an LLM’s layers and utilizing subsequent layers for verification and correction. We’re now releasing inference code and fine-tuned checkpoints for this work....

156,598 views • 1 year ago •via X (Twitter)

10 Comments

BensenHsu's profile picture
BensenHsu1 year ago

The paper explores ways to speed up the inference of large language models (LLMs) without significant loss in accuracy. LLMs are computationally expensive and have high financial and energy costs when deployed on GPU servers. The authors aim to address this challenge. The authors evaluate their approach on various tasks and model sizes. They show that their training recipe leads to higher accuracy in earlier layers compared to the baseline. They also demonstrate speedups of up to 2.16x on summarization, coding, and semantic parsing tasks using the self-speculative decoding approach. full paper:

lacie's profile picture
lacie1 year ago

can you guys please add `playsinline` to the video elements so it’s not a nightmare to scroll on mobile

NOBODY's profile picture
NOBODY1 year ago

Gonna be funky when an older model displaces a newer model on the leaderboards. “Grandpa Dense and Grandma MoE 8B appear to have displaced 405B” - LLM Commentators.

SaaS Junction || AI & SaaS Updates's profile picture
SaaS Junction || AI & SaaS Updates1 year ago

The release of Layer Skip is a significant step forward in optimizing LLM performance! By allowing for early exits and subsequent verification, it not only enhances efficiency but also opens the door for deeper explorations into model interpretability. Can't wait to see how the community leverages this technology to push boundaries further! ♥️

Daniel Garnier's profile picture
Daniel Garnier1 year ago

Great to see these optimizations for LLMs being shared! Tools like @kaibanjs make experimenting with these advancements more accessible for JavaScript developers 🚀

Astraia Intel's profile picture
Astraia Intel1 year ago

Poor man's MoE ?

Karl's profile picture
Karl1 year ago

@svpino - related to the dynamic models I mentioned

Romy  Antoine's profile picture
Romy  Antoine1 year ago

I had an error with the imapct grant application. I've been tring to get in touch. Submitable loaded slowly or crashed and I couldn't submit. Sent ticket to submittable. I first sent it on time by the deadline. I want to be evaluated please @Meta

Happening AI's profile picture
Happening AI1 year ago

Keep up the good work 💪

Poetica's profile picture
Poetica1 year ago

please add 3.1 70b 🥹

Related Videos

Open science is how we continue to push technology forward and today at Meta FAIR we’re sharing eight new AI research artifacts including new models, datasets and code to inspire innovation in the community. More in the video from Joelle Pineau. This work is another important step towards our goal of achieving Advanced Machine Intelligence (AMI). What we’re releasing: • Meta Spirit LM: An open source language model for seamless speech and text integration. • Meta Segment Anything Model 2.1: An updated checkpoint with improved results on visually similar objects, small objects and occlusion handling. Plus a new developer suite to make it easier for developers to build with SAM 2. • Layer Skip: Inference code and fine-tuned checkpoints demonstrating a new method for enhancing LLM performance. • SALSA: New code to enable researchers to benchmark AI-based attacks in support of validating security for post-quantum cryptography. • Meta Lingua: A lightweight and self-contained codebase designed to train language models at scale. • Meta Open Materials: New open source models and the largest dataset of its kind to accelerate AI-driven discovery of new inorganic materials. • MEXMA: A new research paper and code for our novel pre-trained cross-lingual sentence encoder with coverage across 80 languages. • Self-Taught Evaluator: a new method for generating synthetic preference data to train reward models without relying on human annotations. Access to state-of-the-art AI creates opportunities for everyone. We’re excited to share this work and look forward to seeing the community innovation that results from it. Details and access to everything released by FAIR today ➡️

AI at Meta

150,222 views • 1 year ago