How to Benchmark an MLX Model’s Speed with mlx_lm.benchmark
Run mlx_lm.benchmark with a prompt size and a generation size to measure time to first token and generation speed for one model…
THE FIELD GUIDE
Run AI on your own computer, check model and hardware requirements, and verify which steps work without a cloud connection.
Run mlx_lm.benchmark with a prompt size and a generation size to measure time to first token and generation speed for one model…
Copy a developer API key from AnythingLLM settings, then send a message to POST /api/v1/workspace/{slug}/chat and read the answer from textResponse.
Start Text Generation WebUI with --extensions whisper_stt and speak your chat message into the microphone instead of typing it.
Connect Ollama to Flowise and build a local chatflow by dragging nodes onto a canvas, so you can test a chatbot idea…
Build a small local voice pipeline that transcribes your speech with Whisper, gets an answer from Ollama, and speaks it back with…
Back up the list of your Ollama models and the Modelfiles for your custom models, so a rebuild restores them without re-creating…
Define a character with a name, a persona context, and a greeting in the Character tab of Text Generation WebUI, then talk…
Start Text Generation WebUI with the --api flag, then send a chat request to its OpenAI-compatible API so another app can use…
Start Text Generation WebUI with the built-in silero_tts extension, and the model's chat replies arrive as audio you can play instead of…
Get a single answer from a local model on an Apple Silicon Mac with mlx_lm.generate --max-tokens, without opening a chat session.