Merge branch 'master' into master

This commit is contained in:
Fireblade2534 2025-03-11 11:06:33 -04:00 committed by GitHub
commit 9f67366278
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -63,6 +63,11 @@ docker run --gpus all -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-gpu:v0.2.2 #NV
# or cd docker/cpu # For CPU support # or cd docker/cpu # For CPU support
docker compose up --build docker compose up --build
# *Note for Apple Silicon (M1/M2) users:
# The current GPU build relies on CUDA, which is not supported on Apple Silicon.
# If you are on an M1/M2/M3 Mac, please use the `docker/cpu` setup.
# MPS (Apples GPU acceleration) support is planned but not yet available.
# Models will auto-download, but if needed you can manually download: # Models will auto-download, but if needed you can manually download:
python docker/scripts/download_model.py --output api/src/models/v1_0 python docker/scripts/download_model.py --output api/src/models/v1_0

View file

@ -1,7 +1,7 @@
from collections.abc import AsyncIterable, Iterable
import json import json
import typing import typing
from collections.abc import AsyncIterable, Iterable
from pydantic import BaseModel from pydantic import BaseModel
from starlette.background import BackgroundTask from starlette.background import BackgroundTask
from starlette.concurrency import iterate_in_threadpool from starlette.concurrency import iterate_in_threadpool