-
-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
The Duskfall Portal Crew edited this page Mar 3, 2026
·
4 revisions
⚠️ Alpha Status — March 2026
Cross-platform AI Model training interface (Next.js + Python)
This guide walks you through setting up the Ktiseos Nyx Trainer locally or on a cloud GPU instance.
- Python 3.10+ (Recommended: 3.10.12)
- Node.js 18+ (LTS recommended)
- Git
- GPU Drivers: CUDA-compatible drivers installed (if running locally)
- Cloud Account: VAST.ai, RunPod, Lambda Labs, etc. (if not running locally)
- SSH Client: Configured for remote instance access
- VAST.ai Account: Only required if using VAST.ai specifically
git clone https://github.com/Ktiseos-Nyx/Ktiseos-Nyx-Trainer.git
cd Ktiseos-Nyx-Trainer- Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
-
Path Configuration: Ensure the
custom_schedulerdirectory is added toPYTHONPATHif using advanced optimizers like CAME (usually handled automatically, but verify ifModuleNotFoundErroroccurs).
- Install dependencies:
npm install
- Create environment file:
cp .env.example .env.local
- Configure variables (see 02-Configuration#Environment-Variables).
Best for: Developers with local GPUs, debugging, testing.
- Start the backend API:
python main.py
- Start the frontend dev server:
npm run dev
- Open
http://localhost:3000.
Best for: Users without local GPU hardware.
- Rent an Instance: Choose a GPU with sufficient VRAM for your model size.
- Deploy Code: Clone the repository onto the instance.
- Expose Ports: Ensure port 3000 (frontend) and backend ports are accessible via HTTP/HTTPS.
- Access UI: Navigate to the instance's public IP/url.
💡 Note: While this project is tested on VAST.ai, it is compatible with any cloud GPU provider that supports Python 3.10+ and Node.js 18+.
- Navigate to the Form: The default view is the training configuration form.
-
Fill Required Fields:
-
Model Path: HuggingFace path (e.g.,
runwayml/stable-diffusion-v1-5) or local path. - Dataset Path: Path to your training dataset (local or mounted cloud storage).
-
Optimizer: Select
AdamW8bitfor standard runs (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".
- Monitor: Watch the console output or log files for progress.
To confirm everything is working:
- ✅ No Pydantic validation errors in the UI alert box.
- ✅ Training logs appear in the console/output window.
- ✅ No
ModuleNotFoundErrorfor schedulers (e.g., CAME). - ✅ GPU utilization shows activity (via
nvidia-smior cloud monitor).
- 02-Configuration: Deep dive into form fields and advanced settings.
- 03-Troubleshooting: Common errors (validation, CUDA OOM, path issues).
- 04-Concepts: Understanding LoRA, schedulers, and checkpointing.
If you encounter errors during setup:
- Check 03-Troubleshooting first.
- Ensure your Python/Node versions match the prerequisites.
- Open a GitHub Issue with your error logs and deployment mode (Local/Cloud).