Install Determined Using Homebrew (macOS)#
Determined publishes a Homebrew tap for installing the Determined master and agent as Homebrew services on macOS, for both Apple silicon and Intel hardware.
While it is most common to install the master and agent on the same machine, it is also possible to install the master and agent on separate nodes, or install agents on multiple machines and connect them to one master.
Note
Due to the limitations of Docker networking on macOS, distributed training across multiple macOS agents is not supported.
Installation - Master#
Add Homebrew tap.
brew tap determined-ai/determined
Install
determined-masterpackage. Determined uses a PostgreSQL database to store metadata, andpostgresql@14will be pulled in as a dependency.brew install determined-master
Start the PostgreSQL server, and set up a database and default user.
brew services start postgresql@14 createuser postgres createdb determined
Start the Determined master service.
brew services start determined-master
If needed, you can configure the master by editing
/usr/local/etc/determined/master.yamland restarting the service.
Installation - Agent#
The Determined agent uses Docker to run your workloads. For more information, visit Docker for Mac installation instructions.
By default, Determined will store checkpoints in
$(brew --prefix)/var/determined/data, which is typically/usr/local/var/determined/dataor/opt/homebrew/var/determined/data. Make sure to configure it as a shared path for Docker for Mac in Docker -> Preferences… -> Resources -> File Sharing.When installing on a different machine than the master, add Homebrew tap.
brew tap determined-ai/determined
Install
determined-agentpackage.brew install determined-agent
When installing on a different machine than the master, edit
/usr/local/etc/determined/agent.yamland changemaster_hostandcontainer_master_hostto your master network hostname, andmaster_portto your master network port.Start the
determined-agentservice.brew services start determined-agent