A tool for deploying and running AI models to Modal
Project description
PlumAI - Deploy and Run AI Models
PlumAI is a CLI tool that allows you to deploy and run AI models to Modal. It's completely free and open-source.
Table of Contents
Changelog
[Aug 10, 2024] - 🎉 Added support for Flux models.
- Added support for Flux models:
flux.1-dev
andflux.1-schnell
.
Supported Platforms
PlumAI currently supports Linux, macOS, and Windows.
Installation
To install PlumAI, follow these steps:
- Verify System Requirements:
- Python 3: Ensure Python 3 is installed on your system.
- Install PlumAI:
pip install plumai
This command installs PlumAI directly from the GitHub repository, including all necessary dependencies.
Usage
After installation, you can use PlumAI with the following commands:
Run a Flux model
plumai run [MODEL_NAME] [GPU_TYPE] [-f | --force]
# For example:
plumai run flux.1-dev A10G
-
MODEL_NAME
: Specify the model name to run. Options are:- flux.1-dev (default)
- flux.1-schnell
-
GPU_TYPE
: Specify the GPU type to use. Options are:- T4 (not recommended)
- A10G (default)
- A100
- L4
- H100
-
f | --force
: Use this option to force redeployment of the model, ignoring the cache. If the model has already been deployed and cached, using--force
will trigger a new deployment process.
Troubleshooting
- Git or Python3 not installed: If you encounter errors related to missing Git or Python3, install them using your system's package manager. For example, on Debian-based systems:
sudo apt-get update
sudo apt-get install -y git python3 python3-pip
- Modal Setup Issues: If you encounter issues with Modal, ensure it is properly configured and installed. Refer to Modal's documentation for setup instructions.
License
This project is licensed under the MIT License.
Contributing
Contributions are welcome! Please submit issues or pull requests to the repository here.
Contact
For questions or support, please contact me via Twitter/X
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plumai-0.1.12.tar.gz
.
File metadata
- Download URL: plumai-0.1.12.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96a17378fb59f23d32de5a53aeb19ced68f0c3ba8f76570d85ee1fb493949a37 |
|
MD5 | ae8c8d01ca592de1dfa9e45c4209bb1a |
|
BLAKE2b-256 | fe68a624d4dba38950b68e03c05a7a6a1ef2ee39ae142289b090b6a6b84306c3 |
File details
Details for the file plumai-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: plumai-0.1.12-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40c3dee2bcdfcda62839ead5ca979e4b9c8af291a03bc4f86d3c913d72f25ea2 |
|
MD5 | 77c5275d9c69768c53efb53729316894 |
|
BLAKE2b-256 | 0200c9446c414c826fbc66bf87c0297b91b37a487e060e92acb6caf0181b91a2 |