Cascadia: 11대의 AI PC에서 수행하는 상주형 975B MoE 추론
Cascadia: Resident 975B MoE Inference on Eleven AI PCs
한국어 초록
서빙 시스템이 가중치(weight)를 분산하고 실행을 조율할 수 있다면, 전문가 혼합(MoE) 모델은 희소한(sparse) 토큰당 연산을 통해 1조 개에 가까운 매개변수 용량을 실현할 수 있습니다. 본 논문에서는 64GB 메모리, Arc B390 내장 그래픽, 기가비트 이더넷을 각각 갖춘 11대의 Intel Core Ultra X7 358H AI PC에서 총 9,750억 개(활성 매개변수 410억 개) 매개변수 모델인 Inkling을 상주 실행하는 Cascadia를 제시합니다. 본 연구는 Inkling의 라우팅 규칙을 보존하고 OpenVINO의 융합 iGPU 프리미티브를 위한 압축 그래프를 구성하며 FP16 전문가 연산과 FP32 출력 복원을 조율하는 커스텀 상주형 MoE 엔진을 제공합니다. 이 엔진은 머신당 6개의 연속된 디코더 층(layer)을 적재하고 밀집 피드포워드 블록을 전체 활성 전문가 슬라이스로 표현하여, 측정된 밀집 층 호출 시간을 약 8.1ms에서 4.5ms로 단축합니다. 스트리밍 파이프라인은 동시 생성을 조율하며, 캡처된 상태의 드래프트 평가는 배포된 수치 경로와의 일치도를 측정합니다. 1개부터 176개 스트림까지 15가지 동시성 수준에서의 쌍체 측정 결과, 88개 스트림에서 집합 디코드 속도는 60.29 토큰/초에 도달하며 전체 서빙 단계에 걸쳐서는 46.87 토큰/초를 기록합니다. 15개 스트림에서 첫 번째 토큰 지연 시간의 중앙값은 6.05초입니다. 컨텍스트 예산을 기본 1,024개 위치에서 늘렸을 때, 1k에서 64k 토큰 사이의 실제 프롬프트는 측정된 19개 답변 모두에서 임베딩된 코드를 복원하며, 스트림당 512k 위치를 유지할 수 있는 메모리가 아닌 단일 스레드 CPU 어텐션(attention) 루프에 의해 제한되어 첫 번째 토큰 시간은 $aN+bN^2$로 증가하고 디코드 지연 시간은 대략 선형으로 증가합니다. 캡처된 플릿 상태에 대한 평가는 드래프트 일치도에 미치는 어휘 선택과 가중치 양자화(quantization)의 영향을 분리합니다. 종합적으로, 이러한 기여는 CPU-GPU 공유 메모리를 갖춘 분산형 클라이언트 시스템에서 대규모 희소 모델을 실행하고 평가하는 접근 방식을 확립합니다.
원문 초록
Mixture-of-experts models make nearly trillion-parameter capacity accessible with sparse per-token computation, provided that the serving system can distribute the weights and coordinate their execution. We present Cascadia's resident execution of Inkling, a 975B-total/41B-active-parameter model, on eleven Intel Core Ultra X7 358H AI PCs, each with 64 GB of memory, Arc B390 integrated graphics and gigabit Ethernet. We contribute a custom resident MoE engine that preserves Inkling's routing rules, constructs compressed graphs for OpenVINO's fused iGPU primitives, and coordinates FP16 expert computation with FP32 output restoration. The engine fits six consecutive decoder layers per machine and represents dense feed-forward blocks as all-active expert slices, reducing measured dense-layer call time from approximately 8.1 to 4.5 ms. A streaming pipeline coordinates concurrent generation, while captured-state draft evaluation measures agreement with the deployed numerical path. Paired measurements at fifteen concurrency levels from 1 to 176 streams reach 60.29 aggregate decode tokens/s at 88 streams, with 46.87 tokens/s over the complete serving phases. At fifteen streams, median first-token latency is 6.05 s. Raising the context budget from the 1,024-position default, real prompts of 1k to 64k tokens recover the embedded code in all 19 measured answers, with first-token time growing as $aN+bN^2$ and decode latency growing approximately linearly, both bounded by a single-threaded CPU attention loop rather than by memory, which holds 512k positions per stream. Evaluation on captured fleet states separates the effects of vocabulary selection and weight quantization on draft agreement. Together, these contributions establish an execution and evaluation approach for large sparse models on distributed client systems with shared CPU-GPU memory.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.