This repository is dedicated to creating a Kubernetes to Akash dataset and providing DSPy examples for benchmarking k8s to akt conversion performance. It serves as a resource for developers and researchers interested in evaluating and optimizing akash yaml conversion and generation.
The primary goal of this repository is to facilitate the development and testing of llm-based conversion to and generation of Akash deployment yamls. Additionally, it provides practical examples using DSPy to benchmark these conversions, helping developers to assess performance and efficiency of these tools.
data/: Contains datasets with folders for each application. Inside each app folder is a deploy.yaml for the akash deployment and a kubernetes_deployment.yaml for the kubernetes deployment yaml.dspy_akt.ipynb: DSPy example for vllmdspy_ollama.ipynb: DSPy example for ollamaDOCKERFILE: dockerfile for notebook imagevllm_crew_notebook_deployment.yml: akash deployment yaml for running the example.
- Akash Console and AKT funded wallet or local gpu withh vLLM or Ollama
- Python 3.8 or higher
- DSPy library installed
- Deploy vllm_crew_notebook_deployment.yml on akash
- Open the jupyterhub and go to dspy_akt.ipynb
- Run Notebook with vllm
Contributions are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the Akash Network
- awesome-akash repo contributors for akash yamls
- Weaviates DSPy example notebook was extremely helpful for getting the k8s-to-akash notebook working.