https://github.com/parisneo/petals_server_installer
An installer tool for petals decentralized text generation network
https://github.com/parisneo/petals_server_installer
Last synced: over 1 year ago
JSON representation
An installer tool for petals decentralized text generation network
- Host: GitHub
- URL: https://github.com/parisneo/petals_server_installer
- Owner: ParisNeo
- License: apache-2.0
- Created: 2023-09-23T15:41:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T06:57:43.000Z (almost 3 years ago)
- Last Synced: 2025-03-26T04:23:08.734Z (over 1 year ago)
- Language: Python
- Size: 416 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Petals Network Installer and Server Info App
[](LICENSE)
[](https://www.python.org/downloads/)






Petals Server Installer is a standalone installer for Petals, a decentralized text generation network. This tool simplifies the installation of a Petals server on various platforms. You can use it to set up a Petals server on Windows using Windows Subsystem for Linux (WSL) via the `petals-server.exe` or on Linux/macOS using the `install_script.sh`.
## Features
- Easily configure and install a Petals server.
- User-friendly graphical user interface (GUI) for server setup and inference testing.
- Launch an Ubuntu environment for debugging or development on Windows.
- Manage your Petals server settings through the `config.yaml` file.
## Installation
### Windows
From release page, download `petals-server.exe` and install it.
After installation, you will have two new shortcuts:
1. **Load Ubuntu**: Opens an Ubuntu environment for debugging or development.
2. **Load Petals Server UI**: Launches the Petals Server UI.
### Linux/macOS
From release page, download `install_script.sh` and run it with bash.
1. The installer creates a Conda environment named "petals" for you.
2. Activate the environment with `conda activate petals`.
3. Navigate to `~/petals_server_installer/main_ui/`.
4. Start the Petals Server UI with `python3 petals_server.py`.
## Configuration
The `config.yaml` file, located at `~/petals_server_installer/main_ui/`, stores various configurations. Most settings can be conveniently modified through the UI. However, you can manually adjust the `prompt` and `conditioning_format` settings.
### Manual Configuration (Linux/macOS)
To modify the `config.yaml` file manually on Linux/macOS:
1. Activate the Conda environment: `conda activate petals`.
2. Navigate to the `main_ui` folder: `cd ~/petals_server_installer/main_ui/`.
3. Use a text editor like `nano` to view and modify `config.yaml`.
We hope you find Petals Server Installer helpful for setting up and managing your Petals server. Enjoy seamless text generation with Petals!
## Star History
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.