一键导入
mlx-metal-kernels
Guide MLX Metal profiling, mx.fast escalation, custom Metal kernels, and C++ extensions when profiling proves kernel-level bottlenecks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide MLX Metal profiling, mx.fast escalation, custom Metal kernels, and C++ extensions when profiling proves kernel-level bottlenecks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Optimize Python MLX inference and generation loops with warmup, batching, cache handling, synchronization, quantization, and memory checks.
Route Python-first MLX optimization work on Apple Silicon to focused audit, training, inference, Metal, or bridge workflows.
Audit Python MLX repos for lazy-eval, synchronization, compile, dtype, memory, progress, and benchmark issues.
Advise on Python-first MLX integration with Swift, C, C++, and non-native language boundaries.
Optimize Python MLX training loops with value_and_grad, accumulation, checkpointing, dtype, validation cadence, memory telemetry, and progress reporting.
| name | mlx-metal-kernels |
| description | Guide MLX Metal profiling, mx.fast escalation, custom Metal kernels, and C++ extensions when profiling proves kernel-level bottlenecks. |
Use this skill only after normal MLX-level issues have been checked or when the user explicitly asks about Metal capture, custom kernels, or native extensions.
Before any Python execution, use the target repo's .venv. Never install
Python packages globally.
../../references/profiling-and-metal.md../../references/memory-and-dtypes.md../../references/compile-and-transforms.mdmx.fast, custom Metal kernels, or C++ extensions only when the
operation is a measured bottleneck and built-in MLX ops are insufficient.State whether custom native work is justified, which evidence supports that decision, and what maintenance burden it creates.