GenSynth Documentation

Before you begin

Follow these steps to make sure you're ready to begin your multi-machine deployment.

  1. Install the necessary dependencies on each machine.

  2. The master machine must be able to communicate with worker machines through GENSYNTH_MPI_SSH_PORT. This is set to 2222 by default.

  3. All worker machines must be able to communicate with the master on any port.

  4. Change any configuration necessary. These are your most likely candidates:

  • GENSYNTH_API_HOSTNAME: You will probably need to change it for the web browser to access the API. It is set to the machine hostname by default.

  • GENSYNTH_DB_HOSTNAME: You must set this to the hostname of the database server.

  • GENSYNTH_GPU_RESOURCES: GenSynth requires a list of available machines with the number of available GPUs.

  • GENSYNTH_WORKSPACE_PATH: A shared path accessible by all machines. DarwinAI recommends that you mount the shared drive on all machines at the same path.

  • GENSYNTH_WEB_PORT: The port number to be used to access the application from your browser. Default 80. Consider whether network or firewall issues will require you to change this.

  • GENSYNTH_API_PORT: The port number the GenSynth browser application uses to access the API. Default 3000. Consider whether network or firewall issues will require you to change this.

  • GENSYNTH_MPI_SSH_PORT: For a multi-machine configuration, the TCP listen-port number. Default 2222.