Skip to content

dremovd/kuzco-worker-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kuzco-worker-manager

Helper script to run multiple workers with CLI

Don't forget to install kuzco before start:

curl -fsSL https://kuzco.xyz/install.sh | sh

Simple setup & run (you need to change worker command)

git clone https://github.com/dremovd/kuzco-worker-manager; cd kuzco-worker-manager
git pull; curl -fsSL https://kuzco.xyz/install.sh | sh; python run_kuzco_workers.py "kuzco worker start --worker V6hwT4-ptyfw25dcg8JwB --code 53877007-c01b-4389-9b8f-3e6aebe90f2e" 10 --silent

Usage examples:

python3 run_kuzco_workers.py "kuzco worker start --worker V6hwT4-ptyfw25dcg8JwB --code 53877007-c01b-4389-9b8f-3e6aebe90f2e" 3

OR for silent run:

python3 run_kuzco_workers.py "kuzco worker start --worker V6hwT4-ptyfw25dcg8JwB --code 53877007-c01b-4389-9b8f-3e6aebe90f2e" 3 --silent

Parameters:

--no-inference-timeout 10
# This parameter will set timeout for a worker to 10 minutes (default is 60)

--silent
# This will remove all workers output, which leaves only manager own logs

About

Helper script to run multiple workers with CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages