Get ALICE running on your system
# Clone the repository
git clone https://github.com/SyntheticAutonomicMind/ALICE.git
cd ALICE
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install PyTorch (choose your platform)
# NVIDIA CUDA:
pip install torch==2.6.0 torchvision==0.21.0 --index-url https://download.pytorch.org/whl/cu124
# AMD ROCm:
pip install torch==2.6.0 torchvision==0.21.0 --index-url https://download.pytorch.org/whl/rocm6.2
# Apple Silicon (macOS):
pip install torch==2.6.0 torchvision==0.21.0
# Install remaining dependencies
pip install -r requirements.txt
# Create directories
mkdir -p models images logs
# Start ALICE
python -m src.main
# Open in browser
open http://localhost:8080/web/
# Run installer (requires sudo)
sudo ./scripts/install.sh
# Add models to /var/lib/alice/models
# Start service
sudo systemctl start alice
# Enable auto-start
sudo systemctl enable alice
# Check status
sudo systemctl status alice
# Run automated installer
./scripts/install_steamos.sh
# Add models to ~/.local/share/alice/models
# Check status
systemctl --user status alice
# View logs
journalctl --user -u alice -f
ALICE needs at least one Stable Diffusion model to generate images. Download from:
Place models in the models/ directory. ALICE auto-detects model types (SD 1.5, SDXL, FLUX).
# Check GPU is detected
python -c "import torch; print(torch.cuda.is_available())"
# Test generation
curl -X POST http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"messages":[{"role":"user","content":"a cat"}]}'