Giter Site home page Giter Site logo

gaianet's Introduction

Logo

Tutorial on running node from GAIANET

The essence of this tutorial is how to start a GAIANET node on a VPS using tmux briefly based on the tutorial from GAIANET Documentation

Instalation

a. Update & Upgrade Package

sudo apt-get update && sudo apt-get upgrade -y

b. Download TMUX Package

sudo apt-get install tmux

c. Download Source Code from server GAIANET

curl -sSfL 'https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/install.sh' | bash

Downloading node files generally takes 10-15 minutes or even more depending on your server specifications. By default the node files are in the $HOME/gaianet directory and if you want to place the node file into another directory use the following command :

curl -sSfL 'https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/install.sh' | bash -s -- --base $HOME/gaianet.alt

d. Open Tmux session

tmux new-session -s gaia

note : change the word gaia in the last command as you like.

e. Node initialization

gaianet init

The output should look like below:

[+] Downloading Llama-2-7b-chat-hf-Q5_K_M.gguf ...
############################################################################################################################## 100.0%############################################################################################################################## 100.0%

[+] Downloading all-MiniLM-L6-v2-ggml-model-f16.gguf ...

############################################################################################################################## 100.0%############################################################################################################################## 100.0%

[+] Creating 'default' collection in the Qdrant instance ...

    * Start a Qdrant instance ...

    * Remove the existed 'default' Qdrant collection ...

    * Download Qdrant collection snapshot ...
############################################################################################################################## 100.0%############################################################################################################################## 100.0%

    * Import the Qdrant collection snapshot ...

    * Recovery is done successfully

f. Start Node

gaianet start

you can see output :

... ... https://0xf63939431ee11267f4855a166e11cc44d24960c0.us.gaianet.network

The script prints the official node address on the console as follows. You can open a browser to that URL to see the node information and then chat with the AI agent on the node.

Finally, now your GAIANET node is running and you can close the terminal without fear of the node stopping.

Other Command

If you exit the terminal server, you can reopen it and see the log of the running GAIANET node.

use the following command :

tmux a -d -t gaia

note : note : change the word gaia in the last command according to the command in step D.

You can also replace the tmux application with the screen application, but here I explain how to run node with the tmux application.

gaianet's People

Contributors

adryan089 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.