Decentralized compute layer
 
 
Go to file
Guillermo Rodriguez 47d9f59dbe
Start setting HF env vars from config
2023-10-07 11:01:41 -03:00
docker Fix mini bug on docker entry point 2023-10-07 11:01:40 -03:00
skynet Start setting HF env vars from config 2023-10-07 11:01:41 -03:00
tests
.dockerignore
.gitignore
LICENSE
README.md Add --name to docker worker launch command 2023-10-07 11:01:40 -03:00
build_docker.sh
launch_ipfs.sh
poetry.lock
poetry.toml
pyproject.toml woops make xformers part of optional cuda group 2023-10-07 11:01:40 -03:00
pytest.ini
skynet.ini.example

README.md

skynet

decentralized compute platform

To launch a worker:

native install

system dependencies: - cuda 11.8 - llvm 10 - python 3.10+ - docker (for ipfs node)

# create and edit config from template
cp skynet.ini.example skynet.ini

# install poetry package manager
curl -sSL https://install.python-poetry.org | python3 -

# install
poetry install

# enable environment
poetry shell

# test you can run this command
skynet --help

# launch ipfs node
skynet run ipfs

# to launch worker
skynet run dgpu

dockerized install

system dependencies: - docker with gpu enabled

# pull runtime container
docker pull guilledk/skynet:runtime-cuda

# or build it (takes a bit of time)
./build_docker.sh

# launch simple ipfs node
./launch_ipfs.sh

# run worker
docker run \
    -it \
    --rm \
    --gpus all \
    --network host \
    --name skynet-worker \
    --mount type=bind,source="$(pwd)",target=/root/target \
    guilledk/skynet:runtime-cuda \
    skynet run dgpu