Ci bi mu melGis bi ci topp
Baamtu Penalty ak Dekodage Kontrol
IA làkk
Làkk AI GUIDE
Medusa xeetu dekodaasu speculatif la buy boole ay 'bopp' yuy wax luy waaja am ci benn xeetu làkk suko defee mu mëna xayma ay jeton yu bari ci ëlëg benn yoon.
Déglul tegtal biiIA-nettali · ~2 min
Soo xoolee bu baax xalaat yooyu ci benn yoon, dafay gaaw defar mbind lu tollu ci 2-3x te du soppi distribution bi ci model bi.
Normal language models generate one token per forward pass, which is slow because each step must wait for the previous one. Medusa adds lightweight feed-forward heads on top of the frozen base model; each head predicts a token a few positions ahead (head 1 predicts the next token, head 2 the token after, and so on). These predictions form a tree of candidate continuations. The full model then verifies the whole tree in one pass using a 'tree attention' mask, accepting the longest prefix that matches what the model would have produced anyway. For Medusa-1, the backbone stays frozen and original-model rejection sampling can preserve the base model's output distribution, enabling lossless inference acceleration. Medusa-2 jointly trains the heads and backbone with a special recipe that preserves the backbone's next-token capability while improving head prediction. The paper also studies typical acceptance, which can increase acceptance and maintain similar generation quality but does not make the same exact distribution-matching guarantee.
Dagg tontu chatbot latency ci nangu jetons yu bari yuñ firndeel ci pass forward bu nekk
Gaawaale ndimmbalu matt kode fu ñu mëna seentu token yu yomb di xalaat
Wàññi njëgu inference ngir API LLM yu bari trafik te duñu dugal benn xeetu projet bu wuute
Gaawaale defar mbind yu gudd yu melni ay resumé boole ci tëye génne gi mu méngoo ak dekodaas buñ miin
Decodage speculatif mingi nekk standard ci stack inference yi, ak jegewaale yu nekk ci seen bopp yu melni Medusa, yu moytu soxla modelu projet bu wuute, dañuy xëcc nit ñi ndax ñoo gëna yomba jëfandikoo. Liggéeyu ëlëg dafay boole boppu yu nuroo ak Medusa ak xam-xam bu nuroo ak EAGLE, tabax garab gu gëna baax, ak xool bu baax ci hardware. Xaarandi lëkkaloo bu gëna dëgër ci biir kaadar yiy liggéey, tuning otomatik ci jëmmu garab ci liggéey bu nekk, ak boole ak KV-cache compression suko defee latency wàññeeku te du am yeneen GPU wala ñàkka am kalite.
Bulletin bu amul fayda
Ñatti jaar-jaari IA yuñ firndeel bis bu nekk ci ayu-bis bi, ñu bind leen ci Àngle bu leer. Gratis ba fàww, amul yëgle.
Benn email bis bu nekk ci ayu-bis bi. Benn klik nga dindi abonemaa bi. Dunu musa jaay wala séddoo sa adres.
Nattal sa bopp
Feedback ci saasi ci bépp tontu, ak sertifikaa buñ mëna séddoo ak ID buñ mëna saytu soo jàllee ci njàng mi.
Jàppale njàngum IA te doo fay. AI Understanding mbootaay la buy def te Yàlla tax — amul yëgle, amul paywall, musul am. Defal ab sarax
Medusa xeetu dekodaasu speculatif la buy boole ay 'bopp' yuy wax luy waaja am ci benn xeetu làkk suko defee mu mëna xayma ay jeton yu bari ci ëlëg benn yoon. Soo xoolee bu baax xalaat yooyu ci benn jéego, dafay gaaw defar mbind lu tollu ci 2-3x te du soppi distribution bi ci model bi.
Boppu Medusa bu nekk dafay wax luy waaja am ci position yu bari ci ëlëg, kon mën nañu proposer ay token yu bari benn yoon.
The Medusa paper identifies Medusa-1, which freezes the backbone, as enabling lossless acceleration; exact rejection sampling verifies accepted candidates against the base model distribution.
Candidat yi dañuy forme garab, masku bàyyi xel ci garab gi dafay may modelu base bi mu xool bépp car ci benn jéego bu jëm kanam.
Medusa dafay takk bopp yu woyof yi ci model bi fi nekk, kon jarul ñu tàggat ak liggéey ci reso bu wuute.
Medusa dafay wàññi lu tollu ci 2 ba 3 yoon ci latency bi, lépp di aju ci ni liggéey bi di doxee.
Weyal di jàng
Tann nañu yeneen njiit ngir topic bii
Ci bi mu melGis bi ci topp
Baamtu Penalty ak Dekodage Kontrol
IA làkk