-
-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
⚠️ Alpha Status — March 2026
Cross-platform LoRA training interface (Next.js + FastAPI)
This guide walks you through setting up the Ktiseos Nyx Trainer on Windows, Linux, or cloud GPUs.
| Component | Requirement | Notes |
|---|---|---|
| GPU | NVIDIA with CUDA 12.1+ | 12GB VRAM minimum, 24GB recommended for SDXL |
| Python | 3.10 or 3.11 | Other versions may cause dependency conflicts |
| Node.js | 18+ (LTS recommended) | Required for Next.js frontend |
| Disk Space | 50GB+ free | For models, datasets, and cache |
| Git | Latest | For cloning the repository |
- VAST.ai, RunPod, or similar account (only if not running locally)
- SSH client configured for remote access
git clone https://github.com/Ktiseos-Nyx/Ktiseos-Nyx-Trainer.git
cd Ktiseos-Nyx-TrainerIsolates dependencies and prevents system-wide conflicts.
REM Create virtual environment
python -m venv venv
REM Activate it (do this EVERY TIME you open a new terminal)
venv\Scripts\activate
REM Install dependencies
install.bat# Create virtual environment
python3 -m venv venv
# Activate it (do this EVERY TIME you open a new terminal)
source venv/bin/activate
# Install dependencies
./install.sh💡 Pro Tip: Your terminal prompt will show
(venv)when the virtual environment is active. If you don't see it, activate again.
If you prefer system-wide installation:
install.bat./install.sh-
Activate venv (if not already active):
- Windows:
venv\Scripts\activate - Linux:
source venv/bin/activate
- Windows:
-
Start services:
- Windows:
start_services_local.bat - Linux:
./start_services_local.sh
- Windows:
- Windows:
start_services_local.bat - Linux:
./start_services_local.sh
| Service | URL |
|---|---|
| Frontend UI | http://localhost:3000 |
| Backend API | http://localhost:8000 |
| API Documentation | http://localhost:8000/docs |
Best for: Development, testing, users with local NVIDIA GPUs.
- Follow the installation steps above.
- Ensure CUDA drivers are up to date (
nvidia-smito verify). - Run locally via startup scripts.
Best for: Users without local GPU hardware.
- Rent an Instance: Choose a GPU with sufficient VRAM for your target model.
-
Deploy:
- VAST.ai: Use the Deploy on VastAI button in the repo for auto-configured templates.
- Other Providers: Clone the repo and follow the Linux installation steps.
-
Expose Ports: Ensure ports
3000(frontend) and8000(backend) are publicly accessible. - Access UI: Navigate to your instance's public IP/URL.
💡 Note: The application is cloud-provider agnostic. VAST.ai is used as an example because it's tested, but any provider supporting Python 3.10+ and Node.js 18+ will work.
-
Open the UI: Navigate to
http://localhost:3000(or your cloud instance URL). -
Configure Training:
-
Model Path: HuggingFace path (e.g.,
runwayml/stable-diffusion-v1-5) or local path. - Dataset Path: Path to your training data (local or mounted cloud storage).
-
Optimizer: Start with
AdamW8bitfor stability (see 02-Configuration#Optimizers).
-
Model Path: HuggingFace path (e.g.,
- Save Config: Click "Save" to persist settings to localStorage (prevents data loss on refresh).
- Start Training: Click "Start Training" and monitor the output panel.
-
Verify: Check for:
- ✅ No Pydantic validation errors in the UI
- ✅ Training logs appearing in real-time
- ✅ GPU activity via
nvidia-smior cloud monitoring
# Navigate to installation directory
cd Ktiseos-Nyx-Trainer
# Pull latest changes
git pull
# Reactivate virtual environment (if using)
venv\Scripts\activate # Windows
source venv/bin/activate # Linux
# Update dependencies
install.bat # Windows
./install.sh # Linux💡 The installer scripts are safe to run multiple times and will preserve your datasets, models, and configs.
If installation fails or the app won't start:
Collects system info, Python/Node versions, and dependency status.
diagnose.bat./diagnose.shAttach the generated diagnostics_*.txt file to your GitHub Issue.
- Virtual environment is activated (
(venv)in prompt) - CUDA drivers are installed and detected (
nvidia-smi) - Ports 3000/8000 are not blocked by firewall
- Python 3.10/3.11 and Node 18+ are in your
PATH
- 02-Configuration: Deep dive into the 132+ parameters across 7 tabs.
- 03-Troubleshooting: Error messages, log locations, recovery steps.
- 04-Concepts: Understanding LoRA types, schedulers, and checkpointing.
- 07-Release-Notes: Changelog and known issues.
- Check 03-Troubleshooting first.
- Review the Support Guidelines.
- Open a GitHub Issue with:
- Your OS and deployment mode (Local/Cloud)
- Error output / logs
- The
diagnostics_*.txtfile if installation failed