Configuring Netvara Client with Omlx
Overview
oMLX provides local model serving on macOS and Apple Silicon. The Netvara Client connects to the oMLX server, handles authentication when required, and publishes discovered models through the local gateway.
Prerequisites
- Netvara Client installed and paired
- macOS with Apple Silicon recommended for MLX workloads
- oMLX installed with at least one model available
omlx-serverrunning locally, typically on port 8000- The oMLX server URL and API key, if authentication is enabled
Step-by-Step Instructions
1. Start the oMLX server using your normal oMLX installation method. The common local URL is:
http://127.0.0.1:80002. Run the Netvara setup wizard.
3. Select or confirm the oMLX backend and enter the server URL when prompted.
4. If oMLX returns 401 Unauthorized, the setup wizard prompts for an API key. Enter the key when requested. The client saves the backend configuration, including the key, in:
~/.netvara-client/backend_config.json5. Complete setup and restart the Netvara Client if prompted.
6. For reliable performance on Apple Silicon, close unnecessary memory-intensive applications and choose a model that fits available unified memory. Keep enough free storage for model files and caches.
Verification
Check that oMLX is serving, then query the Netvara gateway:
curl -H "Authorization: Bearer $(cat ~/.netvara-client/local_api_key)" \
http://127.0.0.1:8091/v1/modelsThe response should list the models exposed by oMLX. Run a small test request through your OpenAI-compatible client using http://127.0.0.1:8091/v1 as the base URL.
Troubleshooting & Common Questions
The setup wizard reports 401 Unauthorized. Re-run setup and enter the oMLX API key when prompted. Do not include extra quotation marks or whitespace in the key.
No oMLX models are discovered. Confirm that omlx-server is running on the configured port and that at least one model is available. Verify the URL in setup and restart the client.
Responses are slow or the Mac runs out of memory. Use a smaller model, reduce the requested context or output length, close other applications, and leave sufficient unified memory available for the server.
Where is the oMLX credential stored? The setup wizard stores the backend configuration in ~/.netvara-client/backend_config.json. Protect your user account and do not share this file.
Should I change the default port? Only if your oMLX installation uses a different port. Enter the actual local server URL during setup.
