[KongchangAI]
ProductMetal API / Apple Metal

Metal

A low-level graphics and compute API introduced by Apple in 2014, deeply optimized for Apple platform hardware. It communicates directly with the GPU to provide low CPU overhead and high rendering throughput, and supports custom shader programming.

Core Facts

Timeline (last 90 days)

Oct 28

The core change in v0.40.13-rc1 is a temporary compatibility patch for the Metal backend, used to fix crashes caused by failure to compile the unary library on older versions of macOS.

Unverified50%
Oct 28

After upgrading to v0.40.13-rc1, Metal inference on older versions of macOS should return to normal.

Unverified50%
Oct 28

This patch only targets the Metal backend and does not constitute a general solution for similar library compilation errors on other platforms (such as the CUDA and Vulkan backends).

Unverified50%
Oct 28

The unary library refers to a set of Metal kernels that carry element-wise unary operations (such as negation, absolute value, exponentiation, etc.).

Unverified50%
Oct 28

At runtime, ggml dynamically compiles Metal compute kernels, in the form of source-code strings, into libraries callable by the GPU, a mechanism known as runtime compilation.

Unverified50%
Oct 28

Through the Metal backend of the ggml tensor computation library, llama.cpp offloads inference workloads such as matrix operations to the Mac's GPU for execution.

Unverified50%
Oct 28

This regression only affects older versions of macOS, with no triggering conditions on newer systems.

Unverified50%
Oct 27

Apple provides Core ML, Metal and the MLX framework launched in recent years in macOS and iOS for local model deployment.

Unverified50%
Oct 24

FlyEnv's llama.cpp plugin supports installing and retaining multiple Metal runtime versions coexisting side by side.

Unverified50%
Oct 23

When mapping GameCube's GX graphics instructions to modern graphics APIs (Vulkan, Metal), AI can assist in generating shader conversion code and state management logic, but developers still ultimately need to verify the correctness of rendering results.

Unverified50%

40 more timeline events

All Facts (20)

Verified

llama.cpp是由Georgi Gerganov开发的纯C/C++推理引擎,支持在纯CPU环境下运行大模型

90%
Verified

Metal is a low-level graphics API introduced by Apple in 2014, optimized specifically for Apple hardware.

80%
Verified

llama.cpp supports GPU acceleration backends including Metal, CUDA, Vulkan, and SYCL.

80%
Verified

Ollama automatically detects NVIDIA GPUs in the system and selects the optimal inference backend (CUDA, Metal, or pure CPU), and achieves GPU acceleration for Apple Silicon users via the Metal API.

80%
Verified

llama.cpp is a highly optimized C++ inference engine that supports Metal acceleration for Apple Silicon, CUDA acceleration for NVIDIA, and ROCm acceleration for AMD.

80%
Verified

GPUI is the GPU-accelerated rendering framework used by the code editor Zed, implementing rendering on macOS via Metal.

75%
Verified

Metal is Apple's low-level GPU computing interface designed for its hardware, analogous to CUDA in the NVIDIA ecosystem.

75%
Verified

llama.cpp supports GPU acceleration via CUDA for NVIDIA GPUs, ROCm for AMD GPUs, and Metal for Apple Silicon, and also supports pure CPU inference.

70%
Verified

llama.cpp has evolved into a general-purpose local inference framework covering multiple backends including CPU, CUDA, Metal, and Vulkan.

65%
Verified

The Metal API is a low-level graphics interface introduced by Apple in 2014, replacing OpenGL.

65%
Verified

Metal is a low-level graphics API introduced by Apple in 2014 that can reduce CPU overhead by approximately 40% compared to traditional OpenGL ES.

65%
Unverified

Apple Silicon M-series unified memory architecture allows CPU and GPU to share the same physical memory, eliminating data copy overhead beneficial for LLM inference

90%
Unverified

Porting Metal kernels to CUDA is not a simple syntax translation; it involves unified memory model data residency assumptions, threadgroup-to-threadblock mapping, and redesigning register and shared memory utilization strategies for quantization and dequantization.

70%
Unverified

Simultaneous support for Metal, CUDA, and ROCm is uncommon among open-source inference projects

70%
Unverified

WebGPU introduces compute shader capabilities comparable to Vulkan/Metal/D3D12, enabling general-purpose GPU computing (GPGPU).

60%
Unverified

ds4 is written in pure C with native support for Metal, CUDA, and ROCm backends

60%
Unverified

This regression only affects older versions of macOS, with no triggering conditions on newer systems.

50%
Unverified

Through the Metal backend of the ggml tensor computation library, llama.cpp offloads inference workloads such as matrix operations to the Mac's GPU for execution.

50%
Unverified

At runtime, ggml dynamically compiles Metal compute kernels, in the form of source-code strings, into libraries callable by the GPU, a mechanism known as runtime compilation.

50%
Unverified

The unary library refers to a set of Metal kernels that carry element-wise unary operations (such as negation, absolute value, exponentiation, etc.).

50%

Source Articles