arXiv:2608.00029v3 cs.AI

Nova: 딥러닝을 위한 엔드투엔드 MLIR 컴파일러

Nova: An End-to-End MLIR Compiler for Deep Learning

Adwaid Suresh, Aparna A, Harshini V M, Jona Delcy C A, Killi Uma Maheswara Rao, Ram Charan Golla, Surendra Vendra

제출 2026-07-15

한국어 초록

대규모 심층 학습(deep learning) 모델의 성능은 고수준 수학 연산이 하부 물리 하드웨어에 얼마나 효과적으로 매핑되느냐에 크게 좌우된다. 고수준 텐서(tensor) 프레임워크는 유연한 추상화를 제공하지만, 그 실행 모델은 본질적으로 하드웨어 활용도를 극대화하는 데 필요한 전체 그래프 가시성이 부족하며, 이 때문에 어텐션(Attention)과 같은 복잡한 연산에서는 내부를 알 수 없는 수작업 커널(kernel) 라이브러리에 의존하게 되는 경우가 많다. 이러한 간극을 해소하기 위해, 본 논문은 연산의 구조로부터 미세 단위(fine-grained) 커널을 직접 합성하여 하드웨어 매핑에 대한 완벽한 제어를 달성하는 자동화된 엔드투엔드 JIT 컴파일러인 Nova의 차기 버전을 제시한다. 본 연구에서는 Nova의 컴파일 파이프라인을 확장하여 완전한 트랜스포머(Transformer) 아키텍처를 네이티브로 지원하도록 한다. Nova는 eager 실행을 캡처하고 순전파와 역전파를 단일 값 의미론(value-semantic) 다이얼렉트로 통합함으로써 과감한 전체 그래프 최적화(optimization)를 가능하게 한다. Nova는 경직된 사전 컴파일 라이브러리 호출에 의존하는 대신 광범위한 연산자 간 융합에 집중하여, 복잡한 인과적 어텐션 서브그래프, 요소별(element-wise) 연산, 메모리 바운드 정규화(normalization)를 단일 융합 커널로 직접 결합함으로써 전역 메모리 왕복을 대폭 줄인다. Ada 6000 GPU에서 전체 GPT-2 아키텍처를 학습(training)하는 평가에서, Nova는 자체 eager 실행의 406K 토큰/초 및 torch.compile의 405K 토큰/초에 비해 평균 441K 토큰/초를 기록하며 우수한 엔드투엔드 처리량을 입증하였다. Nova는 컴파일러 네이티브 융합을 통해 메모리 바운드 오버헤드를 대폭 줄임으로써 수치적 동등성을 엄격하게 유지하면서도 최신 하드웨어에서 효율적인 전체 대규모 언어 모델(LLM) 컴파일을 가능하게 한다.

원문 초록

The performance of deep learning models at scale relies heavily on how effectively high-level mathematical operations are mapped to underlying physical hardware. While high-level tensor frameworks provide flexible abstractions, their execution models inherently lack the whole-graph visibility required to maximize hardware utilization, often forcing a reliance on opaque, hand-written kernel libraries for complex operations like Attention. To bridge this gap, we present the next iteration of Nova, an automated end-to-end JIT compiler that achieves absolute control over hardware mapping by synthesizing fine-grained kernels directly from the computation's structure. In this work, we extend Nova's compilation pipeline to natively support full Transformer architectures. By capturing eager executions and unifying forward and backward passes into a single value-semantic dialect, Nova unlocks aggressive whole-graph optimizations. Rather than relying on rigid, pre-compiled library calls, Nova focuses on extensive cross-operator fusions, collapsing complex causal attention sub-graphs, element-wise operations, and memory-bound normalizations directly into single fused kernels to drastically reduce global memory roundtrips. In our evaluations training a full GPT-2 architecture on Ada 6000 GPUs, Nova demonstrates superior end-to-end throughput, averaging 441K tokens/second compared to 406K for our own eager execution and 405K for torch.compile. By drastically reducing memory-bound overheads through compiler-native fusion, Nova enables efficient full LLM compilation on modern hardware while strictly maintaining numerical parity.

제출 이력

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

  1. arXiv:2608.00029v3제출 시각 미확인
  2. arXiv:2608.00029v1제출 시각 미확인

함께 살펴볼 논문

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

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

토론

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