🍃 Lilypad Project Report: Jan 08
Add a module to Lilypad, Holiday Dev Workshop, Projects building on Lilypad!
prompt: Create a wide, landscape-oriented image depicting a zoomed-out view of friends enjoying a magnificent firework display on a far away hill
Image made with Lilypad AI Studio :)
Happy New Year from the team at Lilypad!!
Over the last few weeks, we improved the experience of adding AI models (modules) to run on the Lilypad Network as well as continued to on-board more resource providers to the Lilypad testnet. We encourage anyone from individuals to enterprises with idle GPUs to sign up for our Baklava Calibration testnet and become a network resource provider!
View the current Lilypad Network roadmap on our website.
⚒️ Lilypad Engineering Update
Adding a module to run on Lilypad!
The team is committed to simplifying the experience for developers and individuals to run a variety of AI models on the open Lilypad compute network. Check out this detailed example on integrating and using the Phi-2 module with Lilypad. The Phi-2 module, as an example, can be explored further on Hugging Face.
Find the full instructions in the Github repo here and fork the code to try it out for yourself!
Preparing the Environment
Clone the Repository: Ensure that you are in the project directory after cloning the repository from GitHub.
Set Up Private Key: Export your private key using the following command:
Docker Setup: With Docker installed and the image available locally, you can run the model on your machine.
Running the Module Locally Use the following command to run the model locally:
docker run --gpus all -t clone-phi2 "what is the acceleration of earth's gravity?"
You can use your own prompt of course!
Running on Lilypad
To execute the module using Lilypad, follow these instructions:
- Module Configuration: Configure the module with the following command:
lilypad run --module-repo "http://github.com/noryev/clone-phi2" --module-hash ae7b9f267287045cb81b59bae767cfb92e43c7d7 --module-path ./lilypad_module.json.tmpl -i Prompt="what is the acceleration of gravity on earth?"
After running the below command, you will receive the output. Below is a screenshot demonstrating this step:
🌟 Lilypad "All the Things" Update
Holiday Dev Workshop!
Lilypad CEO Ally and engineer Zaphodb17 joined the Holiday Developer Workshop live-stream to discuss "Building decentralized AI apps with Lilypad!
Learn about the vision for Lilypad, get into the technical details, and watch a demo on how to add your own AI module to run on the network.
Projects building on Lilypad
We are super excited to highlight some of the fabulous projects building on the Lilypad Network!
Lilypad-Kamu: A custom module for sql streaming through kamu.dev providing provenance, and version control.
Lilypad Hub: This platform, much like Dockerhub is a one-stop destination for all your module needs as a Lilypad user. Test job specs as well as experiment and fine-tune your code in a safe environment. Github repo can be found here.
DatAgent DAO: A DAO marketplace where communities can share their datasets to train ML models & collectively earn from them.
Lilypad at DevConnect 2023
If you missed Devconnect Istanbul, check out this awesome presentation from Lilypad Network at Lab Week 2023 Istanbul. Deep dive into the module/model system, how to get started, and the vision to build a trustless distributed compute network for AI.
Learn how the Lilypad Aurora testnet (v2) uses IPC Fendermint to build a dedicated subchain that underpins Lilypad's computational network and enables Lilypad's own ERC20 token (LP) for service an gas payments.
🔮 What's Next?
We continue to push towards the launch of the incentivized Lilypad testnet! The team is on-boarding more resource providers and continues to improve both the developer and resource provider experience.
☎️ Contact Us
Follow along on X/Twitter for the latest news and updates!
Did you find this article valuable?
Support Lilypad Network by becoming a sponsor. Any amount is appreciated!