What is Nostr?
Simon Willison /
npub13v9…w5eu
2024-11-12 23:41:15
in reply to nevent1q…dz9n

Simon Willison on Nostr: Here's a one-liner that should work for you if you run uv on a Mac with 64GB of RAM ...

Here's a one-liner that should work for you if you run uv on a Mac with 64GB of RAM (it will download ~32GB of model the first time you run it)

uv run --with mlx-lm \
mlx_lm.generate \
--model mlx-community/Qwen2.5-Coder-32B-Instruct-8bit \
--max-tokens 4000 \
--prompt 'write me a python function that renders a mandelbrot fractal as wide as the current terminal'
Author Public Key
npub13v97j0kknscwnf5pt87nsn7cxzxwfwl3dsu7ss8qsq7ukmqgwg8q84w5eu