arXiv:2611.20409v1 cs.AR

Mamba-3를 위한 통합 GPU 코어

Integrated GPU Core for Mamba-3

Shiva Raja, William Desueza, Ajay Joshi

제출 2026-11-16

한국어 초록

최신 Mamba 상태공간모델(SSM)인 Mamba-3는 효율적인 장문맥 모델링을 가능하게 하며, 절반의 상태 크기로 Mamba-2와 동등한 퍼플렉서티를 달성하고 디코딩 연산 강도를 높인다. 그러나 다중 입력 다중 출력(MIMO) 연산, 지수-사다리꼴 이산화, 회전 위치 임베딩(RoPE)은 밀집적이고 원소별이며 순차적인 연산을 도입한다. 커널 융합에도 불구하고 기존 GPU는 이러한 연산을 비효율적으로 실행한다. Mamba-3 하이브리드 모델을 분석한 결과, 수많은 커널 실행, 상당한 데이터 이동, 그리고 워프 점유율과 메모리 지연 은닉을 저하시키는 레지스터 압력 증가가 확인되었다. 우리는 Mamba-3 추론을 위한 전용 GPU 실행 유닛 RescuCore를 제안하며, 하이브리드 모델의 다른 계층은 기존 GPU 자원에 유지한다. RescuCore는 각 스트리밍 멀티프로세서(SM) 서브파티션 내에서 CUDA 코어 및 텐서 코어와 함께 통합되어 레지스터 파일, 공유 메모리, 워프 스케줄러를 공유한다. 밀집 투영은 기존 GPU 자원에 남고, RescuCore는 이산화, 정규화, RoPE, MIMO 연산, 순환 상태 갱신, 출력 게이팅을 파이프라인화하여 커널 파편화와 중간 데이터 이동을 줄인다. 여러 수치 형식을 평가한 후 BF16을 선택하였으며, 이는 상태 크기 32와 MIMO 랭크 4에서 A100 다이의 추정 면적 오버헤드 5.9%로 모델 정확도를 보존한다. 우리는 사이클 정확 Accel-Sim 시뮬레이션, RTL 합성, 합성 정보 기반 AccelWattch 전력 모델링으로 RescuCore를 평가한다. 기존 GPU 실행과 비교하여 RescuCore는 프리필 동안 1.4~9.4배의 속도 향상과 1.4~5.0배의 에너지 절감을, 자기회귀 디코딩 동안 1.3~2.8배의 속도 향상과 1.2~2.6배의 에너지 절감을 달성한다. 이러한 결과는 SSM 기반 하이브리드 모델을 위한 GPU 통합 전용 실행의 잠재력을 보여 준다.

원문 초록

Mamba-3, the latest Mamba state-space model (SSM), enables efficient long-context modeling, matching Mamba-2 perplexity with half the state size and increasing decoding arithmetic intensity. However, its multi-input multi-output (MIMO) computation, exponential-trapezoidal discretization, and rotary positional embeddings (RoPE) introduce dense, element-wise, and sequential operations. Despite kernel fusion, conventional GPUs execute these operations inefficiently. Our characterization of Mamba-3 hybrid models reveals numerous kernel launches, substantial data movement, and increased register pressure that reduces warp occupancy and memory-latency hiding. We propose RescuCore, a specialized GPU execution unit for Mamba-3 inference that retains other hybrid model layers on existing GPU resources. Integrated alongside CUDA Cores and Tensor Cores within each Streaming Multiprocessor (SM) sub-partition, RescuCore shares the register file, shared memory, and warp schedulers. Dense projections remain on conventional GPU resources, while RescuCore pipelines discretization, normalization, RoPE, MIMO computation, recurrent state updates, and output gating to reduce kernel fragmentation and intermediate data movement. We select BF16 after evaluating multiple numerical formats, preserving model accuracy with an estimated area overhead of 5.9% of an A100 die for state size 32 and MIMO rank 4. We evaluate RescuCore using cycle-accurate Accel-Sim simulation, RTL synthesis, and synthesis-informed AccelWattch power modeling. Compared with conventional GPU execution, RescuCore achieves 1.4-9.4x speedup and 1.4-5.0x energy reduction during prefill, and 1.3-2.8x speedup and 1.2-2.6x energy reduction during autoregressive decoding. These results demonstrate the potential of GPU-integrated specialized execution for SSM-based hybrid models.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2611.20409v1

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.