ionet-official / io_launch_binaries

70 stars 48 forks source link

IO-Net Official Binaries

Latest Version: 2.0.6
Oldest Supported Version: 2.0.1 (versions older than this are deprecated)

This repository contains official binaries for the io.net - Follow the instructions below to set up and run the binaries on your respective operating system.

Prerequisites

For Linux

For Mac

Installation

Linux

  1. Perform IO-Setup (one time for hardware) (skip if docker and Nvidia drivers are already installed and configured)

    • Download the setup script:
      curl -L https://github.com/ionet-official/io-net-official-setup-script/raw/main/ionet-setup.sh -o ionet-setup.sh
    • Run the script:
      chmod +x ionet-setup.sh && ./ionet-setup.sh
      Note - incase curl command fails:
    • Install curl:
       sudo apt install curl
  2. For systems with GPUs

    • Wait for a restart.
    • After restart, rerun the setup again with the command above.

Start the containers using binary

Linux

  1. Download and launch binary:
    curl -L https://github.com/ionet-official/io_launch_binaries/raw/main/io_net_launch_binary_linux -o io_net_launch_binary_linux
    chmod +x io_net_launch_binary_linux

Mac

Windows

  1. Download binary:
    • Go to your browser and paste:
      https://github.com/ionet-official/io_launch_binaries/raw/main/io_net_launch_binary_windows.exe
    • Open the downloaded file in the cmd and it will fill out the details in interactive mode.

Usage

  1. Interactive Mode: When you run the binary with no additional arguments, it will prompt you to enter the necessary details.

  2. Additional Arguments Mode: You can also pass the arguments directly to the binary.

    • [required] --device_name: (string) The name of the device.

    • [required] --device_id: (string) The ID of the device.

    • [optional] --no_warnings: (boolean) Disable warnings of deleting existing and running containers.

    • [optional] --no_cache: (boolean) Disable loading arguments from in-disk cache of your device.

    • [optional] --token: (string) User refresh token to enable silent authentication.

    • [optional] --disable_sleep_mode: (boolean) Disable sleep mode for the device.

    • see --help for additional commands.

    • Example usage:

      ./io_net_launch_binary_linux --device_name=my_device --device_id=1234 --no_warnings=true --no_cache=true

Support

For support, please open an issue or contact our support team on discord