AI Daybook
AI Daybook
오늘의 지면
논문오픈소스·도구

Tideway, 소비자 기기에서 MoE 추론 위한 계층 메모리 관리

Tideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices

매체
Hugging Face
게시
중요도
2/5
화제 지수
15

한국어 요약

Tideway는 GPU VRAM과 호스트 RAM을 통합 메모리 풀로 관리하고 프리필·디코드의 서로 다른 접근 패턴에 맞춰 메모리 레이아웃을 적응시켜 소비자 PC에서 대규모 MoE 모델을 효율적으로 실행한다. 최고 기준 대비 평균 1.97배 종단 지연시간·2.40배 첫 토큰 시간 단축을 달성한다.

원문 발췌 · English

Large language model (LLM) agents are rapidly becoming a dominant paradigm for AI applications. Recently, there is a growing demand to deploy large-scale Mixture-of-Experts (MoE) models locally on consumer PCs to balance data privacy, API costs, and inference efficiency. However, unlike datacenter servers with abundant DRAM, consumer devices are tightly constrained in both GPU VRAM and host RAM, forcing massive MoE weights to spill across VRAM, host RAM, and SSD. Under such spilling, we observe that existing systems fail to fully utilize this memory hierarchy, treating the tiers as independent caches and thrashing in inference. We present TIDEWAY, a system for efficient inference of large MoE models on memory-constrained consumer devices. Our core insight is to manage host RAM and GPU VRAM as a unified memory pool. Within this pool, TIDEWAY couples phase-aware memory layouts, which adapt to the distinct access patterns of prefill and decode, with an execution engine that optimizes CUDA Graph execution under expert paging. Our evaluations on representative consumer hardware with frontier MoE models demonstrate that TIDEWAY significantly outperforms state-of-the-art systems. On average, TIDEWAY achieves speedups of 1.97x in end-to-end latency and 2.40x in Time-to-First-Token (TTFT), along with 1.61x higher decode throughput against the fastest baseline. Our source code is publicly available at https://github.com/Afterglow231/Tideway .

#inference#moe#memory-management#consumer-devices
원문 기사 읽기
전체 보기 →