TIL: Storing MLX models on an external drive
TL;DR: Create a directory to hold Hugging Face data and set the environment variable HF_HOME
to that directory's path.
For example:
mkdir /Volumes/externaldrive/huggingface
export HF_HOME='/Volumes/externaldrive/huggingface'
You'll also want to set it in your .profile
or .bashrc
or wherever you set these things.