Members-Only
Recent Talks & Demos are for members only
You must be an AI Tinkerers active member to view these talks and demos.
Big Models, Small Machines: Run Full-Precision LLMs on Low Memory
Learn how to run full‑precision LLMs on low‑memory devices using a custom inference strategy, demonstrated with a 1.7B model on an 8 GB Mac.
Running LLMs on edge devices often means choosing between expensive hardware or accuracy loss from quantization. This talk will present a custom inference strategy that enables running full-precision models on low-memory machines. For example, a 1.7B parameter model can run on an 8GB Mac at full precision with minimal memory footprint. Note that I have been able to run a SmolLM2-1.7B with as little as 250MB as an example.
The demo will walk through the approach, show it in action, and discuss challenges/trade-offs and potential real-life applications, and next steps for improving.
Custom inference executes 4GB models at full precision using only 250MB RAM.
- TransformersThe deep learning architecture that revolutionized sequence modeling (NLP, vision) by replacing recurrent units with a parallelizable multi-head self-attention mechanism.The Transformer: a neural network architecture introduced in the landmark 2017 paper, "Attention Is All You Need." It eliminated the sequential processing bottleneck of prior Recurrent Neural Networks (RNNs) by relying solely on self-attention, enabling massive parallelization and significantly faster training (up to 10x faster) on modern hardware. This efficiency allowed for the creation of large-scale pre-trained models: BERT (encoder-only) and the generative GPT series (decoder-only). The architecture is now foundational to all modern Large Language Models (LLMs) and drives the current state-of-the-art in AI.
- Apple MLXApple MLX: An efficient, open-source array framework for machine learning, specifically engineered for the unified memory architecture of Apple silicon.MLX is Apple's high-performance, open-source array framework, purpose-built for efficient machine learning on Apple silicon (M-series chips). It capitalizes on the unified memory architecture: data remains in shared memory, eliminating costly transfers between the CPU and GPU. The API is immediately familiar, closely mirroring NumPy for core operations and PyTorch for higher-level packages (e.g., `mlx.nn`). Developers use Python, C++, C, or Swift to leverage key features like composable function transformations (automatic differentiation) and dynamic graph construction. MLX enables researchers and developers to efficiently train and deploy large models locally, including LLaMA and Stable Diffusion.
- PythonPython: The high-level, general-purpose language built for readability, powering everything from web backends to advanced machine learning models.Python is the high-level, general-purpose language prioritizing clear, readable syntax (via significant indentation), ensuring rapid development for any team . Its ecosystem is massive: use it for robust web development with frameworks like Django and Flask, or leverage its power in data science with libraries such as Pandas and NumPy . The Python Package Index (PyPI) provides thousands of community-contributed modules, offering immediate solutions for tasks from network programming to GUI creation . The language is actively maintained by the Python Software Foundation (PSF), with the stable release currently at Python 3.14.0 (as of November 2025) .
- macOSAutomate macOS environments using Homebrew for package management and Zsh scripts to orchestrate local developer setups.Standardize local environments by combining Homebrew (the missing package manager for macOS) with native Zsh or Bash scripting. Use `brew bundle` to manage dependencies via a Brewfile: this ensures every machine runs identical versions of Git, Node.js, or Docker. Scripting automates the heavy lifting by symlinking dotfiles, configuring `defaults write` commands for system preferences, and installing CLI tools. This approach eliminates manual configuration drift and cuts onboarding time from hours to minutes.
Compose Email
Loading recent emails...