C.W.K.
Stream
Quiz · 4 questions

🤖 mlx-lm — Running Language Models on Your Mac

Load, prompt, stream, sample, serve — with the as-of-2026 stack

Level 0Curious
0 XP0/51 lessons0/15 achievements
0/100 XP to next level100 XP to go0% complete

Quiz

01What's the practical difference between mlx-lm's generate() and stream_generate()?
Hint
Think about which one a chat UI would want.
02An instruct-tuned chat model keeps generating until max_tokens kicks in even on simple prompts. What's the most likely cause?
Hint
What does the model need to see to know its turn is over?
03Which combination of sampling parameters is described as the default zone for natural-feeling chat generation?
Hint
Both knobs at moderate, defensive values.
04When is mlx-lm's built-in mlx_lm.server the right tool to ship?
Hint
What's the load profile the built-in server can handle?
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.