spec : Step3.5/3.7 flash mtp3 지원 ([#24340](https://github.com/ggml-org/llama.cpp
요약
llama.cpp 프로젝트에서 Step3.5/3.7 Flash MTP3 지원을 위한 업데이트가 진행되었습니다. MTP 레이어 오프셋 추가, 추측적 멀티 헤드(speculative multi-head) 프로세스 구현 등 추론 성능 최적화를 위한 다양한 API와 기능이 포함되었습니다.
핵심 포인트
- Step3.5/3.7 Flash MTP3 지원을 위한 API 및 기능 추가
- 추측적 멀티 헤드(speculative multi-head) 프로세스 및 draft 기능 구현
- MTP 레이어 오프셋 및 그래프 재사용을 위한 플래그 도입
- macOS, iOS, Linux 등 다양한 플랫폼용 바이너리 업데이트
spec : Step3.5/3.7 flash mtp3 지원 (#24340)
-
mtp_layer_offset 추가 + 그래프 재사용 (graph reuse) 시 nextn 플래그 포함
-
llama_set_mtp_layer_offset + llama_model_n_nextn_layer API 추가
-
헤드 선택 오프셋 (offset head select) + 모든 MTP 블록 요구
-
추측적 멀티 헤드 (speculative multi-head) process()
-
추측적 멀티 헤드 (speculative multi-head) draft()
-
inp_out_ids를 통한 출력 수집 (gather outputs)
-
정리 (cleanup)
-
코어 수정 (fix core)
-
사소한 정리 (minor cleanup)
-
draft_multi_head를 draft()로 병합
-
mtp의 nextn 이름 변경
-
코드 리뷰 제안 사항 적용
Co-authored-by: Aman Gupta amangupta052@gmail.com
-
주석 정리
-
멀티 시퀀스 (multi seq)를 위한 수정
-
제안 사항 적용 && chain-heads 주석
-
chain_heads 논의에 대한 참조 추가
Co-authored-by: Aman Gupta amangupta052@gmail.com
macOS/iOS:
- macOS Apple Silicon (arm64)
- macOS Apple Silicon (arm64, KleidiAI 활성화) 비활성화됨 (DISABLED)
- macOS Intel (x64)
- iOS XCFramework
Linux:
Linux:
- Ubuntu x64 (CPU)
- Ubuntu arm64 (CPU)
- Ubuntu s390x (CPU)
- Ubuntu x64 (Vulkan)
- Ubuntu arm64 (Vulkan)
- Ubuntu x64 (ROCm 7.2)
- Ubuntu x64 (OpenVINO)
- Ubuntu x64 (SYCL FP32)
- Ubuntu x64 (SYCL FP16)
Android:
Windows:
Windows:
- Windows x64 (CPU)
- Windows arm64 (CPU)
- Windows arm64 (OpenCL Adreno)
- Windows x64 (CUDA 12) - CUDA 12.4 DLLs
- Windows x64 (CUDA 13) - CUDA 13.3 DLLs
- Windows x64 (Vulkan)
- Windows x64 (OpenVINO)
- Windows x64 (SYCL)
- Windows x64 (HIP)**
openEuler:
- DISABLED
- openEuler x86 (310p)
- openEuler x86 (910b, ACL Graph)
- openEuler aarch64 (310p)
- openEuler aarch64 (910b, ACL Graph)**
UI:
AI 자동 생성 콘텐츠
본 콘텐츠는 llama.cpp Releases의 원문을 AI가 자동으로 요약·번역·분석한 것입니다. 원 저작권은 원저작자에게 있으며, 정확한 내용은 반드시 원문을 확인해 주세요.
원문 바로가기