Kokoro-FastAPI---CPU
Kokoro-FastAPI---CPU
Docker-Anwendung from grtgbln's Repository
Übersicht
Dockerized FastAPI wrapper for Kokoro-82M text-to-speech model w/CPU ONNX and NVIDIA GPU PyTorch support, handling, and auto-stitching.
This is a version meant for running on CPUs. It is not recommended to run this on a CPU unless you have a very powerful CPU, as it will be slow. If you have a GPU, please use the GPU version of this container.
This is a version meant for running on CPUs. It is not recommended to run this on a CPU unless you have a very powerful CPU, as it will be slow. If you have a GPU, please use the GPU version of this container.
Laufzeit-Argumente
- Web-UI
http://[IP]:[PORT:8880]/- Netzwerk
bridge- Privilegiert
- false
Konfiguration der Vorlage
Web UI PortPorttcp
Container Port: 8880
- Ziel
- 8880
- Standard
- 8880
- Wert
- 8880
Download ModelVariable
Download model on start
- Ziel
- DOWNLOAD_MODEL
- Standard
- true|false
App DataPath
Path to the app data folder
- Ziel
- /app/api
- Standard
- /mnt/user/appdata/kokoro-fastapi/data
- Wert
- /mnt/user/appdata/kokoro-fastapi/data
Python PathVariable
Python path environment variable
- Ziel
- PYTHONPATH
- Standard
- /app:/app/api
- Wert
- /app:/app/api
ONNX Optimization - Thread CountVariable
Number of threads to use for ONNX model inference
- Ziel
- ONNX_NUM_THREADS
- Standard
- 8
- Wert
- 8
ONNX Optimization - Inter Op Thread CountVariable
ONNX inter operation thread count
- Ziel
- ONNX_INTER_OP_THREADS
- Standard
- 4
- Wert
- 4
ONNX Optimization - Execution ModeVariable
ONNX execution mode
- Ziel
- ONNX_EXECUTION_MODE
- Standard
- parallel
- Wert
- parallel
ONNX Optimization - Optimization LevelVariable
ONNX optimization level
- Ziel
- ONNX_OPTIMIZATION_LEVEL
- Standard
- all
- Wert
- all
ONNX Optimization - Memory PatternVariable
Enable ONNX memory pattern optimization
- Ziel
- ONNX_MEMORY_PATTERN
- Standard
- true
- Wert
- true
ONNX Optimization - Arena Extend StrategyVariable
ONNX arena extend strategy
- Ziel
- ONNX_ARENA_EXTEND_STRATEGY
- Standard
- kNextPowerOfTwo
- Wert
- kNextPowerOfTwo
Log LevelVariable
Logging level for the API
- Ziel
- API_LOG_LEVEL
- Standard
- DEBUG
- Wert
- DEBUG
Kategorien
Einzelheiten
Repository
ghcr.io/remsky/kokoro-fastapi-cpu:latestZuletzt aktualisiert2026-05-31
Erstmals gesehen2025-04-25
Führen Sie Kokoro-FastAPI---CPU auf Unraid aus.
Kokoro-FastAPI---CPU ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.