Add NeuronxDistributedInference support, Speculative Decoding, Dynamic on-device sampling (#16357)

Signed-off-by: Satyajith Chilappagari <satchill@amazon.com>
Co-authored-by: Aaron Dou <yzdou@amazon.com>
Co-authored-by: Shashwat Srijan <sssrijan@amazon.com>
Co-authored-by: Chongming Ni <chongmni@amazon.com>
Co-authored-by: Amulya Ballakur <amulyaab@amazon.com>
Co-authored-by: Patrick Lange <patlange@amazon.com>
Co-authored-by: Elaine Zhao <elaineyz@amazon.com>
Co-authored-by: Lin Lin Pan <tailinpa@amazon.com>
Co-authored-by: Navyadhara Gogineni <navyadha@amazon.com>
Co-authored-by: Yishan McNabb <yishanm@amazon.com>
Co-authored-by: Mrinal Shukla <181322398+mrinalks@users.noreply.github.com>
This commit is contained in:
Satyajith Chilappagari
2025-05-07 00:07:30 -07:00
committed by GitHub
co-authored by Aaron Dou Shashwat Srijan Chongming Ni Amulya Ballakur Patrick Lange Elaine Zhao Lin Lin Pan Navyadhara Gogineni Yishan McNabb Mrinal Shukla
parent ba7703e659
commit 043e4c4955
15 changed files with 1622 additions and 101 deletions
+2 -4
View File
@@ -399,10 +399,8 @@ class LLMEngine:
self.scheduler,
self.seq_counter,
get_tokenizer_for_seq,
stop_checker=StopChecker(
self.scheduler_config.max_model_len,
get_tokenizer_for_seq,
),
stop_checker=StopChecker(self.scheduler_config.max_model_len,
get_tokenizer_for_seq),
))
self.seq_id_to_seq_group: Dict[str, SequenceGroupBase] = {}