MLX Lab Field Guide

Model not running yet?
Find out where it’s stuck

If you can’t reach the machine, check the connection first. If the desktop opens but the model won’t load, check the environment and memory next. This guide puts the checks and commands in order, so you don’t have to upgrade every time you hit an error.

Already have an instance? Start with connection checks. Not ordered yet? First check your model’s memory needs and expected runtime.

Connections & desktop

First, pinpoint the issue: can’t access the instance, or can’t see the desktop clearly?

Use the browser desktop for initial checks and SSH for command-line and file tasks. Use the connection details shown on your instance page after signing in. Your local computer’s username is not the remote username.

Open the macOS desktop in your browser

  1. Sign in to the console, open your instance details, and confirm the instance status matches your order.
  2. Use the remote desktop link in your instance details. Once connected, you can use the macOS graphical interface.
  3. If the screen freezes, check your local network first. Close duplicate connection tabs, then reconnect from your instance details.

For inference logs, SSH is more direct. Use the desktop to check Activity Monitor or graphical settings. A network interruption doesn’t mean the remote task has stopped.

SSH: Check the host, port, and username

Run this format in your local terminal. Replace USER, HOST, and PORT with the username, host address, and SSH port shown in your instance details. Don’t run the command as written.

ssh -p PORT USER@HOST

For a timeout, check the address, port, and network first. For an authentication error, verify the username and authentication method. Check the host fingerprint on first connection. If it changes unexpectedly, confirm whether the instance was reinstalled before proceeding—don’t ignore the warning.

For overnight tasks, use a configured remote session manager to keep the terminal session alive. A foreground process over a regular SSH connection may exit when the connection drops.

VNC image quality: Start with lighter settings

If your client offers image quality, resolution, or frame-rate settings, start by lowering the remote resolution, choosing adaptive quality, and reducing desktop effects. You don’t need a high refresh rate to read training logs.

First, make sure text is readable and input responds promptly, then raise image quality as needed. Desktop smoothness and model generation speed are separate: don’t judge inference performance by how smoothly windows move when the desktop is lagging.

Avoid testing desktop responsiveness while transferring large files. Use an SSH tool for transfers, then assess connection quality once bandwidth is free.

MLX setup

Check Python and Metal before loading a model

All three plans provide dedicated physical Apple Silicon machines, not VMs. MLX should run natively in the macOS host environment. Don’t put the inference setup in a container first and use results from inside the container to judge Metal availability.

Install dependencies in a dedicated virtual environment

First check that Homebrew is available, then install Python. If Homebrew isn’t installed, follow an installation procedure you’ve verified. Don’t run one-click scripts from unknown sources.

command -v brew
brew --version
brew install python
python3 --version
uname -m

uname -m It should return arm64. If it returns a different architecture, exit the translation environment and check which Python your terminal is using. Don’t mix dependencies across environments.

mkdir -p "$HOME/Projects/mlx-lab"
cd "$HOME/Projects/mlx-lab"
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install mlx mlx-lm
python -m pip check

You’ll need to activate this virtual environment again whenever you open a new terminal. Keep separate environments for different experiments to avoid upgrading dependencies for one project and disrupting another task that’s still running.

Run a minimal operation to check Metal

Run these checks in the environment you just activated. Verify the interpreter path, check whether MLX can detect Metal, then run a GPU array operation.

which python
python -m pip show mlx mlx-lm
python -c 'import mlx.core as mx; print(mx.metal.is_available())'
python -c 'import mlx.core as mx; mx.set_default_device(mx.gpu); x = mx.ones((2, 2)); mx.eval(x + x); print(x + x)'

The Metal check should return True, and the minimal operation should complete successfully. If the import fails, check the Python path and dependencies first. If Metal isn’t available, note your macOS, Python, and MLX versions before submitting a support ticket.

Once the basic environment works, use a local model directory from a trusted source that’s compatible with mlx-lm. Start with a short output test; don’t combine a long context and fine-tuning on your first run.

python -m mlx_lm.generate \
  --model "$HOME/Models/my-model" \
  --prompt "Explain unified memory in one sentence." \
  --max-tokens 128

my-model is a placeholder for your model directory name. Replace it with your own. The directory must include compatible weights, configuration, and tokenizer files; a weights file alone may not be enough.

Memory troubleshooting

Load failures and slow generation have different memory requirements

CPU and GPU share unified memory, but the advertised capacity isn’t all available to the model. The system, Python, model weights, KV cache, and other processes all need memory. Don’t compare only the weight file size with total capacity.

Monitor memory pressure, swap, and task progress

Open the Memory tab in Activity Monitor to check memory pressure and swap usage. You can also view system metrics in Terminal. These commands only check status; they won’t clear memory or stop tasks.

memory_pressure
vm_stat
sysctl vm.swapusage
ps -axo pid,rss,comm | sort -nrk 2 | head -n 10

ps 's RSS column shows each process’s resident memory in KB. It doesn’t represent total GPU allocations or the model’s overall memory budget.vm_stat 's page counts need to be interpreted using the page size shown on the first output line; don’t treat them as GB. Existing swap usage alone doesn’t mean a task can’t run. Consider memory pressure trends and generation speed together.

Narrow down the cause based on when the issue occurs

What you see Check first Try first
Exits while loading weights Model format, weight size, quantization, and peak memory during loading Verify the setup with a compatible small model; close unrelated processes, then try weights with lower memory requirements
Short prompts work, but long conversations slow down Context length, concurrent requests, and KV cache growth Reduce input length and the output token limit, retest with a single request, and track whether pressure rises as the context grows
Inference works, but fine-tuning fails Training configuration, sequence length, batch size, and additional training state Reduce the batch size or sequence length, then retest each setting against your tool’s configuration guide

If the task runs reliably with a reasonably shorter context, you may not need to upgrade. If you need larger weights, long contexts, or a fine-tuning workload, consider M4 Pro with 64GB unified memory and a 2TB SSD. Even 64GB can’t guarantee every model and training setup will fit.

For small-model workflows, consider M4 with 16GB unified memory and a 256GB SSD. If you need more headroom, compare it with M4 featuring 24GB unified memory and a 512GB SSD. More SSD storage gives you room for files; it doesn’t increase unified memory.

Storage & data

Set up your model directories before transferring large files

Keep models, datasets, and experiment outputs separate. Before each run, confirm the target volume is mounted and has enough free space. This helps avoid discovering halfway through a transfer that your files are landing on a smaller system drive.

Check default directories and an additional SSD

mkdir -p "$HOME/Models" "$HOME/Datasets" "$HOME/Runs"
df -h
ls /Volumes
diskutil list

If you’re not using an additional drive, use these three directories to organize weights, datasets, and outputs. With a +1TB or +2TB SSD, check the actual volume name and delivery details in your instance. Don’t assume it has a particular name.

In Finder, confirm that the volume is visible, then use df -h to check its capacity and mount path. Point your app’s model path to a directory on that volume. Check the mount again after reconnecting or restarting.

If a purchased additional drive isn’t visible, save the diagnostic output and submit a support ticket. Don’t run erase, partition, or format commands just to make it appear.

Use rsync for incremental syncs or scp to copy individual files

Run these commands on your local computer. USER, HOST, and PORT come from your instance details. The trailing slash on the source directory means “sync the directory contents.” Create the target directory on the remote machine first.

ssh -p PORT USER@HOST 'mkdir -p ~/Models'
rsync -avP -e "ssh -p PORT" \
  "$HOME/Models/" USER@HOST:Models/
scp -P PORT ./model-config.json USER@HOST:Models/

rsync works well for directories and resuming after an interruption; scp is handy for a few individual files. Note that the SSH and rsync examples use lowercase -p, while scp uses uppercase -P.

After syncing, spot-check the file count and sizes. For important files, compare checksums on both ends with shasum -a 256 . Don’t add a delete option at first, or you could remove remote experiment outputs too.

You don’t need to keep the remote desktop open just to transfer files. Recreate the Python environment after migrating data; don’t copy your local virtual environment directory and use it as-is.

Quick glossary

What each term refers to

“Dedicated” describes resource allocation, “unified memory” describes the hardware architecture, and “quantization” and “KV cache” describe how a model runs. These terms aren’t interchangeable.

Physical node
A physical machine running macOS, not a VM partitioned from a shared host. The instance’s hardware matches the plan you selected.
Dedicated
For the duration of your rental, the physical node’s compute and memory resources aren’t shared with other tenants. Dedicated resources don’t guarantee the same speed for every software workload.
Unified memory
The CPU and GPU use the same memory pool, which suits MLX workflows on Apple Silicon. The system and apps also use this memory, so leave room for them to run.
MLX
A machine learning array framework for Apple Silicon. Built on MLX, mlx-lm provides tools for language model inference and fine-tuning. You still need compatible models and dependency versions.
VNC
A way to view and control a remote graphical desktop. Useful for checking the macOS interface, with the experience affected by your local network, resolution, and image quality settings.
self-hosted runner
A runner you manage to execute CI workflows. When connecting a cloud Mac, control where tasks come from and isolate build credentials from experiment data.
Quantization
Representing model parameters at lower precision to reduce memory needed for weights. Formats must be compatible with your tools; test quality and performance with your own workload.
KV cache
A cache that stores intermediate attention results during generation. It typically grows with context length and concurrency, so loading the weights doesn’t guarantee enough headroom for long conversations.
Billing & account

Before an overnight run, check when your rental expires

Your cloud Mac won’t stop computing just because you close your local laptop, but tasks still depend on the remote process, session settings, and an active rental. Keeping a browser tab open doesn’t renew your rental or keep a process alive.

Renewals and expiration reminders

Check your subscription status, expiration time, and bill in the console. After renewing, confirm the payment and updated expiration time. Don’t assume renewal succeeded just because the payment page closed.

Choose a daily, weekly, monthly, or quarterly plan. Before a long run, set a reminder in your own calendar and leave time to sync and back up results. All locations operate year-round, 365 days a year. Check the console for real-time instance status.

Payments and account security

Payment is supported only via USDT-TRC20 and Visa / Mastercard / Amex (through Stripe). All charges are in USD. Available payment gateways are determined by the response from the backend.

For USDT-TRC20 payments, verify the network, address, and amount shown on the payment page. For card payments, check the status returned by the gateway. For a billing query, provide your order number or transaction hash. Never send your full card number, password, or verification code.

If you can’t sign in, first check your account email and that your verification code is still valid. If the issue persists, contact support@vpsarm.com with the steps that trigger the error. Don’t include connection credentials in the email subject.

Service interruptions and compensation requests

The monthly uptime commitment is 99.9%, equivalent to about 43 minutes of downtime in a 30-day month. For downtime exceeding that allowance, compensation is calculated as service time based on the affected duration. This isn’t a commitment to model performance or generation speed.

Submit a support ticket through the console with your instance ID, interruption start and recovery times, time zone, and reproducible symptoms. First rule out local network issues and user actions. The terms of service define the exact eligibility criteria.

Still need help?

Turn a failed run into a reproducible report

For technical issues, open a support ticket in the console and link it to your instance. Unsure which plan to choose before ordering, or can’t sign in? Find our email address on the contact page. Tell us your model size, context requirements, and expected runtime so we can assess whether a different configuration would help.

  1. 01

    Instance and timing

    Include your instance ID, selected location, the time period when the issue occurred, and the time zone. For renewal or payment issues, include your order number so we can find the relevant service record.

  2. 02

    Environment and steps

    Include your macOS, Python, mlx, and mlx-lm versions. Say whether you ran the command in the desktop, over SSH, or in a native terminal, and include the shortest command that reproduces the issue.

  3. 03

    Symptoms and evidence

    Include the full error message, memory pressure, and available disk space. Remove passwords, keys, access tokens, and private data before submitting. Don’t upload an entire dataset.

Confirmed it’s a memory bottleneck?
Give your model more room

All three plans are dedicated physical machines. Start with a short test before choosing a rental term. If you’re only running small models, you don’t need to jump straight to 64GB.

Payment is supported only via USDT-TRC20 and Visa / Mastercard / Amex (through Stripe), with all charges in USD.