13260cd126
Features: - Wrapper service for llama-server with health monitoring - REST API for chat completions (/v1/chat/completions) - Admin endpoints (/admin/restart, /admin/status) - Auto-restart on crash with health check interval - Support for multimodal models (gemma-4-12b with mmproj) Configuration (config.json): - llama_server_path, model_path, mmproj_path - port: 8080, host: 0.0.0.0 - ctx_size: 8192, gpu_layers: 99 - batch_size: 4096, ubatch_size: 4096 (fixes GGML assertion error) - temperature: 0.1, max_tokens: 300 - auto_restart: true, health_check_interval: 30s Bug fixes: - Added batch_size and ubatch_size to prevent GGML assertion failure - Changed Axum server port to port+9 (8089) to avoid sftpgo conflict - Set gpu_layers to 99 instead of -1 for stable GPU offloading
2 lines
8 B
Plaintext
2 lines
8 B
Plaintext
/target
|