AI-Native LLM Training & Infrastructure Abstraction Library
Project description
PyAutoLLM
AI-Native LLM Training & Infrastructure Abstraction Library
Fine-tune open-weight LLMs with three lines of Python code. No ML expertise, no infrastructure knowledge required.
import pytune
model = pytune.models.llama2_7b()
model.add_data("./my-documents")
trained_model = model.train()
That's it. The system automatically:
- Analyzes your data
- Selects the best fine-tuning method
- Picks the cheapest GPU infrastructure
- Handles all orchestration
- Evaluates quality
- Returns a ready-to-use model
Why PyAutoLLM?
- No Jargon: You don't need to know LoRA, QLoRA, distributed training, or GPUs
- Guided Setup: Step-by-step instructions for infrastructure (RunPod, Lambda Labs, AWS)
- Transparent Costs: See exactly what you'll pay before training
- Smart Defaults: Recommended settings work for 95% of users
- Open Source: No vendor lock-in; runs anywhere (Ollama, vLLM, HF Inference)
- Three-Tier Pricing:
- Cheap & Fast: $10, 2 hours, 90% quality (QLoRA on single GPU)
- Balanced: $30, 5 hours, 95% quality (LoRA, recommended)
- Best Quality: $80, 12 hours, 98% quality (Full retraining)
Quick Start
Installation (Coming Soon)
pip install pyautollm
Basic Workflow
import pytune
# 1. Create a model
model = pytune.models.llama2_7b()
# 2. Add your data (PDF, DOCX, CSV, TXT, Markdown, etc.)
model.add_data("./documents")
# 3. See recommended training options
recommendation = model.plan()
# Output:
# Cheap & Fast: $10, 2h, 90% quality
# Balanced (*) $30, 5h, 95% quality
# Best Quality: $80, 12h, 98% quality
# 4. Train with recommended settings (or pick another tier)
trained_model = model.train()
# 5. Use your trained model
response = trained_model.generate("Your prompt here")
First Time Setup (RunPod)
# First time only: PyAutoLLM guides you through RunPod setup
# 1. Go to https://www.runpod.io
# 2. Create a pod with H100 GPU
# 3. Copy your API token
# 4. Paste it when prompted
# After setup, credentials are cached
model.train() # Runs immediately on second call
Documentation
- PRODUCT_VISION.md — What is PyAutoLLM and why it matters
- ROADMAP.md — Development phases, timeline, and deliverables
Project Status
🚧 Currently in development: Phase 1 (MVP) — 4 weeks to beta release (v0.1.0)
Milestones:
- Phase 1 (Jul-Aug): Single model, RunPod only, guided UX
- Phase 2 (Aug): Multi-model support
- Phase 3 (Sep): Multi-provider, advanced methods
- Phase 4 (Oct): Polish, production-ready v1.0
Architecture
PyAutoLLM is built with:
- Rust: High-performance orchestration layer (infrastructure, training coordination)
- Python: User-facing API, data analysis, ML integrations (PyO3 bindings)
- Unsloth: Fast fine-tuning engine
- TRL: Hugging Face training utilities
- Docling: Document parsing
Python API (user-friendly, guided UX)
↓
Rust Orchestrator (performance layer)
├─ Pod management (RunPod, Lambda, AWS)
├─ Cost calculation
├─ Training coordination
└─ Monitoring & logging
↓
Training Engine (Unsloth + TRL)
Features (MVP Phase 1)
- ✅ Single-model fine-tuning (Llama 2 7B)
- ✅ Data analysis (quality scoring, deduplication)
- ✅ Intelligent method selection (QLoRA vs LoRA)
- ✅ Cost forecasting (±10% accuracy)
- ✅ RunPod integration with guided setup
- ✅ Automatic evaluation (LLM-as-Judge)
- ✅ Training monitoring & logging
Coming Soon (Phase 2-4):
- Multi-model support (Mistral, LLaMA 3, Phi, etc.)
- Multi-provider infrastructure (Lambda Labs, AWS, GCP)
- Advanced training methods (DPO, continued pretraining, multi-GPU)
- Inference abstraction (vLLM, Ollama, HF Inference)
- Model versioning & registry
- Production monitoring & A/B testing
Use Cases
- Customer Support Agents: Fine-tune on your support documentation
- Domain Experts: Create specialized assistants (legal, medical, financial)
- Content Generation: Adapt models to your brand voice
- Internal Tools: Build AI features without infrastructure expertise
- Research: Experiment with fine-tuning without DevOps headaches
Contributing
This is an open-source project. We welcome contributions!
- 📖 Documentation improvements
- 🧪 Tests and examples
- 🚀 Performance optimization
- 🐛 Bug reports and fixes
License
MIT License — See LICENSE file for details.
Contact & Community
- Issues: Report bugs and request features on GitHub
- Discussions: Join our community discussions
- Twitter: @PyAutoLLM (coming soon)
Status: v0.1.0-beta (in development)
Start Date: 2026-07-21
Target Release: 2026-10-01
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyautollm-1.1.0.tar.gz.
File metadata
- Download URL: pyautollm-1.1.0.tar.gz
- Upload date:
- Size: 64.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baff57454b79575b1548287d9b94d723c1e3fd12a5cf9238e9cd090db518e6a8
|
|
| MD5 |
e6cb7f80f8dd473c88d51261392a83ff
|
|
| BLAKE2b-256 |
9c7c9c5f3b2bd439bc413dab217e4d456c4c80be5d43c29ed415a8efdf5e4b8a
|
File details
Details for the file pyautollm-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pyautollm-1.1.0-py3-none-any.whl
- Upload date:
- Size: 72.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbc7ae1e09cafe5ce87f93fc3b66ed8d1ccf29ba30160315a8926ceb5f69fe55
|
|
| MD5 |
fcc0aab9accf1e8c761a54586c84904d
|
|
| BLAKE2b-256 |
68d0d8d7fc63701ea86e5f5d9b279009cbc1bd88f35d0c35b9f1e35f1f68d559
|