Find why MNN CPU inference is slow by examining threads, scheduling, memory layout, and the processor instruction path actually used. Operator-level measurements and comparisons with other inference frameworks help identify which layer needs improvement across ARM, x86_64, and RISC-V.
- Investigate slow CPU operators or LLM inference
- Diagnose thread count and memory usage anomalies
- Locate the cause of a performance regression
alibaba/MNN☆ 16.2KUpdated Oct 16, 2026
Run language models locally with llama.cpp on CPUs, Apple Silicon, or AMD and Intel GPUs. The skill guides model setup, memory-saving GGUF format choices, interactive chat, and serving models through an OpenAI-compatible API.
- Running a language model on a CPU-only computer
- Setting up local chat on an Apple Silicon Mac
- Choosing model quantization to fit available memory
davila7/claude-code-templates☆ 32.8KUpdated Oct 18, 2026
Guides you through running large language models on CPUs, Apple Silicon, and AMD or Intel GPUs. Covers choosing GGUF model files, reducing memory through quantization, and starting an OpenAI-compatible chat server.
- Running a local LLM on an Apple Silicon Mac
- Trying LLM inference on a CPU-only machine
- Choosing a model format that fits available memory
Orchestra-Research/AI-Research-SKILLs☆ 13.7KUpdated Oct 11, 2026
Convert LLMs to GGUF and reduce model size through quantization, which stores weights at lower numerical precision. Prepare models for CPU or Apple Silicon inference, compare compression levels, and integrate them with local AI tools.
- Preparing an LLM for CPU-only use
- Running a local model on Apple Silicon
- Comparing model size and quality across quantization levels
davila7/claude-code-templates☆ 32.8KUpdated Oct 18, 2026
Convert language models to GGUF and reduce their size through quantization, which stores model weights at lower precision. Guides cover compression choices, local inference on CPUs and Apple Silicon, and integration with tools such as Ollama.
- Running a language model on a CPU-only computer
- Choosing model compression for available memory
- Configuring Metal acceleration on Apple Silicon
Orchestra-Research/AI-Research-SKILLs☆ 13.7KUpdated Oct 11, 2026
Diagnose errors and incorrect inference results in MNN's QNN backend for Qualcomm HTP processors. Compare intermediate calculation data against CPU results to locate the first faulty operator, distinguish bugs from precision limits, and guide operator support and performance fixes.
- Investigate QNN runtime and model conversion errors
- Find the first operator producing incorrect results
- Distinguish implementation bugs from numerical precision limits
alibaba/MNN☆ 16.2KUpdated Oct 16, 2026
Improve MNN's Vulkan backend by separating CPU scheduling bottlenecks from GPU computation costs. It guides operator and shader changes, new feature integration with compatibility fallbacks, and device testing to verify both correctness and end-to-end performance.
- Finding CPU or GPU bottlenecks in Vulkan inference
- Optimizing a specific operator or shader
- Integrating cooperative matrix or subgroup features
alibaba/MNN☆ 16.2KUpdated Oct 16, 2026
Build data processing pipelines for machine learning, from preprocessing to batch predictions. Uses Ray Data to handle datasets larger than memory, distribute work across CPUs and GPUs, and feed data into training frameworks.
- Preprocessing datasets larger than memory
- Running batch predictions across multiple GPUs
- Preparing image and tabular data for training
davila7/claude-code-templates☆ 32.8KUpdated Oct 18, 2026
Build data processing pipelines for machine learning, from preprocessing to batch predictions. Uses Ray Data to handle datasets larger than memory, distribute work across CPUs and GPUs, and feed data into training frameworks.
- Preprocessing datasets larger than memory
- Running batch predictions across multiple GPUs
- Preparing image and tabular data for training
Orchestra-Research/AI-Research-SKILLs☆ 13.7KUpdated Oct 11, 2026
Connect applications to NEAR AI Cloud for AI responses generated in protected computing environments. Use its OpenAI-compatible API and follow the verification flow for hardware proofs and response signatures to check which protected environment signed a response.
- Connecting a chat app to the OpenAI-compatible API
- Verifying GPU and CPU execution environment proofs
- Checking response signatures against verified signing addresses
internet-court/internet-court-skill☆ 6.8KUpdated Aug 20, 2026
Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.
The English summary is being prepared. Showing the original description.
huang-sh/DeepScience☆ 4Updated Jul 15, 2026
Create or update Kubernetes YAML configuration files for GKE Autopilot and Standard. Translates application requirements into manifests covering container permissions, CPU and memory allocation, health checks, storage, external routing, and GPU resources for AI model serving.
- Creating GKE application deployment manifests
- Reviewing container security and resource settings
- Configuring external routes with GKE Gateway API
google/skills☆ 21.4KUpdated Oct 17, 2026
Guide MNN Metal backend development and optimization, from finding performance bottlenecks to changing GPU computation, combining operators, and adjusting execution scheduling. A task-based document index directs work toward relevant implementation rules, benchmarks, and correctness checks.
- Finding bottlenecks in Metal inference
- Adding or modifying Metal kernels
- Combining operators into one GPU dispatch
alibaba/MNN☆ 16.2KUpdated Oct 16, 2026
Executa inferência de LLM em CPU, Apple Silicon e GPUs consumer sem hardware NVIDIA. Use para edge deployment, Macs M1/M2/M3, GPUs AMD/Intel ou quando CUDA não está disponível. Suporta quantização GGUF (1,5-8 bits) para redução de memória e aceleração de 4-10× vs PyTorch em CPU.
The English summary is being prepared. Showing the original description.
artubss/SKILLS-CLAUDE-CODE☆ 11Updated May 17, 2026
Integrate Flash Attention into Transformer models to speed up attention, the calculation that relates input elements, while reducing GPU memory use. Covers PyTorch integration, performance measurement, output comparison, and a separate H100 optimization path.
- Optimize training with long input sequences
- Reduce memory use during long-context inference
- Measure speed and compare model outputs
NousResearch/hermes-agent☆ 255.2KUpdated Oct 19, 2026
Set up machine learning training and inference on NVIDIA DGX Spark. Get guidance on choosing containers and packages, resolving CUDA compatibility errors, and checking that PyTorch can access the GPU before starting a workload.
- Setting up a new DGX Spark for training or inference
- Diagnosing CUDA compatibility and import errors
- Choosing between containers and direct pip installation
wshobson/agents☆ 41.1KUpdated Oct 19, 2026
Guides you through setting up RWKV, generating text, processing long documents in chunks, and fine-tuning models. Explains how to carry context between steps and compare memory use with Transformer models.
- Build streaming text generation
- Process long documents in chunks
- Plan RWKV fine-tuning
Orchestra-Research/AI-Research-SKILLs☆ 13.7KUpdated Oct 11, 2026
GGUF format and llama.cpp quantization for efficient CPU/GPU inference. Use when deploying models on consumer hardware, Apple Silicon, or when needing flexible quantization from 2-8 bit without GPU requirements.
The English summary is being prepared. Showing the original description.
huang-sh/DeepScience☆ 4Updated Jul 15, 2026
Set up and optimize large language model inference, or response generation, on NVIDIA GPUs. Use quantization, batch processing, and multiple GPUs to improve serving performance, and expose models through a chat completion API.
- Serving a language model through a chat completion API
- Processing many prompts in batches
- Configuring quantization to reduce memory use
NousResearch/hermes-agent☆ 255.2KUpdated Oct 19, 2026
Plan memory use and monitor long training jobs on NVIDIA DGX Spark. It guides troubleshooting for out-of-memory failures, tracks temperature and power alongside training logs, and helps assess competition between training and inference workloads.
- Estimating available memory before training
- Troubleshooting out-of-memory failures
- Investigating slowdowns during long training jobs
wshobson/agents☆ 41.1KUpdated Oct 19, 2026
Investigate SGLang runs that freeze across multiple GPUs. It uses stack traces, communication logs, GPU memory dumps, and comparisons between processes to locate state differences, trace their causes, and guide fixes.
- Locate where a multi-GPU inference run freezes
- Compare logs from distributed processes
- Trace the first difference in process state
sgl-project/sglang☆ 37.4KUpdated Oct 19, 2026
Guides the use of RWKV, a language model architecture that carries information forward in a compact state. Covers streaming text generation, long document processing, fine-tuning, and memory comparisons with Transformers.
- Build streaming text generation
- Process long documents in chunks
- Compare memory needs with Transformers
davila7/claude-code-templates☆ 32.8KUpdated Oct 18, 2026
Optimize transformer attention, the calculation that relates tokens to one another, using Flash Attention. The skill guides PyTorch integration, GPU memory reduction, performance measurement, and output comparisons for training or inference with long sequences.
- Reducing GPU memory use with long sequences
- Integrating Flash Attention into PyTorch models
- Comparing runtime and outputs before and after changes
Orchestra-Research/AI-Research-SKILLs☆ 13.7KUpdated Oct 11, 2026
Helps reduce GPU memory use by loading large language models in 4-bit or 8-bit formats, a technique called quantization. Covers bitsandbytes configuration, memory checks, QLoRA fine-tuning, and training with memory-saving optimizers.
- Load a larger model within available GPU memory
- Compare 4-bit and 8-bit quantization settings
- Fine-tune a quantized model with QLoRA
Orchestra-Research/AI-Research-SKILLs☆ 13.7KUpdated Oct 11, 2026