Skip to content

Tuner function not accessible in docker #537

Description

@gitchat1

Hi, I wanted to test the new runer fuction. So I git pulled the latest files and then ran docker compose up --build. I can see the tuner option in the webui it is not clickable though here is the log.

(base) anonym@anonym-Victus-by-HP-Gaming-Laptop-15-fb2xxx:~/Kokoro-FastAPI/docker/gpu$ sudo docker compose up
Attaching to kokoro-tts-1
kokoro-tts-1 | Model files already exist and are valid
kokoro-tts-1 | ✓ Inno tuner weights prepared at /app/api/src/models/v1_0/inno_tuner/model.safetensors
kokoro-tts-1 | Global API loguru logger level: DEBUG
kokoro-tts-1 | INFO: Started server process [1]
kokoro-tts-1 | INFO: Waiting for application startup.
kokoro-tts-1 | 01:30:31 PM | INFO | main:68 | Loading TTS model and voice packs...
kokoro-tts-1 | 01:30:31 PM | INFO | model_manager:46 | Initializing Kokoro V1 on cuda
kokoro-tts-1 | 01:30:31 PM | DEBUG | paths:131 | Searching for model in path: /app/api/src/models
kokoro-tts-1 | 01:30:31 PM | INFO | kokoro_v1:162 | Loading Kokoro model on cuda
kokoro-tts-1 | 01:30:31 PM | INFO | kokoro_v1:163 | Config path: /app/api/src/models/v1_0/config.json
kokoro-tts-1 | 01:30:31 PM | INFO | kokoro_v1:164 | Model path: /app/api/src/models/v1_0/kokoro-v1_0.pth
kokoro-tts-1 | /app/.venv/lib/python3.12/site-packages/torch/nn/modules/rnn.py:123: UserWarning: dropout option adds dropout after all but last recurrent layer, so non-zero dropout expects num_layers greater than 1, but got dropout=0.2 and num_layers=1
kokoro-tts-1 | warnings.warn(
kokoro-tts-1 | /app/.venv/lib/python3.12/site-packages/torch/nn/utils/weight_norm.py:144: FutureWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
kokoro-tts-1 | WeightNorm.apply(module, name, dim)
kokoro-tts-1 | 01:30:32 PM | DEBUG | paths:171 | Scanning for voices in path: /app/api/src/voices/v1_0
kokoro-tts-1 | 01:30:32 PM | DEBUG | paths:155 | Searching for voice in path: /app/api/src/voices/v1_0
kokoro-tts-1 | 01:30:32 PM | DEBUG | model_manager:85 | Using default voice 'af_heart' for warmup
kokoro-tts-1 | 01:30:32 PM | DEBUG | kokoro_v1:130 | Cached voice tensor from /app/api/src/voices/v1_0/af_heart.pt
kokoro-tts-1 | 01:30:32 PM | INFO | kokoro_v1:201 | Creating new pipeline for language code: a
kokoro-tts-1 | 01:30:32 PM | DEBUG | kokoro_v1:382 | Generating audio for text with lang_code 'a': 'Warmup text for initialization.'
kokoro-tts-1 | 01:30:33 PM | DEBUG | kokoro_v1:389 | Got audio chunk with shape: torch.Size([57600])
kokoro-tts-1 | 01:30:33 PM | INFO | model_manager:92 | Warmup completed in 1712ms
kokoro-tts-1 | 01:30:33 PM | INFO | main:129 |
kokoro-tts-1 |
kokoro-tts-1 | ░░░░░░░░░░░░░░░░░░░░░░░░
kokoro-tts-1 |
kokoro-tts-1 | ╔═╗┌─┐┌─┐┌┬┐
kokoro-tts-1 | ╠╣ ├─┤└─┐ │
kokoro-tts-1 | ╚ ┴ ┴└─┘ ┴
kokoro-tts-1 | ╦╔═┌─┐┬┌─┌─┐
kokoro-tts-1 | ╠╩╗│ │├┴┐│ │
kokoro-tts-1 | ╩ ╩└─┘┴ ┴└─┘
kokoro-tts-1 |
kokoro-tts-1 | ░░░░░░░░░░░░░░░░░░░░░░░░
kokoro-tts-1 |
kokoro-tts-1 | Model warmed up on cuda: kokoro_v1
kokoro-tts-1 | CUDA: True
kokoro-tts-1 | 72 voice packs loaded
kokoro-tts-1 |
kokoro-tts-1 | Beta Web Player: http://0.0.0.0:8880/web/
kokoro-tts-1 | or http://localhost:8880/web/
kokoro-tts-1 | ░░░░░░░░░░░░░░░░░░░░░░░░
kokoro-tts-1 |
kokoro-tts-1 | INFO: Application startup complete.
kokoro-tts-1 | INFO: Uvicorn running on http://0.0.0.0:8880 (Press CTRL+C to quit)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions