-
-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
v0.2.1-BETA Cross-platform LoRA training interface (Next.js + FastAPI)
This guide walks you through installing and running your first training session. For detailed platform-specific instructions, see Installation.
| Component | Requirement | Notes |
|---|---|---|
| GPU | NVIDIA with CUDA 12.1+ | 12 GB VRAM minimum, 24 GB recommended for SDXL/Flux |
| Python | 3.10 or 3.11 | Other versions may cause dependency conflicts |
| Node.js | 20.19+ | 22.x recommended |
| Disk Space | 50 GB+ free | For models, datasets, and cache |
| Git | Latest | For cloning and updates |
git clone https://github.com/Ktiseos-Nyx/Ktiseos-Nyx-Trainer.git
cd Ktiseos-Nyx-Trainer
install.bat
Install to a path you own (e.g. C:\Users\YourName\Projects\). Avoid system directories, OneDrive, or network drives.
git clone https://github.com/Ktiseos-Nyx/Ktiseos-Nyx-Trainer.git
cd Ktiseos-Nyx-Trainer
./install.sh
- Checks for Python 3.10/3.11 and Node.js 20+
- Creates a virtual environment (
.venv/) unless--no-venvis passed - Installs PyTorch with CUDA 12.1 index
- Installs Python dependencies
- Runs
npm install && npm run buildinfrontend/
Installer flags:
| Flag | Effect |
|---|---|
--venv |
Create venv without prompting |
--no-venv |
Skip venv creation |
--auto |
Non-interactive (implies --venv) |
--no-comfyui |
Skip ComfyUI installation |
--verbose |
Show full pip/npm output |
start_services_local.bat # Windows
./start_services_local.sh # Linux
Services:
| URL | Description |
|---|---|
| http://localhost:3000 | Frontend UI |
| http://localhost:8000 | Backend API |
| http://localhost:8000/docs | API documentation |
Custom ports:
start_services_local.bat --port 4000 --backend-port 9000
./start_services_local.sh --port 4000 --backend-port 9000
Quick restart (no rebuild):
restart.bat # Windows
./restart.sh # Linux
One-click deploy buttons are available in the README. Both auto-configure on launch.
VastAI: The template runs vastai_setup.sh on first boot. Services restart automatically via Supervisor.
RunPod: The template runs provision_runpod.sh on first boot.
See Installation#Cloud-Deployment for manual setup.
- Open the UI: Navigate to http://localhost:3000
-
Configure Training:
-
Model Path: Use a HuggingFace path (e.g.
runwayml/stable-diffusion-v1-5) or local path - Dataset Path: Path to your training data
-
Optimizer: Start with
AdamW8bit
-
Model Path: Use a HuggingFace path (e.g.
- Save Config: Click "Save" to persist settings
- Start Training: Click "Start Training" and monitor the output panel
-
Verify:
- Training logs appear in real-time
- GPU activity via
nvidia-smi
git pull
install.bat # Windows
./install.sh # Linux
The installer is idempotent — re-running on an existing install only updates what changed.
If reinstalling doesn't fix issues:
python clean_slate.py --dry-run # Preview what will be removed
python clean_slate.py # Remove build artifacts, venv, node_modules
python clean_slate.py --nuclear # Also remove models, datasets, outputs
After clean_slate.py, re-run the installer.
- Configuration: Deep dive into training parameters and presets
- Training-Guide: Full workflow from dataset prep to model management
- Troubleshooting: Common errors and diagnostic tools
- Check Troubleshooting
- Run
diagnose.bat(Windows) or./diagnose.sh(Linux) - Open a GitHub Issue with the diagnostic output