Zubnet AIAprenderWiki › Edge AI
Infraestrutura

Edge AI

On-Device AI, Local AI
Rodar modelos IA diretamente em dispositivos de usuário final — telefones, laptops, sensores IoT, carros — em vez de na nuvem. Edge AI significa que seus dados nunca saem do seu dispositivo, a latência é quase zero (sem round-trip de rede) e o modelo funciona offline. Apple Intelligence, Gemini Nano on-device do Google e runners LLM locais como llama.cpp e Ollama são todos Edge AI.

Por que importa

Edge AI é onde privacidade, latência e custo se cruzam. IA cloud significa enviar seus dados para o servidor de outra pessoa, esperar uma resposta e pagar por token. Edge AI significa inferência instantânea, privada, grátis-após-download. O trade-off é o tamanho do modelo: dispositivos edge têm memória limitada, então modelos on-device são menores e menos capazes que modelos cloud. Mas para muitas tarefas, um modelo 3B rápido no seu telefone vence um modelo 400B lento em um data center.

Deep Dive

The key constraint for edge AI is memory. A phone might have 6–12 GB of RAM shared between the OS, apps, and the model. A laptop might have 8–32 GB. This limits model size: a 3B parameter model at 4-bit quantization needs about 1.5 GB, feasible on a phone. A 7B model needs about 4 GB, feasible on a decent laptop. Anything larger requires aggressive quantization or offloading to disk (slow).

The Apple Silicon Effect

Apple's M-series chips (M1–M4) with unified memory architecture made edge AI practical for laptops. Unlike discrete GPU setups where model weights must fit in VRAM, Apple Silicon shares memory between CPU and GPU, so a MacBook with 32 GB unified memory can run a 24B model at 4-bit quantization smoothly. This, combined with llama.cpp's Metal optimization, created the local LLM movement.

Beyond Text

Edge AI isn't limited to language models. On-device speech recognition (Whisper), image classification, real-time translation, and predictive text all run locally. The trend is toward NPUs (Neural Processing Units) — dedicated AI accelerator chips built into phones and laptops that handle AI workloads more efficiently than general-purpose CPU/GPU. Apple's Neural Engine, Qualcomm's Hexagon, and Intel's NPU are all examples.

Conceitos relacionados

← Todos os termos
← Dual Use ElevenLabs →