Skip to main content

No project description provided

Project description

Galadriel inference node

Run a Galadriel GPU node to provide LLM inference to the network.

Check out the documentation.

Requirements

Hardware requirements

  • At least 4 CPU cores
  • At least 8GB RAM
  • A supported Nvidia GPU

Software requirements

  • linux (Ubuntu recommended)
  • python (version 3.10+)
  • nvidia drivers, version > 450. nvidia-smi must work

API keys

  • A valid galadriel API key
  • A valid huggingface access token

Run a GPU node from the command line

Create a (separate) python environment

deactivate
mkdir galadriel
cd galadriel
python3 -m venv venv
source venv/bin/activate

Install galadriel-node

pip install galadriel-node

Setup the environment

Only update values that are not the default ones, and make sure to set the API key

galadriel init

Run the node

galadriel node run

If this is your first time running the GPU node, it will perform hardware validation and LLM benchmarking, to ensure your setup is working correctly and is fast enough.

Or run with nohup to run in the background

nohup galadriel node run > logs.log 2>&1 &

Or include .env values in the command

GALADRIEL_LLM_BASE_URL="http://localhost:8000" galadriel node run
# or with nohup
GALADRIEL_LLM_BASE_URL="http://localhost:8000" nohup galadriel node run > logs.log 2>&1 &

Check node status

galadriel node status

Should see status: online

Check LLM status

galadriel node llm-status

Should see status like:

✓ LLM server at http://your_llm_address is accessible via HTTP.
✓ LLM server at http://your_llm_address successfully generated tokens.

Check node metrics

galadriel node stats

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

galadriel_node-0.0.17.tar.gz (387.8 kB view details)

Uploaded Source

Built Distribution

galadriel_node-0.0.17-py3-none-any.whl (398.5 kB view details)

Uploaded Python 3

File details

Details for the file galadriel_node-0.0.17.tar.gz.

File metadata

  • Download URL: galadriel_node-0.0.17.tar.gz
  • Upload date:
  • Size: 387.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for galadriel_node-0.0.17.tar.gz
Algorithm Hash digest
SHA256 e4789efbf4975471f79e1233b80f252519d58d8e20a09127aea42cf7a3e51063
MD5 981436b21bb2b93a41012c21bf9811bf
BLAKE2b-256 040c9cbbef737b8a48bf4072b0bbc910472e231e31cce826debfcffab35565f4

See more details on using hashes here.

File details

Details for the file galadriel_node-0.0.17-py3-none-any.whl.

File metadata

File hashes

Hashes for galadriel_node-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 635b4b8e18c874536b8e86d71c63a61f70b42eda614aa7e39ca8befe1249377c
MD5 10aa2b9b8a6000efd09d74c833d8e886
BLAKE2b-256 90ca252fb0c1e5cde69bdcb01eb0c5e4d46a8148c2dcb829a1ab91b9dee737a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page