Linux
Last updated
1.CPU: Minimum 4 cores, recommended 8 cores
2.Memory: > 16GB
3.GPU(Single Card): Nvidia RTX 3060/Nvidia RTX 3080/Nvidia RTX 3090
4.Hard Drive >512GB
5.Internet: 5-10M
6.Public Address: Mandatory
6.1 Static Public IP You need to have a static public IP to ensure that the inference node can be reliably accessed by external networks.
6.2 Public IP Direct Connection to Inference Node The public IP should be directly bound to the network interface of the inference node so that external networks can directly access the inference node via this IP. If there are routers or other networking devices in the network, you must have the capability to configure these devices. Port forwarding should be set up to accurately forward external access requests to the corresponding port of the inference node, ensuring that the inference interface can provide normal services externally.
By meeting the above conditions, you can ensure the stability and availability of the inference node's access and services.
Ensure your system supports Docker and has the NVIDIA driver installed to support GPU.
1.Update Package Index
2.Install Required Packages
3.Add Docker’s Official GPG Key
4.Set Up Docker Stable Repository
5.Update Package Index Again
6.Install Docker CE
7.Install NVIDIA Container Toolkit
8.Start and Enable Docker Service
9.Verify Installation
Download the latest version of Docker Compose:
Add executable permissions to the Docker Compose binary:
Test if the installation was successful:
1.Update the existing package lists.
2.Install Git:
2.After installation, run the following command to verify if the installation was successful:
1.Open the terminal or command prompt, and clone the HyperAGI-setup-script GitHub repository:
2.Navigate to the cloned code repository directory:
1.Within the cloned code repository, there is a .env file where you can configure environment variables. Open the .env file using a text editor:
2.Configure the variables PUBLIC_IP and WALLET_ADDRESS
PUBLIC_IP: This is the public IP address of your server. You can find it by running the following command in the terminal:
Copy and paste the outputted IP address into the PUBLIC_IP variable in the .env file.
WALLET_ADDRESS: This is your wallet address used for receiving and managing funds related to AI inference. Ensure you use a valid Ethereum wallet address and paste it into the WALLET_ADDRESS variable in the .env file.
Modify environment variables as necessary.
3.After making modifications, perform the following actions:
Ctrl + O (to write changes).
Ctrl + Enter (to save).
Ctrl + X (to exit).
Ensure you have the latest Docker images by running the following command:
Run the following command to start the Docker Compose service:
The -d
flag indicates that the service will run in the background.
You can verify if the service is running correctly by checking the status of the containers:
You should see a list of running containers. Ensure that the status of all services is 'running'.
Access to ports 5200 TCP and 5100 TCP needs to be enabled.
For further troubleshooting, check the logs for additional information if encountering any issues:
For more advanced configurations, please refer to the docker-compose.yml file in the code repository.