From 2e3d909e07ed408f85c09a736f61877ce405f599 Mon Sep 17 00:00:00 2001 From: Matjaz Debelak Date: Thu, 5 Nov 2026 22:10:09 +0100 Subject: [PATCH 1/3] feat(omnilingual): add Meta Omnilingual ASR sidecar model Python sidecar (omnilingual/) serving Meta Omnilingual ASR 7B, a Go adapter that talks to it, an opt-in compose profile, and a CI workflow for the sidecar image. The omnilingual-7b model is only registered when OMNILINGUAL_URL is set. Co-Authored-By: Claude Opus 5.5 --- .env.example | 14 + .github/workflows/omnilingual.yml | 84 ++ .gitignore | 5 + DEPLOY.md | 30 + README.md | 1 + cmd/transcriber/models.go | 15 + docker-compose.yml | 37 + .../transcriber/omnilingual/omnilingual.go | 193 +++ .../omnilingual/omnilingual_test.go | 158 +++ omnilingual/.dockerignore | 5 + omnilingual/Dockerfile | 39 + omnilingual/README.md | 62 + omnilingual/pyproject.toml | 21 + omnilingual/regions.py | 47 + omnilingual/server.py | 126 ++ omnilingual/test_regions.py | 38 + omnilingual/uv.lock | 1063 +++++++++++++++++ 17 files changed, 1938 insertions(+) create mode 100644 .github/workflows/omnilingual.yml create mode 100644 internal/transcriber/omnilingual/omnilingual.go create mode 100644 internal/transcriber/omnilingual/omnilingual_test.go create mode 100644 omnilingual/.dockerignore create mode 100644 omnilingual/Dockerfile create mode 100644 omnilingual/README.md create mode 100644 omnilingual/pyproject.toml create mode 100644 omnilingual/regions.py create mode 100644 omnilingual/server.py create mode 100644 omnilingual/test_regions.py create mode 100644 omnilingual/uv.lock diff --git a/.env.example b/.env.example index 1d650dd..1f14377 100644 --- a/.env.example +++ b/.env.example @@ -44,3 +44,17 @@ JOB_TIMEOUT=30m # above the largest burst the pipeline will submit. MAX_TERMINAL_JOBS=200 LOG_FORMAT=json + +# ---- Omnilingual ASR (optional) ---- +# Meta Omnilingual ASR 7B runs as a separate container. Enable with +# docker compose --profile omnilingual up -d +# and set OMNILINGUAL_URL so the transcriber registers the `omnilingual-7b` +# model. Leave it empty to keep the model hidden. +# +# VRAM: the LLM 7B model holds ~17 GiB on the same GPU as whisper (~3 GB per +# worker). On a 24 GB RTX 3090 set WORKERS=1 while this is on, or switch to +# OMNI_MODEL_CARD=omniASR_CTC_7B_v2 (~15 GiB, much faster, ignores language). +# OMNILINGUAL_URL=http://omnilingual:8000 +# OMNILINGUAL_IMAGE=ghcr.io/bcc-code/omnilingual-asr:latest +# OMNI_MODEL_CARD=omniASR_LLM_7B_v2 +# OMNI_BATCH_SIZE=4 diff --git a/.github/workflows/omnilingual.yml b/.github/workflows/omnilingual.yml new file mode 100644 index 0000000..8ff8047 --- /dev/null +++ b/.github/workflows/omnilingual.yml @@ -0,0 +1,84 @@ +name: omnilingual + +# Builds the Omnilingual ASR sidecar image (omnilingual/) and pushes it to GHCR +# so hosts can `docker compose --profile omnilingual pull`. Only runs when the +# sidecar changes. Model weights are not baked in — they download into the +# omnilingual-cache volume on first start. + +on: + push: + branches: [main] + paths: + - omnilingual/** + - .github/workflows/omnilingual.yml + pull_request: + branches: [main] + paths: + - omnilingual/** + - .github/workflows/omnilingual.yml + workflow_dispatch: + +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository_owner }}/omnilingual-asr + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: astral-sh/setup-uv@v6 + # Only the dependency-free region planner; the server needs a GPU + 7B model. + - run: uv run --no-project --with pytest pytest -q test_regions.py + working-directory: omnilingual + + image: + runs-on: ubuntu-latest + needs: test + env: + CAN_PUSH: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v5 + + - name: Free up disk space + # torch + CUDA wheels are several GB installed; ubuntu-latest has ~14 GB free. + run: | + sudo rm -rf \ + /usr/local/lib/android \ + /usr/share/dotnet \ + /opt/ghc \ + /usr/local/share/boost \ + /opt/hostedtoolcache/CodeQL + sudo docker image prune -af + df -h / + + - uses: docker/setup-buildx-action@v3 + + - name: Log in to GHCR + if: env.CAN_PUSH == 'true' + uses: docker/login-action@v3 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - id: meta + uses: docker/metadata-action@v5 + with: + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=ref,event=branch + type=sha,prefix=sha- + type=raw,value=latest,enable={{is_default_branch}} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: omnilingual + platforms: linux/amd64 + push: ${{ github.event_name != 'pull_request' && env.CAN_PUSH == 'true' }} + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} diff --git a/.gitignore b/.gitignore index d04e107..3cbaab4 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,8 @@ prompt.txt # Compiled binary from `make build` /transcriber + +# Python (omnilingual sidecar) +.venv +__pycache__ +.pytest_cache diff --git a/DEPLOY.md b/DEPLOY.md index 4855dbb..d5d772c 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -251,6 +251,36 @@ compute-bound here, not memory-bound. Override `WHISPER_CPP_MODEL` / `NB_WHISPER_MODEL` / `WHISPER_VAD_MODEL` on the service to pin a model to a specific file on disk instead of letting the HF cache resolve it. +## Omnilingual ASR (optional) + +`omnilingual-7b` (Meta Omnilingual ASR 7B) runs in its own container, built +from `omnilingual/`. It is a Python/PyTorch service and is off by default. + +```sh +# .env +OMNILINGUAL_URL=http://omnilingual:8000 +WORKERS=1 # see VRAM below + +docker compose --profile omnilingual up -d +docker compose logs -f omnilingual # wait for "model ready" +``` + +- **VRAM.** The LLM 7B checkpoint holds ~17 GiB, on the same GPU as + whisper (~3 GB per worker). On a 24 GB RTX 3090, `WORKERS=2` plus the + sidecar overshoots and jobs fail with CUDA OOM. Use `WORKERS=1`, or + `OMNI_MODEL_CARD=omniASR_CTC_7B_v2` (~15 GiB, much faster, ignores + language). +- **Driver.** The image uses PyPI torch 2.8.0, which bundles a CUDA 12.8 + runtime. That needs a newer host driver than the whisper image's CUDA 12.6 + (>= 560.28.03). If the sidecar fails at CUDA init, check `nvidia-smi` + against NVIDIA's CUDA 12.8 driver table. +- **First start** downloads the multi-GB checkpoint into the + `omnilingual-cache` volume. The healthcheck allows 30 minutes for it. + Jobs submitted earlier fail fast with `503 model not loaded`. +- **Output.** There are no word timestamps, so subtitles get one cue per + speech region (at most 30 s). There is no prompt support, and the text is + likely lowercase with little punctuation. See `omnilingual/README.md`. + ## Pre-seeding models Worth doing even with internet access: the download currently happens diff --git a/README.md b/README.md index c646dda..8a83a9e 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ Go code. Server settings come from flags; per-machine paths from env vars. | `NB_WHISPER_MODEL` | _(unset → fetched from HF)_ | local path override for the `nb-whisper-large` adapter. Unset = auto-download `NbAiLab/nb-whisper-large/ggml-model.bin` via `internal/hfcache`. | | `WHISPER_VAD_MODEL` | _(unset → fetched from HF)_ | local path override for the Silero VAD model used to skip music/silence. Unset = auto-download `ggml-org/whisper-vad/ggml-silero-v5.1.2.bin`. | | `XDG_CACHE_HOME` | `~/.cache` | base for the HF cache (`/transcriber/hf//`). | +| `OMNILINGUAL_URL` | _(unset)_ | base URL of the Omnilingual ASR sidecar (`omnilingual/`). When set, the `omnilingual-7b` model is registered; unset = model hidden. | ## API diff --git a/cmd/transcriber/models.go b/cmd/transcriber/models.go index 8b44d4e..c152089 100644 --- a/cmd/transcriber/models.go +++ b/cmd/transcriber/models.go @@ -7,6 +7,7 @@ import ( "transcriber/internal/hfcache" "transcriber/internal/transcriber" "transcriber/internal/transcriber/chunked" + "transcriber/internal/transcriber/omnilingual" "transcriber/internal/transcriber/stub" "transcriber/internal/transcriber/whispercpp" ) @@ -59,6 +60,20 @@ func buildRegistry(defaultID string, whisperNoGPU bool) *transcriber.Registry { chunked.Config{}, )) + // Meta Omnilingual ASR runs as a Python sidecar (omnilingual/). Only + // registered when its URL is configured, so /models never advertises a + // model whose backend isn't running. + if url := os.Getenv("OMNILINGUAL_URL"); url != "" { + r.Register(chunked.New( + omnilingual.New(omnilingual.Config{ + ID: "omnilingual-7b", + DisplayName: "Meta Omnilingual ASR 7B", + BaseURL: url, + }), + chunked.Config{}, + )) + } + // Sub-large sizes upgrade to large — matches the old runner's coercion behavior. r.Alias("openai/whisper-large-v3", "whisper-cpp-large-v3") r.Alias("openai/whisper-large-v2", "whisper-cpp-large-v3") diff --git a/docker-compose.yml b/docker-compose.yml index e8f7a17..d410b4d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,6 +39,11 @@ services: - "-max-terminal-jobs=${MAX_TERMINAL_JOBS:-200}" - "-log-format=${LOG_FORMAT:-json}" + environment: + # Set to http://omnilingual:8000 when the `omnilingual` profile is on. + # Empty = the omnilingual-7b model is not registered. + OMNILINGUAL_URL: ${OMNILINGUAL_URL:-} + volumes: # ggml model cache — first job downloads ~3 GB, this keeps it. - models:/var/cache/transcriber @@ -65,5 +70,37 @@ services: count: all capabilities: [gpu] + # Meta Omnilingual ASR sidecar (omnilingual/). Opt-in: + # docker compose --profile omnilingual up -d + # and set OMNILINGUAL_URL=http://omnilingual:8000 in .env. It holds ~17 GiB + # of VRAM on the same GPU as whisper. See DEPLOY.md before enabling it. + omnilingual: + profiles: ["omnilingual"] + image: ${OMNILINGUAL_IMAGE:-ghcr.io/bcc-code/omnilingual-asr:latest} + build: + context: ./omnilingual + restart: unless-stopped + environment: + OMNI_MODEL_CARD: ${OMNI_MODEL_CARD:-omniASR_LLM_7B_v2} + OMNI_BATCH_SIZE: ${OMNI_BATCH_SIZE:-4} + volumes: + # fairseq2 checkpoint cache — the 7B model is a multi-GB first download. + - omnilingual-cache:/cache + healthcheck: + test: ["CMD", "curl", "-fsS", "http://localhost:8000/healthz"] + interval: 30s + timeout: 5s + # First start downloads and loads the 7B checkpoint. + start_period: 30m + retries: 3 + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] + volumes: models: + omnilingual-cache: diff --git a/internal/transcriber/omnilingual/omnilingual.go b/internal/transcriber/omnilingual/omnilingual.go new file mode 100644 index 0000000..30131f3 --- /dev/null +++ b/internal/transcriber/omnilingual/omnilingual.go @@ -0,0 +1,193 @@ +// Package omnilingual adapts the Meta Omnilingual ASR sidecar (omnilingual/ at +// the repo root) to the Transcriber interface. +// +// The model is Python-only (fairseq2 + PyTorch) and a 7B checkpoint takes far +// too long to load per chunk, so it runs as a long-lived HTTP service and this +// adapter just uploads audio to it. The sidecar splits the audio on silence +// into regions of at most 30 s (the model rejects inputs over 40 s), and each +// region comes back as one segment. There are no word timestamps, so subtitle +// formats emit one cue per segment. +package omnilingual + +import ( + "context" + "encoding/json" + "fmt" + "io" + "mime/multipart" + "net/http" + "os" + "path/filepath" + "strings" + "time" + + "transcriber/internal/transcriber" +) + +type Config struct { + ID string + DisplayName string + // BaseURL of the sidecar, e.g. http://omnilingual:8000. + BaseURL string + // HTTPClient defaults to a client with no timeout: jobs are bounded by + // the request context (the per-job timeout), and a 5-minute chunk on a + // 7B model can legitimately take minutes. + HTTPClient *http.Client +} + +type Adapter struct { + cfg Config +} + +func New(cfg Config) *Adapter { + if cfg.ID == "" { + cfg.ID = "omnilingual" + } + if cfg.HTTPClient == nil { + cfg.HTTPClient = &http.Client{} + } + cfg.BaseURL = strings.TrimRight(cfg.BaseURL, "/") + return &Adapter{cfg: cfg} +} + +func (a *Adapter) ID() string { return a.cfg.ID } + +func (a *Adapter) Name() string { + if a.cfg.DisplayName != "" { + return a.cfg.DisplayName + } + return "Omnilingual ASR" +} + +// langCodes maps the ISO 639-1 codes the API accepts to Omnilingual's +// {iso639-3}_{script} codes. Every target was checked against the model's +// supported_langs. Nynorsk (nn) has no entry upstream, so it falls through to +// "no language hint" rather than being forced to Bokmål. +var langCodes = map[string]string{ + "no": "nob_Latn", + "nb": "nob_Latn", + "en": "eng_Latn", + "de": "deu_Latn", + "sv": "swe_Latn", + "da": "dan_Latn", + "fi": "fin_Latn", + "fr": "fra_Latn", + "es": "spa_Latn", + "pt": "por_Latn", + "it": "ita_Latn", + "nl": "nld_Latn", + "pl": "pol_Latn", + "ru": "rus_Cyrl", + "uk": "ukr_Cyrl", + "ro": "ron_Latn", + "hu": "hun_Latn", +} + +// LangCode returns the Omnilingual language code for an ISO 639-1 code, or "" +// when there is none (including "auto" and ""), meaning "let the model guess". +func LangCode(iso string) string { + return langCodes[strings.ToLower(iso)] +} + +type response struct { + Language string `json:"language"` + Segments []struct { + Start float64 `json:"start"` + End float64 `json:"end"` + Text string `json:"text"` + } `json:"segments"` +} + +// Transcribe uploads the input to the sidecar. req.Prompt is ignored: the +// model has no prompt/vocabulary conditioning. There is no intra-request +// progress; the chunked wrapper reports progress per chunk. +func (a *Adapter) Transcribe(ctx context.Context, req transcriber.Request, onProgress transcriber.ProgressFunc) (*transcriber.Result, error) { + if a.cfg.BaseURL == "" { + return nil, fmt.Errorf("omnilingual: base URL not configured") + } + f, err := os.Open(req.InputPath) + if err != nil { + return nil, fmt.Errorf("omnilingual: open input: %w", err) + } + defer f.Close() + + lang := LangCode(req.Language) + + // Stream the multipart body so an hour-long file isn't buffered in memory. + pr, pw := io.Pipe() + mw := multipart.NewWriter(pw) + go func() { + err := func() error { + if lang != "" { + if err := mw.WriteField("lang", lang); err != nil { + return err + } + } + part, err := mw.CreateFormFile("audio", filepath.Base(req.InputPath)) + if err != nil { + return err + } + if _, err := io.Copy(part, f); err != nil { + return err + } + return mw.Close() + }() + pw.CloseWithError(err) + }() + + httpReq, err := http.NewRequestWithContext(ctx, http.MethodPost, a.cfg.BaseURL+"/transcribe", pr) + if err != nil { + pr.Close() + return nil, err + } + httpReq.Header.Set("Content-Type", mw.FormDataContentType()) + + start := time.Now() + resp, err := a.cfg.HTTPClient.Do(httpReq) + if err != nil { + pr.Close() + if ctx.Err() != nil { + return nil, ctx.Err() + } + return nil, fmt.Errorf("omnilingual: request: %w", err) + } + defer resp.Body.Close() + + if resp.StatusCode/100 != 2 { + body, _ := io.ReadAll(io.LimitReader(resp.Body, 2048)) + return nil, fmt.Errorf("omnilingual: %s: %s", resp.Status, strings.TrimSpace(string(body))) + } + + var raw response + if err := json.NewDecoder(resp.Body).Decode(&raw); err != nil { + return nil, fmt.Errorf("omnilingual: decode response: %w", err) + } + + t := &transcriber.Transcription{ + Language: req.Language, + Segments: make([]transcriber.Segment, 0, len(raw.Segments)), + } + texts := make([]string, 0, len(raw.Segments)) + for _, s := range raw.Segments { + text := strings.TrimSpace(s.Text) + if text == "" { + continue + } + t.Segments = append(t.Segments, transcriber.Segment{ + ID: len(t.Segments), + Start: s.Start, + End: s.End, + Text: text, + }) + texts = append(texts, text) + } + t.Text = strings.Join(texts, " ") + if onProgress != nil { + onProgress(1) + } + return &transcriber.Result{ + Transcription: t, + ModelUsed: a.cfg.ID, + Duration: time.Since(start), + }, nil +} diff --git a/internal/transcriber/omnilingual/omnilingual_test.go b/internal/transcriber/omnilingual/omnilingual_test.go new file mode 100644 index 0000000..bec6557 --- /dev/null +++ b/internal/transcriber/omnilingual/omnilingual_test.go @@ -0,0 +1,158 @@ +package omnilingual + +import ( + "context" + "errors" + "io" + "net/http" + "net/http/httptest" + "os" + "path/filepath" + "strings" + "testing" + "time" + + "transcriber/internal/transcriber" +) + +func writeInput(t *testing.T, content string) string { + t.Helper() + p := filepath.Join(t.TempDir(), "in.wav") + if err := os.WriteFile(p, []byte(content), 0o644); err != nil { + t.Fatal(err) + } + return p +} + +func TestTranscribeSendsAudioAndLang(t *testing.T) { + var gotLang, gotAudio, gotPath string + srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + gotPath = r.URL.Path + if err := r.ParseMultipartForm(1 << 20); err != nil { + t.Errorf("parse multipart: %v", err) + } + gotLang = r.FormValue("lang") + f, _, err := r.FormFile("audio") + if err != nil { + t.Errorf("audio field: %v", err) + } else { + b, _ := io.ReadAll(f) + gotAudio = string(b) + } + io.WriteString(w, `{"language":"nob_Latn","segments":[ + {"start":0.5,"end":4.25,"text":" hei og velkommen "}, + {"start":5,"end":6,"text":" "}, + {"start":6.1,"end":9.9,"text":"til møtet"}]}`) + })) + defer srv.Close() + + var progress float64 + a := New(Config{ID: "omni", BaseURL: srv.URL + "/"}) + res, err := a.Transcribe(context.Background(), transcriber.Request{ + InputPath: writeInput(t, "RIFFfake"), + Language: "no", + }, func(p float64) { progress = p }) + if err != nil { + t.Fatal(err) + } + + if gotPath != "/transcribe" { + t.Errorf("path = %q", gotPath) + } + if gotLang != "nob_Latn" { + t.Errorf("lang = %q, want nob_Latn", gotLang) + } + if gotAudio != "RIFFfake" { + t.Errorf("audio = %q", gotAudio) + } + if progress != 1 { + t.Errorf("progress = %v, want 1", progress) + } + + tr := res.Transcription + if res.ModelUsed != "omni" { + t.Errorf("ModelUsed = %q", res.ModelUsed) + } + if tr.Language != "no" { + t.Errorf("Language = %q, want request language", tr.Language) + } + if len(tr.Segments) != 2 { + t.Fatalf("segments = %d, want 2 (blank dropped): %+v", len(tr.Segments), tr.Segments) + } + s0, s1 := tr.Segments[0], tr.Segments[1] + if s0.ID != 0 || s0.Start != 0.5 || s0.End != 4.25 || s0.Text != "hei og velkommen" { + t.Errorf("seg0 = %+v", s0) + } + if s1.ID != 1 || s1.Start != 6.1 || s1.Text != "til møtet" { + t.Errorf("seg1 = %+v", s1) + } + if tr.Text != "hei og velkommen til møtet" { + t.Errorf("Text = %q", tr.Text) + } +} + +func TestTranscribeOmitsUnknownLang(t *testing.T) { + for _, lang := range []string{"", "auto", "nn", "xx"} { + t.Run(lang, func(t *testing.T) { + var hasLang bool + srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + r.ParseMultipartForm(1 << 20) + _, hasLang = r.MultipartForm.Value["lang"] + io.WriteString(w, `{"segments":[]}`) + })) + defer srv.Close() + _, err := New(Config{BaseURL: srv.URL}).Transcribe(context.Background(), transcriber.Request{ + InputPath: writeInput(t, "x"), Language: lang, + }, nil) + if err != nil { + t.Fatal(err) + } + if hasLang { + t.Errorf("lang field sent for %q", lang) + } + }) + } +} + +func TestTranscribeErrorIncludesBody(t *testing.T) { + srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + http.Error(w, "model not loaded", http.StatusServiceUnavailable) + })) + defer srv.Close() + _, err := New(Config{BaseURL: srv.URL}).Transcribe(context.Background(), transcriber.Request{ + InputPath: writeInput(t, "x"), + }, nil) + if err == nil || !strings.Contains(err.Error(), "503") || !strings.Contains(err.Error(), "model not loaded") { + t.Fatalf("err = %v", err) + } +} + +func TestTranscribeCancel(t *testing.T) { + release := make(chan struct{}) + srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + select { + case <-release: + case <-r.Context().Done(): + } + })) + defer srv.Close() + defer close(release) + + ctx, cancel := context.WithTimeout(context.Background(), 50*time.Millisecond) + defer cancel() + _, err := New(Config{BaseURL: srv.URL}).Transcribe(ctx, transcriber.Request{ + InputPath: writeInput(t, "x"), + }, nil) + if !errors.Is(err, context.DeadlineExceeded) { + t.Fatalf("err = %v, want deadline exceeded", err) + } +} + +func TestTranscribeMissingInput(t *testing.T) { + _, err := New(Config{BaseURL: "http://127.0.0.1:1"}).Transcribe(context.Background(), transcriber.Request{ + InputPath: filepath.Join(t.TempDir(), "nope.wav"), + }, nil) + if err == nil || !strings.Contains(err.Error(), "open input") { + t.Fatalf("err = %v", err) + } +} diff --git a/omnilingual/.dockerignore b/omnilingual/.dockerignore new file mode 100644 index 0000000..0209af5 --- /dev/null +++ b/omnilingual/.dockerignore @@ -0,0 +1,5 @@ +.venv +__pycache__ +.pytest_cache +test_regions.py +README.md diff --git a/omnilingual/Dockerfile b/omnilingual/Dockerfile new file mode 100644 index 0000000..547d94d --- /dev/null +++ b/omnilingual/Dockerfile @@ -0,0 +1,39 @@ +# syntax=docker/dockerfile:1.7 + +# Meta Omnilingual ASR sidecar. The Go transcriber talks to it over HTTP +# (OMNILINGUAL_URL); see README.md in this directory. +# +# No CUDA base image: the PyPI torch wheel bundles its own CUDA runtime +# (torch 2.8.0 → CUDA 12.8), and the NVIDIA Container Toolkit injects the +# driver. The host driver must be new enough for that runtime; see DEPLOY.md. + +FROM python:3.12-slim-bookworm + +# libsndfile: fairseq2's audio stack. ffmpeg: decodes whatever the caller uploads. +RUN apt-get update && apt-get install -y --no-install-recommends \ + ffmpeg libsndfile1 curl ca-certificates \ + && rm -rf /var/lib/apt/lists/* + +COPY --from=ghcr.io/astral-sh/uv:0.12.15 /uv /usr/local/bin/uv + +WORKDIR /app +ENV UV_COMPILE_BYTECODE=1 \ + UV_LINK_MODE=copy \ + UV_PROJECT_ENVIRONMENT=/opt/venv +COPY pyproject.toml uv.lock ./ +RUN uv sync --locked --no-dev + +COPY server.py regions.py ./ + +# fairseq2 downloads checkpoints to ~/.cache/fairseq2/assets (several GB for +# the 7B models). HOME=/cache puts that on the mounted volume. +ENV HOME=/cache \ + PATH=/opt/venv/bin:$PATH \ + NVIDIA_VISIBLE_DEVICES=all \ + NVIDIA_DRIVER_CAPABILITIES=compute,utility \ + OMNI_MODEL_CARD=omniASR_LLM_7B_v2 \ + OMNI_BATCH_SIZE=4 +RUN mkdir -p /cache + +EXPOSE 8000 +CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/omnilingual/README.md b/omnilingual/README.md new file mode 100644 index 0000000..d80ad44 --- /dev/null +++ b/omnilingual/README.md @@ -0,0 +1,62 @@ +# Omnilingual ASR sidecar + +HTTP service that serves [Meta Omnilingual ASR](https://github.com/facebookresearch/omnilingual-asr) +to the Go transcriber. The model is Python-only (fairseq2 + PyTorch) and a 7B +checkpoint is far too slow to load per chunk, so it runs as a long-lived +process. The Go adapter (`internal/transcriber/omnilingual`) registers the +`omnilingual-7b` model when `OMNILINGUAL_URL` is set. + +## What it does + +`POST /transcribe` (multipart: `audio` file, optional `lang` such as `nob_Latn`): + +1. Decodes the audio with ffmpeg to 16 kHz mono. +2. Splits it on silence with Silero VAD into regions of at most 30 s. The + non-"Unlimited" checkpoints reject inputs over 40 s. +3. Transcribes all regions in batches and returns one segment per region: + `{"language": ..., "segments": [{"start", "end", "text"}]}`. + +`GET /healthz` returns 503 while the model loads and 200 after. + +Limitations compared with the whisper adapters: + +- No word timestamps, so subtitles get one cue per VAD region. +- No prompt or vocabulary support. The job's `prompt` is ignored. +- Text is likely lowercase with little punctuation, because upstream's + tokenizer stripped punctuation. +- Norwegian is Bokmål only (`nob_Latn`). `nn` requests run with no language + hint. + +## Configuration + +| Env var | Default | Meaning | +| --------------------- | ------------------- | --------------------------------------------------------------------------------------------- | +| `OMNI_MODEL_CARD` | `omniASR_LLM_7B_v2` | fairseq2 model card. `omniASR_CTC_7B_v2` is ~16× faster, uses ~15 GiB and ignores `lang`. | +| `OMNI_BATCH_SIZE` | `4` | VAD regions per forward pass. Raise it if VRAM allows. | +| `OMNI_MAX_REGION_SEC` | `30` | Longest region sent to the model. Must stay below 40. | + +VRAM (BF16, upstream figures): ~17 GiB for LLM 7B and ~15 GiB for CTC 7B. + +## Run natively (Linux + NVIDIA GPU) + +```sh +cd omnilingual +uv sync --locked +uv run uvicorn server:app --port 8000 +# in the repo root: +OMNILINGUAL_URL=http://localhost:8000 go run ./cmd/transcriber +``` + +The lock targets linux/x86_64 only, because fairseq2 has no macOS wheels. + +## Smoke test + +```sh +curl -F audio=@sample.wav -F lang=nob_Latn localhost:8000/transcribe +``` + +## Tests + +```sh +uv run --no-project --with pytest pytest -q test_regions.py +``` diff --git a/omnilingual/pyproject.toml b/omnilingual/pyproject.toml new file mode 100644 index 0000000..82835ee --- /dev/null +++ b/omnilingual/pyproject.toml @@ -0,0 +1,21 @@ +[project] +name = "omnilingual-sidecar" +version = "0.1.0" +description = "HTTP sidecar serving Meta Omnilingual ASR to the Go transcriber" +requires-python = ">=3.12,<3.13" +dependencies = [ + "omnilingual-asr==0.2.0", + "silero-vad==6.2.3", + "fastapi>=0.115", + "uvicorn>=0.32", + "python-multipart>=0.0.20", +] + +[dependency-groups] +dev = ["pytest>=8"] + +[tool.uv] +package = false +# fairseq2 ships Linux wheels only; the sidecar only ever runs in the +# linux/amd64 image (or a native Linux GPU box). +environments = ["sys_platform == 'linux' and platform_machine == 'x86_64'"] diff --git a/omnilingual/regions.py b/omnilingual/regions.py new file mode 100644 index 0000000..6e40bf1 --- /dev/null +++ b/omnilingual/regions.py @@ -0,0 +1,47 @@ +"""Turn VAD speech timestamps into model-sized regions. + +No heavy dependencies, so it unit-tests without torch. +""" + +from __future__ import annotations + +import os + +# Upstream rejects inputs > 40 s; stay well clear and keep subtitle cues short. +MAX_REGION_SEC = float(os.environ.get("OMNI_MAX_REGION_SEC", "30")) +# Adjacent speech regions closer than this are merged into one segment. +MERGE_GAP_SEC = 0.5 +# Padding kept around each region so word edges aren't clipped. +PAD_SEC = 0.2 +# Longest unpadded speech span; padding then brings it up to MAX_REGION_SEC. +MAX_SPEECH_SEC = MAX_REGION_SEC - 2 * PAD_SEC + + +def plan_regions(speech: list[tuple[float, float]], total: float) -> list[tuple[float, float]]: + """Merge close VAD regions up to MAX_REGION_SEC, hard-split longer ones, pad edges. + + `speech` is a sorted list of (start, end) seconds; `total` is the audio + length. Every returned region is at most MAX_REGION_SEC long. + """ + merged: list[list[float]] = [] + for start, end in speech: + if merged and start - merged[-1][1] < MERGE_GAP_SEC and end - merged[-1][0] <= MAX_SPEECH_SEC: + merged[-1][1] = end + else: + merged.append([start, end]) + + out: list[tuple[float, float]] = [] + for start, end in merged: + # VAD is asked for spans <= MAX_SPEECH_SEC, but split defensively. + while end - start > MAX_SPEECH_SEC: + out.append((start, start + MAX_SPEECH_SEC)) + start += MAX_SPEECH_SEC + out.append((start, end)) + + padded: list[tuple[float, float]] = [] + for start, end in out: + start = max(0.0, start - PAD_SEC) + end = min(total, end + PAD_SEC) + if end - start > 0.05: + padded.append((round(start, 3), round(end, 3))) + return padded diff --git a/omnilingual/server.py b/omnilingual/server.py new file mode 100644 index 0000000..25ce0e6 --- /dev/null +++ b/omnilingual/server.py @@ -0,0 +1,126 @@ +"""HTTP sidecar serving Meta Omnilingual ASR to the Go transcriber. + +The model loads once at startup. POST /transcribe takes one audio file +(multipart field `audio`, any format ffmpeg can decode) and an optional +`lang` (Omnilingual code such as `nob_Latn`). The audio is split on silence +with Silero VAD into speech regions of at most OMNI_MAX_REGION_SEC (30 s), because the +non-"Unlimited" checkpoints reject inputs over 40 s. Each region is +transcribed as one segment; the model returns no word timestamps. + +Response: {"language": str|null, "segments": [{"start", "end", "text"}]} +with times in seconds relative to the uploaded audio. +""" + +from __future__ import annotations + +import logging +import os +import subprocess +import tempfile +import threading +from contextlib import asynccontextmanager + +import numpy as np +import torch +from fastapi import FastAPI, File, Form, HTTPException, UploadFile +from fastapi.concurrency import run_in_threadpool +from fastapi.responses import JSONResponse +from silero_vad import get_speech_timestamps, load_silero_vad + +from regions import MAX_SPEECH_SEC, plan_regions + +SAMPLE_RATE = 16000 +MODEL_CARD = os.environ.get("OMNI_MODEL_CARD", "omniASR_LLM_7B_v2") +BATCH_SIZE = int(os.environ.get("OMNI_BATCH_SIZE", "4")) + +log = logging.getLogger("omnilingual") +logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(name)s: %(message)s") + +state: dict = {} +# One model on one GPU: serialize inference. +infer_lock = threading.Lock() + + +@asynccontextmanager +async def lifespan(app: FastAPI): + # Imported here so `import server` (e.g. for the region helpers) doesn't + # pull in fairseq2. + from omnilingual_asr.models.inference.pipeline import ASRInferencePipeline + + log.info("loading %s", MODEL_CARD) + state["vad"] = load_silero_vad() + state["pipeline"] = ASRInferencePipeline(model_card=MODEL_CARD) + log.info("model ready") + yield + state.clear() + + +app = FastAPI(lifespan=lifespan) + + +@app.get("/healthz") +def healthz(): + if "pipeline" not in state: + return JSONResponse({"status": "loading"}, status_code=503) + return {"status": "ok", "model": MODEL_CARD} + + +def decode(path: str) -> np.ndarray: + """Decode any audio/video file to 16 kHz mono float32 via ffmpeg.""" + proc = subprocess.run( + ["ffmpeg", "-nostdin", "-loglevel", "error", "-i", path, + "-f", "f32le", "-ac", "1", "-ar", str(SAMPLE_RATE), "-"], + capture_output=True, + ) + if proc.returncode != 0: + raise ValueError(f"ffmpeg: {proc.stderr.decode(errors='replace').strip()}") + return np.frombuffer(proc.stdout, dtype=np.float32) + + +def transcribe_file(path: str, lang: str | None) -> dict: + wav = decode(path) + total = len(wav) / SAMPLE_RATE + if total == 0: + return {"language": lang, "segments": []} + + with infer_lock: + ts = get_speech_timestamps( + torch.from_numpy(wav.copy()), + state["vad"], + sampling_rate=SAMPLE_RATE, + max_speech_duration_s=MAX_SPEECH_SEC, + return_seconds=True, + ) + regions = plan_regions([(t["start"], t["end"]) for t in ts], total) + if not regions: + return {"language": lang, "segments": []} + + inputs = [ + {"waveform": wav[int(s * SAMPLE_RATE):int(e * SAMPLE_RATE)], "sample_rate": SAMPLE_RATE} + for s, e in regions + ] + texts = state["pipeline"].transcribe( + inputs, lang=[lang] * len(inputs), batch_size=BATCH_SIZE + ) + + segments = [ + {"start": round(s, 3), "end": round(e, 3), "text": t.strip()} + for (s, e), t in zip(regions, texts) + if t.strip() + ] + return {"language": lang, "segments": segments} + + +@app.post("/transcribe") +async def transcribe(audio: UploadFile = File(...), lang: str | None = Form(None)): + if "pipeline" not in state: + raise HTTPException(503, "model not loaded") + suffix = os.path.splitext(audio.filename or "")[1] + with tempfile.NamedTemporaryFile(suffix=suffix) as tmp: + while chunk := await audio.read(1 << 20): + tmp.write(chunk) + tmp.flush() + try: + return await run_in_threadpool(transcribe_file, tmp.name, lang or None) + except ValueError as e: + raise HTTPException(400, str(e)) from e diff --git a/omnilingual/test_regions.py b/omnilingual/test_regions.py new file mode 100644 index 0000000..ead819c --- /dev/null +++ b/omnilingual/test_regions.py @@ -0,0 +1,38 @@ +"""Unit tests for the VAD region planner. Run: uv run --no-project --with pytest pytest -q""" + +from regions import MAX_REGION_SEC, plan_regions + + +def test_merges_close_regions(): + assert plan_regions([(1.0, 2.0), (2.3, 4.0)], 10) == [(0.8, 4.2)] + + +def test_keeps_far_regions_apart(): + assert plan_regions([(1.0, 2.0), (5.0, 6.0)], 10) == [(0.8, 2.2), (4.8, 6.2)] + + +def test_does_not_merge_past_max(): + got = plan_regions([(0.0, 20.0), (20.2, 35.0)], 40) + assert len(got) == 2 + assert all(e - s <= MAX_REGION_SEC for s, e in got) + + +def test_hard_splits_long_region(): + got = plan_regions([(0.0, 70.0)], 70) + assert len(got) == 3 + assert all(e - s <= MAX_REGION_SEC for s, e in got) + assert got[0][0] == 0.0 and got[-1][1] == 70.0 + + +def test_full_length_speech_stays_within_max_after_padding(): + got = plan_regions([(10.0, 10.0 + MAX_REGION_SEC - 0.4)], 100) + assert len(got) == 1 + assert got[0][1] - got[0][0] <= MAX_REGION_SEC + + +def test_clamps_padding_to_audio(): + assert plan_regions([(0.05, 1.0)], 1.1) == [(0.0, 1.1)] + + +def test_empty(): + assert plan_regions([], 10) == [] diff --git a/omnilingual/uv.lock b/omnilingual/uv.lock new file mode 100644 index 0000000..c22bc5d --- /dev/null +++ b/omnilingual/uv.lock @@ -0,0 +1,1063 @@ +version = 1 +revision = 3 +requires-python = "==3.12.*" +resolution-markers = [ + "platform_machine == 'x86_64' and sys_platform == 'linux'", +] +supported-markers = [ + "platform_machine == 'x86_64' and sys_platform == 'linux'", +] + +[[package]] +name = "annotated-doc" +version = "0.0.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5a/8e/38aa427ed5402449e226975b649c5dc73ccadfefeb95e6aecb8f8ea4b6b6/annotated_doc-0.0.5.tar.gz", hash = "sha256:c7e58ce09192557605d8bbd92836d7e1d520ac9580096042c0bfd197efacf1bb", size = 10758, upload-time = "2026-07-28T13:50:58.129Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3e/30/e900b21425a860e195f32e37657aa1f7c7f2b1bfb26f03ca209b90933c06/annotated_doc-0.0.5-py3-none-any.whl", hash = "sha256:117bac03a25ede5df5440e855b32d556049ca169ead221505badf432fed4b101", size = 5302, upload-time = "2026-07-28T13:50:57.239Z" }, +] + +[[package]] +name = "annotated-types" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/56/a8120250d128bed162cd73c76d45f6ef9991f3e068f62a8ee060afa3104a/annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7", size = 15893, upload-time = "2026-07-23T20:16:13.995Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0", size = 13427, upload-time = "2026-07-23T20:16:12.938Z" }, +] + +[[package]] +name = "anyio" +version = "4.16.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "idna" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a1/98/7e457a3b014976887a050561955c0b76e1e7e2d6e27b78ecef2ef80518f2/anyio-4.16.0.tar.gz", hash = "sha256:59bb03251907983d1603d27c3087ddb1e93299ea2163adcdba37899a4fb12ffb", size = 310971, upload-time = "2026-11-01T11:20:07.282Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a9/16/7757fb84c819accc7d7e9af5291b261e4abb8627ee040f99e7d35ef2457a/anyio-4.16.0-py3-none-any.whl", hash = "sha256:c66ae634e0b8228396b801741beb3294326d4b6102f7bba4041c0dfb58c29026", size = 134521, upload-time = "2026-11-01T11:20:05.59Z" }, +] + +[[package]] +name = "blobfile" +version = "3.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "filelock" }, + { name = "lxml" }, + { name = "pycryptodomex" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9d/a9/a34e8153b0203d9060ff7aa5dfcd175e161117949697a83c4cc003b523ff/blobfile-3.0.0.tar.gz", hash = "sha256:32ec777414de7bb2a76ca812a838f0d33327ca28ae844a253503cde625cdf2f1", size = 77863, upload-time = "2024-08-27T00:02:53.092Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ed/4d/1392562369b1139e741b30d624f09fe7091d17dd5579fae5732f044b12bb/blobfile-3.0.0-py3-none-any.whl", hash = "sha256:48ecc3307e622804bd8fe13bf6f40e6463c4439eba7a1f9ad49fd78aa63cc658", size = 75413, upload-time = "2024-08-27T00:02:51.518Z" }, +] + +[[package]] +name = "certifi" +version = "2026.10.23" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/fd/11/b524cbd9bbdaca58608e4cf4053fd463417549e1959fa8d3aa18319f9555/certifi-2026.10.23.tar.gz", hash = "sha256:a9895e6e2758b371e0545e321a3a8fd1fcfd9829ada8824a936dfb16aaaf36cd", size = 136225, upload-time = "2026-10-23T11:36:16.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/d1/a3652fe2c19134d0d15922177821d863cbd7e842d53a21bbe7e8e3a1b5ac/certifi-2026.10.23-py3-none-any.whl", hash = "sha256:e9b54de76e530bb6cf0ccd036787103acb58fd42ba930ea8bf948ddbaa2f61d1", size = 135082, upload-time = "2026-10-23T11:36:14.763Z" }, +] + +[[package]] +name = "charset-normalizer" +version = "3.5.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/33/1c/f41d4e74c28ab327ff3acd36053f7ea506c55872d7a90b0fa71aa3ab0c89/charset_normalizer-3.5.2.tar.gz", hash = "sha256:39de2a259fc954455c57274dc94c79d5842774e1247a016aff30bc0efed0f4ef", size = 172659, upload-time = "2026-09-30T04:39:23.398Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7f/c5/38806a25ab5e65fc178f39affeda20858efafede2fce1ffc2556cfc9fe73/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3d31298449090ab8d47b7b1b2a555ff73cac7ed438a08b7ac160980c7ebed649", size = 257601, upload-time = "2026-09-30T04:35:37.919Z" }, + { url = "https://files.pythonhosted.org/packages/95/69/0dbd0e0b9b16cfa816cdfcb3e2e3854a1f680dc07fb1245ea125e7448060/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:23851fb4e1b85ed3f6c2a27b777cdfe2e19fb5b38429a8faf38c7542b7665869", size = 260010, upload-time = "2026-09-30T04:35:48.996Z" }, + { url = "https://files.pythonhosted.org/packages/7e/84/371eac6b30bdbcbf2d632a1a01809103459216fcaae61b8b8d922c1bfb8a/charset_normalizer-3.5.2-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1c50fe28bbc2ced33386f298650d91218076c05420e6cbd790b913adc41659e7", size = 253276, upload-time = "2026-09-30T04:38:28.032Z" }, + { url = "https://files.pythonhosted.org/packages/b4/f0/45b579df5cabc1d5d53ea1cc35e8437d3ca768c0acccc7041517cb6fbb32/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9cae88599c7219005d879f98e5ed53341e9a122af585e1091200358a3003d2a0", size = 255100, upload-time = "2026-09-30T04:38:46.289Z" }, + { url = "https://files.pythonhosted.org/packages/fc/ad/d07d7862a62ffa6d79d68074d14823243dd235a77c45262acbf6adeb28bf/charset_normalizer-3.5.2-py3-none-any.whl", hash = "sha256:b6b751274acb69d77b3323d6b7dbaa3c7fdfc1eb829b7eb61d262f32e1af9685", size = 68872, upload-time = "2026-09-30T04:39:21.828Z" }, +] + +[[package]] +name = "click" +version = "8.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c7/0e/7fa0ef50764b67090eca4114772a2abf8b6148198475e54c660b97caeee6/click-8.5.0.tar.gz", hash = "sha256:ba0d2089de75ea0310e2dde03160e6ca10009947fb95a182f9b54021bb272e34", size = 382235, upload-time = "2026-08-26T13:33:14.56Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/50/6c0d534c5f134586a8e1ba4e330569e32f057e33372ae556463212fb4cd3/click-8.5.0-py3-none-any.whl", hash = "sha256:255bc9599cf7748b4b1a446ccc735421bd08a2ae529a8b88597d3de5664ee360", size = 125251, upload-time = "2026-08-26T13:33:12.928Z" }, +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, +] + +[[package]] +name = "editdistance" +version = "0.8.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d5/18/9f4f975ca87a390832b1c22478f3702fcdf739f83211e24d054b7551270d/editdistance-0.8.1.tar.gz", hash = "sha256:d1cdf80a5d5014b0c9126a69a42ce55a457b457f6986ff69ca98e4fe4d2d8fed", size = 50006, upload-time = "2024-02-10T07:44:53.914Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a9/c7/57423942b2f847cdbbb46494568d00cd8a45500904ea026f0aad6ca01bc7/editdistance-0.8.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c59248eabfad603f0fba47b0c263d5dc728fb01c2b6b50fb6ca187cec547fdb3", size = 418905, upload-time = "2024-02-10T07:43:55.779Z" }, + { url = "https://files.pythonhosted.org/packages/47/3d/9877566e724c8a37f2228a84ec5cbf66dbfd0673515baf68a0fe07caff40/editdistance-0.8.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:e16721636da6d6b68a2c09eaced35a94f4a4a704ec09f45756d4fd5e128ed18d", size = 929121, upload-time = "2024-02-10T07:44:02.764Z" }, +] + +[[package]] +name = "fairseq2" +version = "0.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "blobfile" }, + { name = "editdistance" }, + { name = "fairseq2n" }, + { name = "huggingface-hub" }, + { name = "importlib-metadata" }, + { name = "importlib-resources" }, + { name = "mypy-extensions" }, + { name = "numpy" }, + { name = "packaging" }, + { name = "psutil" }, + { name = "rich" }, + { name = "ruamel-yaml" }, + { name = "sacrebleu" }, + { name = "safetensors" }, + { name = "tiktoken" }, + { name = "torcheval" }, + { name = "tqdm" }, + { name = "typing-extensions" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/f5/2a/a713e80f34378ede4edc84688220c08b8732c1b6cb2eab8ab188144362f6/fairseq2-0.6-py3-none-any.whl", hash = "sha256:c83c19fe74b020d4404f0bfb7a0ebb681148545f3195a46e27c2e54f74d745c5", size = 548825, upload-time = "2025-10-08T00:48:46.296Z" }, +] + +[package.optional-dependencies] +arrow = [ + { name = "polars" }, + { name = "pyarrow" }, + { name = "retrying" }, + { name = "xxhash" }, +] + +[[package]] +name = "fairseq2n" +version = "0.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "tbb" }, + { name = "torch" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/d8/b7/50a07e7c0e90bcf52948582e5df33d03fb841ae5dc0554bf2461cae0aa1a/fairseq2n-0.6-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:9ade57197a6c3ae7ab72259c0a2df4432980c5a02cd066c235dd88d4869c2fdf", size = 3224913, upload-time = "2025-10-08T00:49:29.474Z" }, +] + +[[package]] +name = "fastapi" +version = "0.162.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-doc" }, + { name = "opentelemetry-api" }, + { name = "pydantic" }, + { name = "starlette" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e9/eb/2cf8c80abf09b2800aef0a83b41066fbfda8ee5495b7a08b9d1af40f7046/fastapi-0.162.0.tar.gz", hash = "sha256:6a22c1e2e6e32e0633ee7e170f00009a29b8228b16feb219ee42f32fd8d88a8f", size = 527867, upload-time = "2026-10-23T18:47:33.264Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b4/4f/3f2c25c9b43970b5e9a08beb5e04776247edea684ddc0930f4f02f0bb6cb/fastapi-0.162.0-py3-none-any.whl", hash = "sha256:3785963de305dd09912426cb81f2d230fce98ab3521cdfe97265c8d14983128c", size = 148912, upload-time = "2026-10-23T18:47:31.734Z" }, +] + +[[package]] +name = "filelock" +version = "4.2.9" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a3/1d/d730c664fcb4f1d264a722722a3134cf0881854f73c1fd58abf87572f232/filelock-4.2.9.tar.gz", hash = "sha256:96530b7c538d4ea08493ab067247aab7948c54d8cd622cce711c97cccc5d9896", size = 663116, upload-time = "2026-11-04T18:37:10.014Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/00/05/76184fe08339723d643ab47887a8e4de8f2921ca4e008617ab7490af7857/filelock-4.2.9-py3-none-any.whl", hash = "sha256:a379c50a729e5b68c8519a4d26489f755d9769960a236ecd838190e2a78db2e9", size = 164734, upload-time = "2026-11-04T18:37:08.273Z" }, +] + +[[package]] +name = "fsspec" +version = "2026.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/77/cd/9be253869fc42e764de7f3dedd6969af7d44ff9c3375214a3442a6f3fc08/fsspec-2026.9.0.tar.gz", hash = "sha256:0f08147951c8cb31d844c3547d631053b127863b60be04cf06e121333ee0e2fe", size = 333545, upload-time = "2026-09-18T17:50:42.825Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6c/c0/a98505f18594f1bce828bb159cec0fcf9860562f1a2c85913409fc8f3d9e/fsspec-2026.9.0-py3-none-any.whl", hash = "sha256:8dd6e646e99ea382bd85f97a45e6b526a442d79423a7dc673f1e2756d05fcb5f", size = 221738, upload-time = "2026-09-18T17:50:41.341Z" }, +] + +[[package]] +name = "h11" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, +] + +[[package]] +name = "hf-xet" +version = "1.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2f/18/d91c20f815df6cc496a5d0ad8db6d274dad5c0cfcd59babfa2440a9aba44/hf_xet-1.8.0.tar.gz", hash = "sha256:10ed23b51dacf7917d64f335c25048deb470efa755e9989b218fc0531386138e", size = 1013014, upload-time = "2026-10-30T10:04:33.741Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f8/1e/1e8ecc05ef034e9a95c18ed32d2ec07905a7cd2ca611a9d88e25ee1f4850/hf_xet-1.8.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:29dab7c904cd1914a0439c6e1306c12c7497c8bd32290fbe563ebf51ca4b6d6d", size = 4292483, upload-time = "2026-10-30T10:04:22.875Z" }, + { url = "https://files.pythonhosted.org/packages/48/77/886f09e91a5eadb054ce03b8855323cd2a72f20db76ab4119e0ecda65eef/hf_xet-1.8.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:1ebaf248c9bef8bb0c9d1d8d71db1fdf0cac14f922cc7a936a81adbf12eb5f01", size = 4500689, upload-time = "2026-10-30T10:04:28.394Z" }, +] + +[[package]] +name = "huggingface-hub" +version = "0.36.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "filelock" }, + { name = "fsspec" }, + { name = "hf-xet" }, + { name = "packaging" }, + { name = "pyyaml" }, + { name = "requests" }, + { name = "tqdm" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7c/b7/8cb61d2eece5fb05a83271da168186721c450eb74e3c31f7ef3169fa475b/huggingface_hub-0.36.2.tar.gz", hash = "sha256:1934304d2fb224f8afa3b87007d58501acfda9215b334eed53072dd5e815ff7a", size = 649782, upload-time = "2026-02-06T09:24:13.098Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a8/af/48ac8483240de756d2438c380746e7130d1c6f75802ef22f3c6d49982787/huggingface_hub-0.36.2-py3-none-any.whl", hash = "sha256:48f0c8eac16145dfce371e9d2d7772854a4f591bcb56c9cf548accf531d54270", size = 566395, upload-time = "2026-02-06T09:24:11.133Z" }, +] + +[[package]] +name = "idna" +version = "3.20" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f5/08/8eea9d4b8302028f3abb2c0813953f7aec26d33b7a8960ed760e65ff29fa/idna-3.20.tar.gz", hash = "sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44", size = 216463, upload-time = "2026-09-17T14:11:04.752Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/a2/bb081bab032533a855d44de1d56f8e8426114ff1ba5d1f07a438a0a654f8/idna-3.20-py3-none-any.whl", hash = "sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c", size = 69583, upload-time = "2026-09-17T14:11:03.168Z" }, +] + +[[package]] +name = "importlib-metadata" +version = "7.2.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "zipp" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/76/72/33d1bb4be61f1327d3cd76fc41e2d001a6b748a0648d944c646643f123fe/importlib_metadata-7.2.1.tar.gz", hash = "sha256:509ecb2ab77071db5137c655e24ceb3eee66e7bbc6574165d0d114d9fc4bbe68", size = 52834, upload-time = "2024-06-23T15:17:54.753Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/28/7daa5f782f5e2cbbec00556bf23ca106023470ebab3ae1040ee778269af1/importlib_metadata-7.2.1-py3-none-any.whl", hash = "sha256:ffef94b0b66046dd8ea2d619b701fe978d9264d38f3998bc4c27ec3b146a87c8", size = 25037, upload-time = "2024-06-23T15:17:52.117Z" }, +] + +[[package]] +name = "importlib-resources" +version = "6.5.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cf/8c/f834fbf984f691b4f7ff60f50b514cc3de5cc08abfc3295564dd89c5e2e7/importlib_resources-6.5.2.tar.gz", hash = "sha256:185f87adef5bcc288449d98fb4fba07cea78bc036455dd44c5fc4a2fe78fed2c", size = 44693, upload-time = "2025-01-03T18:51:56.698Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a4/ed/1f1afb2e9e7f38a545d628f864d562a5ae64fe6f7a10e28ffb9b185b4e89/importlib_resources-6.5.2-py3-none-any.whl", hash = "sha256:789cfdc3ed28c78b67a06acb8126751ced69a3d5f79c095a98298cd8a760ccec", size = 37461, upload-time = "2025-01-03T18:51:54.306Z" }, +] + +[[package]] +name = "iniconfig" +version = "2.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/e1/2069291243c926a2ff1cd706c7f3eeb9b62144bf60f77c9fb9ff2fb26bd3/iniconfig-2.3.1.tar.gz", hash = "sha256:67f4b9c50da0dedf52af349e7749a80a9057a5031199791b906c3bb3ae878960", size = 21209, upload-time = "2026-10-06T22:48:38.076Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/56/43/4ca9e49d27a1fcf6bece6f6aec0ea46bb9112489b93d4b688fb415457bdb/iniconfig-2.3.1-py3-none-any.whl", hash = "sha256:9121e2c1fdb355232495be3194c8dfe87ccc2d5dee45947b78e68f499790d7a7", size = 7552, upload-time = "2026-10-06T22:48:36.959Z" }, +] + +[[package]] +name = "jinja2" +version = "3.1.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" }, +] + +[[package]] +name = "kenlm" +version = "0.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/02/6e/f4e159cef39ea4ef2244b4aa32857d447d60a5d0ee269e1b1f8d3723c03e/kenlm-0.3.0.tar.gz", hash = "sha256:c4628bb9fb63c8a6f9240035b8b037385cfc404cb72e933cf48878291edac1e8", size = 427500, upload-time = "2025-04-07T13:26:38.795Z" } + +[[package]] +name = "llvmlite" +version = "0.50.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/11/c5/907cec40688a34eb489cded74d555e1ee4af8cf49d83e03dba2c2d4cfe27/llvmlite-0.50.0.tar.gz", hash = "sha256:f2a2cd6ec9ffcc1b7147dea0d7a49efebf17a2b434e0c2844fe175999d571eb4", size = 194522, upload-time = "2026-09-29T18:44:46.782Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4c/72/22b6449e15bec4cc86c62b659e6c625ab777d01e87aaec717ecef440f87a/llvmlite-0.50.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d501e5103076b9a14be885d2574dc2f6793171aa54a853d1244e011d476f1399", size = 59696588, upload-time = "2026-09-29T18:43:04.763Z" }, +] + +[[package]] +name = "lxml" +version = "6.1.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/23/ad/28ecd7cb894d172f3c9c80a075eeeb2017ac62e3632cee05a5f9493547eb/lxml-6.1.3.tar.gz", hash = "sha256:45222d94ddd511536f3b2f7d9deae3b2339b4ce0f075f1ca25703b07cad9dd21", size = 4211198, upload-time = "2026-09-02T14:48:02.287Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/db/36/aa413bc214dc4f785ad2b2ddd8cc99aae7062d49ab155e91e6011af00daf/lxml-6.1.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:379f8a75cf6eb7eef0af074b55f49ab73b868388a98de14646abcdfa4564bb11", size = 5105247, upload-time = "2026-09-02T14:47:36.734Z" }, + { url = "https://files.pythonhosted.org/packages/0a/20/e022dbc6b4753a9bc9fc5fb28a27163430c1731b9913997f6544c1b2518c/lxml-6.1.3-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:909f4e927bb051f7740d6367285fc60cdcfdaf0258c2dba4ff5ba7eadadc250c", size = 5244675, upload-time = "2026-09-02T14:47:47.635Z" }, + { url = "https://files.pythonhosted.org/packages/da/ee/2c016fbceb3778137459292538d9dfa7e3ad9070fe409c15254ddd90d2cc/lxml-6.1.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c55e71a9b1db1f107efb60da49c093689b74c5c31a708e5379e2fd9439d4fbb5", size = 5267340, upload-time = "2026-09-02T14:48:08.374Z" }, +] + +[[package]] +name = "markdown-it-py" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mdurl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" }, +] + +[[package]] +name = "markupsafe" +version = "3.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/9b/e422a865e1d5d57d0e509b4e0bf1c1a70a7f6382c29a5aa428df994c8bc8/markupsafe-3.0.4.tar.gz", hash = "sha256:2e9ad7dd851bf45fab9f75cbff4cb493fee9979e8d8c7c9c3ee119022518edd6", size = 153777, upload-time = "2026-10-02T23:07:22.29Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4f/a7/aeedb5140afa41fc74c225e9184ab96723a6e873b6ee1c9fede7283456d8/markupsafe-3.0.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e124f974786f831d6043728e38296969d3579db8896fe004682f5758e613581", size = 22985, upload-time = "2026-10-02T23:04:57.521Z" }, + { url = "https://files.pythonhosted.org/packages/0c/fe/fb1e79be0fea60aa32602ebefc9c35a82bb42b4df157285ab7dfec12341a/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c9a7f43c0b202b334cc9184af09bb8f21d3a209e038efaf106936fb69e6b026e", size = 23048, upload-time = "2026-10-02T23:05:04.479Z" }, +] + +[[package]] +name = "mdurl" +version = "0.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" }, +] + +[[package]] +name = "mpmath" +version = "1.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106, upload-time = "2023-03-07T16:47:11.061Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198, upload-time = "2023-03-07T16:47:09.197Z" }, +] + +[[package]] +name = "mypy-extensions" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d0/6f/43edf3be2748d0e40974a5ee046a8bb4c9961a4bdd3e7d5c6dcbf32d1af6/mypy_extensions-1.2.0.tar.gz", hash = "sha256:c6e275a07f1c2fc096b62940452d0eaa3f3af7de45d704787866240a7c6d5a51", size = 6566, upload-time = "2026-11-03T16:26:33.692Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b5/99/7b1adac7e97ce7bbda34792dc6e9b2f5cc5cffd1875883f78a818b2a2687/mypy_extensions-1.2.0-py3-none-any.whl", hash = "sha256:993e7a20aa5671eb41a7132cf555af30062da99729601601b9a8382b11cae768", size = 5114, upload-time = "2026-11-03T16:26:32.731Z" }, +] + +[[package]] +name = "networkx" +version = "3.7" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/dc/76/3af777226b63a5e64a6b36b1ec5855c14e2b94a37096d4760e595fc43511/networkx-3.7.tar.gz", hash = "sha256:fd77a511bd90f39f3d016351345b52cf5319b813bdca01de3f755d3cca62e96a", size = 1866482, upload-time = "2026-09-21T16:45:16.974Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/cd/fe58041e9011f307c490e3e17dd48cc516448f7c698a3f2d9d9d65d7e6a8/networkx-3.7-py3-none-any.whl", hash = "sha256:e3fd2c13a7814cee3746340d8d7f8598a67f16a58bf47fb7f8793fab6efca1b0", size = 2142205, upload-time = "2026-09-21T16:45:14.609Z" }, +] + +[[package]] +name = "numba" +version = "0.68.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "llvmlite" }, + { name = "numpy" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0f/a4/a60b14d955b898ce00d815dfe14435ae3b30c1dd2587aa0a172e92310cf8/numba-0.68.1.tar.gz", hash = "sha256:9de461812470173a14eeb7e0bbd27c897dffe835402a33861166842fc5f6ea57", size = 2858572, upload-time = "2026-10-27T18:13:04.352Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/23/0813ab091f60403c33cb741392ae77db13324587748df6f52167bf3a2404/numba-0.68.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8b33fee239194b9b6cb9b176f3c2563b94e5882fd846748ad0cf960daeee5406", size = 3890001, upload-time = "2026-10-27T18:12:27.988Z" }, +] + +[[package]] +name = "numpy" +version = "1.26.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz", hash = "sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010", size = 15786129, upload-time = "2024-02-06T00:26:44.495Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0f/50/de23fde84e45f5c4fda2488c759b69990fd4512387a8632860f3ac9cd225/numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675d61ffbfa78604709862923189bad94014bef562cc35cf61d3a07bba02a7ed", size = 17950613, upload-time = "2024-02-05T23:56:56.054Z" }, + { url = "https://files.pythonhosted.org/packages/76/8c/2ba3902e1a0fc1c74962ea9bb33a534bb05984ad7ff9515bf8d07527cadd/numpy-1.26.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1dda2e7b4ec9dd512f84935c5f126c8bd8b9f2fc001e9f54af255e8c5f16b0e0", size = 17786643, upload-time = "2024-02-05T23:57:56.585Z" }, +] + +[[package]] +name = "nvidia-cublas-cu12" +version = "12.8.4.1" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dc/61/e24b560ab2e2eaeb3c839129175fb330dfcfc29e5203196e5541a4c44682/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:8ac4e771d5a348c551b2a426eda6193c19aa630236b418086020df5ba9667142", size = 594346921, upload-time = "2025-03-07T01:44:31.254Z" }, +] + +[[package]] +name = "nvidia-cuda-cupti-cu12" +version = "12.8.90" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f8/02/2adcaa145158bf1a8295d83591d22e4103dbfd821bcaf6f3f53151ca4ffa/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea0cb07ebda26bb9b29ba82cda34849e73c166c18162d3913575b0c9db9a6182", size = 10248621, upload-time = "2025-03-07T01:40:21.213Z" }, +] + +[[package]] +name = "nvidia-cuda-nvrtc-cu12" +version = "12.8.93" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/05/6b/32f747947df2da6994e999492ab306a903659555dddc0fbdeb9d71f75e52/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:a7756528852ef889772a84c6cd89d41dfa74667e24cca16bb31f8f061e3e9994", size = 88040029, upload-time = "2025-03-07T01:42:13.562Z" }, +] + +[[package]] +name = "nvidia-cuda-runtime-cu12" +version = "12.8.90" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0d/9b/a997b638fcd068ad6e4d53b8551a7d30fe8b404d6f1804abf1df69838932/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:adade8dcbd0edf427b7204d480d6066d33902cab2a4707dcfc48a2d0fd44ab90", size = 954765, upload-time = "2025-03-07T01:40:01.615Z" }, +] + +[[package]] +name = "nvidia-cudnn-cu12" +version = "9.10.2.21" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nvidia-cublas-cu12" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/51/e123d997aa098c61d029f76663dedbfb9bc8dcf8c60cbd6adbe42f76d049/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:949452be657fa16687d0930933f032835951ef0892b37d2d53824d1a84dc97a8", size = 706758467, upload-time = "2025-06-06T21:54:08.597Z" }, +] + +[[package]] +name = "nvidia-cufft-cu12" +version = "11.3.3.83" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nvidia-nvjitlink-cu12" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/1f/13/ee4e00f30e676b66ae65b4f08cb5bcbb8392c03f54f2d5413ea99a5d1c80/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d2dd21ec0b88cf61b62e6b43564355e5222e4a3fb394cac0db101f2dd0d4f74", size = 193118695, upload-time = "2025-03-07T01:45:27.821Z" }, +] + +[[package]] +name = "nvidia-cufile-cu12" +version = "1.13.1.3" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bb/fe/1bcba1dfbfb8d01be8d93f07bfc502c93fa23afa6fd5ab3fc7c1df71038a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1d069003be650e131b21c932ec3d8969c1715379251f8d23a1860554b1cb24fc", size = 1197834, upload-time = "2025-03-07T01:45:50.723Z" }, +] + +[[package]] +name = "nvidia-curand-cu12" +version = "10.3.9.90" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fb/aa/6584b56dc84ebe9cf93226a5cde4d99080c8e90ab40f0c27bda7a0f29aa1/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:b32331d4f4df5d6eefa0554c565b626c7216f87a06a4f56fab27c3b68a830ec9", size = 63619976, upload-time = "2025-03-07T01:46:23.323Z" }, +] + +[[package]] +name = "nvidia-cusolver-cu12" +version = "11.7.3.90" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nvidia-cublas-cu12" }, + { name = "nvidia-cusparse-cu12" }, + { name = "nvidia-nvjitlink-cu12" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/85/48/9a13d2975803e8cf2777d5ed57b87a0b6ca2cc795f9a4f59796a910bfb80/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:4376c11ad263152bd50ea295c05370360776f8c3427b30991df774f9fb26c450", size = 267506905, upload-time = "2025-03-07T01:47:16.273Z" }, +] + +[[package]] +name = "nvidia-cusparse-cu12" +version = "12.5.8.93" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nvidia-nvjitlink-cu12" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/c2/f5/e1854cb2f2bcd4280c44736c93550cc300ff4b8c95ebe370d0aa7d2b473d/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ec05d76bbbd8b61b06a80e1eaf8cf4959c3d4ce8e711b65ebd0443bb0ebb13b", size = 288216466, upload-time = "2025-03-07T01:48:13.779Z" }, +] + +[[package]] +name = "nvidia-cusparselt-cu12" +version = "0.7.1" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/56/79/12978b96bd44274fe38b5dde5cfb660b1d114f70a65ef962bcbbed99b549/nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_x86_64.whl", hash = "sha256:f1bb701d6b930d5a7cea44c19ceb973311500847f81b634d802b7b539dc55623", size = 287193691, upload-time = "2025-02-26T00:15:44.104Z" }, +] + +[[package]] +name = "nvidia-nccl-cu12" +version = "2.27.3" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5c/5b/4e4fff7bad39adf89f735f2bc87248c81db71205b62bcc0d5ca5b606b3c3/nvidia_nccl_cu12-2.27.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:adf27ccf4238253e0b826bce3ff5fa532d65fc42322c8bfdfaf28024c0fbe039", size = 322364134, upload-time = "2025-06-03T21:58:04.013Z" }, +] + +[[package]] +name = "nvidia-nvjitlink-cu12" +version = "12.8.93" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f6/74/86a07f1d0f42998ca31312f998bd3b9a7eff7f52378f4f270c8679c77fb9/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:81ff63371a7ebd6e6451970684f916be2eab07321b73c9d244dc2b4da7f73b88", size = 39254836, upload-time = "2025-03-07T01:49:55.661Z" }, +] + +[[package]] +name = "nvidia-nvtx-cu12" +version = "12.8.90" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/eb/86626c1bbc2edb86323022371c39aa48df6fd8b0a1647bc274577f72e90b/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5b17e2001cc0d751a5bc2c6ec6d26ad95913324a4adb86788c944f8ce9ba441f", size = 89954, upload-time = "2025-03-07T01:42:44.131Z" }, +] + +[[package]] +name = "omnilingual-asr" +version = "0.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "fairseq2", extra = ["arrow"] }, + { name = "kenlm" }, + { name = "numba" }, + { name = "numpy" }, + { name = "pandas" }, + { name = "polars" }, + { name = "pyarrow" }, + { name = "torch" }, + { name = "torchaudio" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/58/ba/fa443fd8d842b5392e68c126c92fec3e4069f8151ba1909fa0a3fbc3ac44/omnilingual_asr-0.2.0.tar.gz", hash = "sha256:f3e28610570a987831fb6671623f4dad7a0d7d291aedd41b16242e256ae24cc6", size = 76284, upload-time = "2025-12-15T10:55:48.221Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/58/802325b5845bd9ae248e114c422e50eb3ecdf78beca5e397a09f6f9ddbf6/omnilingual_asr-0.2.0-py3-none-any.whl", hash = "sha256:6b8e811143603463c371c23464ff1946a52f876e6b6a62c5fb3deee6e39ab6d4", size = 85994, upload-time = "2025-12-15T10:55:46.731Z" }, +] + +[[package]] +name = "omnilingual-sidecar" +version = "0.1.0" +source = { virtual = "." } +dependencies = [ + { name = "fastapi" }, + { name = "omnilingual-asr" }, + { name = "python-multipart" }, + { name = "silero-vad" }, + { name = "uvicorn" }, +] + +[package.dev-dependencies] +dev = [ + { name = "pytest" }, +] + +[package.metadata] +requires-dist = [ + { name = "fastapi", specifier = ">=0.115" }, + { name = "omnilingual-asr", specifier = "==0.2.0" }, + { name = "python-multipart", specifier = ">=0.0.20" }, + { name = "silero-vad", specifier = "==6.2.3" }, + { name = "uvicorn", specifier = ">=0.32" }, +] + +[package.metadata.requires-dev] +dev = [{ name = "pytest", specifier = ">=8" }] + +[[package]] +name = "opentelemetry-api" +version = "1.45.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/19/14/cf3a6b6448849656e1e5f4e2101f3988dc6789724050096aba1bc5ccf592/opentelemetry_api-1.45.2.tar.gz", hash = "sha256:d7b0008e21e5fd61cbe7a7f34ca3b6905a78ab677d9bc395e299359c75cda6b4", size = 73277, upload-time = "2026-10-29T17:29:37.888Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a9/2d/610db864d7513158cebb8f36cc88e67e73bd6c7aa1905ef18d89e1281c81/opentelemetry_api-1.45.2-py3-none-any.whl", hash = "sha256:2cbd737377e710ee740d261c94e93fa0f08e6d037c18f17513cc0a2d94479a34", size = 60335, upload-time = "2026-10-29T17:29:06.955Z" }, +] + +[[package]] +name = "packaging" +version = "24.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950, upload-time = "2024-11-08T09:47:47.202Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" }, +] + +[[package]] +name = "pandas" +version = "3.0.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "numpy" }, + { name = "python-dateutil" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e2/17/d7b106e05bfa642e8694451e7d3d759c6a241c5386a5d962e4f66c047e06/pandas-3.0.6.tar.gz", hash = "sha256:66b07ef7315a31bfe1089cd3d71a7de781c9dca986762d0b4fe7c0ef17465d10", size = 4667686, upload-time = "2026-09-17T23:23:18.345Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/67/0c0f18e38d7f2d2af8c24b3315bc4046e73bbdd4a5540405506671ad0c0d/pandas-3.0.6-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0704044b676496b8350e023b09f174a26772456c974a2b11c36bebb558c9490d", size = 10788193, upload-time = "2026-09-17T23:20:58.617Z" }, + { url = "https://files.pythonhosted.org/packages/f2/d2/b1182e8d39100369d7f13f4a125a3fb6b096fef112c46d0566c25781ff68/pandas-3.0.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:569e114072b24fc4970c12e2b4bab252671668a40b324318903380cab0254c0c", size = 11838173, upload-time = "2026-09-17T23:21:04.85Z" }, + { url = "https://files.pythonhosted.org/packages/c7/33/5b717af24d2f27995e51e0875a269dddd373045216e34cf62e3aa764eaa1/pandas-3.0.6-cp312-cp312-pyemscripten_2024_0_wasm32.whl", hash = "sha256:2a8fc94be2ee5f1d86f97aacd8cc566f81680b6498e76f3007421bb5d98151bf", size = 7118499, upload-time = "2026-09-17T23:21:07.661Z" }, +] + +[[package]] +name = "pluggy" +version = "1.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bf/db/7fc19e6f2dc92a966727031389fc2e08b558f0f25eb7403c1119ad4713cd/pluggy-1.7.0.tar.gz", hash = "sha256:d1eaa46ebb595891b860ab086b4d09c8588af65ebd4361b8e8f4bb8920b90ba8", size = 123304, upload-time = "2026-10-15T09:50:58.343Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/40/9e/2b38731e0fc536806f16490e1a12d7f0dc2a1235aa8cc07bcc75416a7daa/pluggy-1.7.0-py3-none-any.whl", hash = "sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec", size = 27082, upload-time = "2026-10-15T09:50:56.808Z" }, +] + +[[package]] +name = "polars" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "polars-runtime-32" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b9/da/c27daf205a824f89f71172a75ad0098c5837a5a31ddeaac7f8737ea8574b/polars-2.1.0.tar.gz", hash = "sha256:9eee488d6e10773c028753dfc8dac647fd60a708108dcb818a733e85d33df253", size = 811508, upload-time = "2026-10-25T18:00:33.43Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d5/d4/e696a46c74ec8cac6434764deaf72f7edcc2e91c2145a9b3f61900a7aa7a/polars-2.1.0-py3-none-any.whl", hash = "sha256:63c50ce3533f5a03d17c3a2a24f1d0e0c7eda98fbde4268a3cba900d34060e67", size = 911474, upload-time = "2026-10-25T17:58:26.863Z" }, +] + +[[package]] +name = "polars-runtime-32" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e0/a6/46e09af693326735b1fba3a8bf5a725b57136fb1342e707e75d3113c826b/polars_runtime_32-2.1.0.tar.gz", hash = "sha256:c575f5f3cdb8a5f9be65477b9b4202b062593687fe62a0082add87fbd4571067", size = 3878004, upload-time = "2026-10-25T18:00:34.932Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d2/e6/649c524252d32b24d0ba92278033823fa8e0040ee3748ce5afbeda107403/polars_runtime_32-2.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0b838056cf365d7497971d9d9825c547766923338771c48c545b86ead2ebc572", size = 53863954, upload-time = "2026-10-25T17:58:48.737Z" }, + { url = "https://files.pythonhosted.org/packages/33/4d/d76cd42042605e079d6df91cc4fea09ed5f4cb836c72c952a17f585860a9/polars_runtime_32-2.1.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:af58b5f6e5cc44b578f2a93d752f87c135c3a53205b4360301bc3a9b89dfbfd1", size = 53794253, upload-time = "2026-10-25T17:58:57.99Z" }, +] + +[[package]] +name = "portalocker" +version = "4.4.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7f/d9/586fb0510fdfbd95a86f9d5c5046463aca41a55f6573d1a5a082a62e0acb/portalocker-4.4.2.tar.gz", hash = "sha256:7ac85bb2aa3c7873bf2ac72586fc6154afa4671ac786994a16617a6b7ccb3e5e", size = 310698, upload-time = "2026-10-28T00:24:58.214Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e8/43/bca094221a0f9f592fe1e982d090a92075aa302ecaa92c94cc6268a39b2c/portalocker-4.4.2-py3-none-any.whl", hash = "sha256:e661b91af34fc1806740f8e0e42990fe55cd85cbae55675ac48a400a9656a51b", size = 129702, upload-time = "2026-10-28T00:24:56.625Z" }, +] + +[[package]] +name = "psutil" +version = "5.9.8" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/90/c7/6dc0a455d111f68ee43f27793971cf03fe29b6ef972042549db29eec39a2/psutil-5.9.8.tar.gz", hash = "sha256:6be126e3225486dff286a8fb9a06246a5253f4c7c53b475ea5f5ac934e64194c", size = 503247, upload-time = "2024-01-19T20:47:09.517Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c5/4f/0e22aaa246f96d6ac87fe5ebb9c5a693fbe8877f537a1022527c47ca43c5/psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d06016f7f8625a1825ba3732081d77c94589dca78b7a3fc072194851e88461a4", size = 288191, upload-time = "2024-01-19T20:47:43.078Z" }, +] + +[[package]] +name = "pyarrow" +version = "26.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bc/5e/9cb2a56d5e293aab4e2fbecc5b0620d93227d66b8d5a63c554c31e1f80fe/pyarrow-26.0.1.tar.gz", hash = "sha256:93affcbd8a343e98dc19e9ec8fe17271ebf8fe98102d8b7454175074409f8b72", size = 1237985, upload-time = "2026-11-03T10:54:17.563Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d3/79/e2fc9b1317b7a21e7bcd57eb035cac3fe72f47af3efe2ec3b4dea9a08a04/pyarrow-26.0.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:c718bf97a92a6dea97fd1062c3b9f9e2e83cb9cc926e752289fa4ffff41738f9", size = 55043763, upload-time = "2026-11-03T10:49:45.732Z" }, + { url = "https://files.pythonhosted.org/packages/d1/b1/c91322fc4c1800c1f7dd78f911b1dd74187acaeb246d86478a0f064f6af5/pyarrow-26.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:73534fbda7f73cab0791b569b93112d4c9e1546cedd0f309d1f69889beb6a08f", size = 58625736, upload-time = "2026-11-03T10:50:01.442Z" }, +] + +[[package]] +name = "pycryptodomex" +version = "3.24.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f4/e7/50e72301e32acb73a314e663c2014e1ddefc019d5f434ff14ec89861d664/pycryptodomex-3.24.1.tar.gz", hash = "sha256:09081666ffc599976c0b8b29caf2cf82212c0f05bed233c8f8ed53e4f6e1d356", size = 4934627, upload-time = "2026-10-11T19:26:49.624Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cf/93/a954b7a8746980e31648943e29772aca0311d0d8a407a3adf5788083b693/pycryptodomex-3.24.1-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9b94a8c647c1f80b4c82c7ac9642dda94a71abbb4efa29ad652c410ad7a39879", size = 2280275, upload-time = "2026-10-11T19:26:17.671Z" }, + { url = "https://files.pythonhosted.org/packages/e9/54/c123cfe95a7caba1eee9cb92e8482d59f74638b92d9035dff673246c45a2/pycryptodomex-3.24.1-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:8321c315c4418dfe45a811b792380438ec81185deaaf202dbcd77711b4f51796", size = 2277787, upload-time = "2026-10-11T19:26:21.765Z" }, +] + +[[package]] +name = "pydantic" +version = "2.14.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b4/fc/1203d011145c98ddce3cd2f505bb54375ef8d43223053df6bfcf3c746f46/pydantic-2.14.3.tar.gz", hash = "sha256:1054f237f4d4733e5a30e1e2333bd33a2004ab9ab1510bd053a9a31bb48e232d", size = 925636, upload-time = "2026-11-05T09:17:04.686Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/72/b8/b864503789ef5c58597d2a7b4adbee62c26440ab1e682581fc6838df8947/pydantic-2.14.3-py3-none-any.whl", hash = "sha256:3f7b347782ab7e4cf4c798496ae3a82787d9f21ec12676a9c564355eeef8daa8", size = 494071, upload-time = "2026-11-05T09:17:02.426Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.50.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9c/0f/34f9ce4ba701dd0b815033ef94d99b56f66200e578ee6052aa3ac26f064e/pydantic_core-2.50.4.tar.gz", hash = "sha256:aead3b74b68396bf0feab5d57e050b730ded7df55853c1e048a87e00aaf033c6", size = 522249, upload-time = "2026-11-05T09:15:26.774Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/23/e0c6e3cd09a0ac809953fea698c816b9f03bf0b35b6820c9553e4f5d85a8/pydantic_core-2.50.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c81d98e27d9d9261909dcccab1ba5d6ea1c98b0bb9470e368604614fd1d36ddd", size = 2261727, upload-time = "2026-11-05T09:12:19.097Z" }, + { url = "https://files.pythonhosted.org/packages/6e/bb/7e44d4ac6e1292f1859384c688713045bdf5448e0635c49c003d2be3bb6c/pydantic_core-2.50.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:219114f8dcdcbe4720d82ef016b1287ce5a0a67d7c69ca61524eb72e82aac344", size = 2498172, upload-time = "2026-11-05T09:12:26.434Z" }, + { url = "https://files.pythonhosted.org/packages/e0/8d/4bfbacaf191f7939893d165e18eb301731fa3366c59a6e57336c4f168fbd/pydantic_core-2.50.4-graalpy312-graalpy250_312_native-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bee28aab5a580eec673f7b68dfa8dece3dd37bd207ef8d22fafe23a8e9837296", size = 2279952, upload-time = "2026-11-05T09:15:00.907Z" }, +] + +[[package]] +name = "pygments" +version = "2.21.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/49/2e/ced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b/pygments-2.21.0.tar.gz", hash = "sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c", size = 5005329, upload-time = "2026-08-17T08:02:48.824Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" }, +] + +[[package]] +name = "pytest" +version = "9.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "iniconfig" }, + { name = "packaging" }, + { name = "pluggy" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/79/42/bb4641652e58dedeac2ec51abc1f8cae4fee4ec63899a0999016229a0f2a/pytest-9.2.0.tar.gz", hash = "sha256:97c4f3b1f3c7414aa36465e09b8220f1d03627993bd51b1282e193753c80557b", size = 1797555, upload-time = "2026-10-27T21:30:20.728Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/51/39/1f5d8c8877a0fa327db959c19341d4be61660de1ab6b7391f9eb805bcd67/pytest-9.2.0-py3-none-any.whl", hash = "sha256:07acdcf88ec174f907dc01af70bf52d49b014bbab03faeeade31c96b18c2e588", size = 411776, upload-time = "2026-10-27T21:30:19.131Z" }, +] + +[[package]] +name = "python-dateutil" +version = "4.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "tzdata" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/18/39/b3927f3616f6223832f9b760e4208e8a7c7e1dea2b4d9ad7d32a5d214c3a/python_dateutil-4.0.0.tar.gz", hash = "sha256:d7295ff14fdc0f92f662100bfb6c551d160ca090f2939f1ec5b9794265c03f06", size = 250419, upload-time = "2026-11-01T07:02:42.426Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2f/a9/52b89563d154433d79b51ed1eb4842bf7334cb2696891a7fe135618853d7/python_dateutil-4.0.0-py3-none-any.whl", hash = "sha256:a5e246f79eb80475e691bf93862cead98decd8a498cf53ba0516fcdc0f50dc1c", size = 92853, upload-time = "2026-11-01T07:02:40.797Z" }, +] + +[[package]] +name = "python-multipart" +version = "0.0.33" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9f/b7/15b905f6142a9a8a68f66900788da1a32e4d4254452783b37ad1eccb0506/python_multipart-0.0.33.tar.gz", hash = "sha256:b8112424a6abd162ec08d390565dd113ad699f2fe6fef3c987b8bbcbfe9e390d", size = 50499, upload-time = "2026-10-31T14:23:47.461Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dd/1b/6b1b4164ec734cac911460ab599bfbe46afedd42c5c9627fe4235942c314/python_multipart-0.0.33-py3-none-any.whl", hash = "sha256:8f16c07b36add9da6b2ee87d3efcaf0a45a6de9c3d0a5dd94e9ccf7675a7bc45", size = 32253, upload-time = "2026-10-31T14:23:46.33Z" }, +] + +[[package]] +name = "pyyaml" +version = "6.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" }, + { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" }, +] + +[[package]] +name = "regex" +version = "2026.9.29" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/fc/f2/af1da9d3ceed77bfcdce40427d49ba0be94e4fe84245e3bfef68c10e75b6/regex-2026.9.29.tar.gz", hash = "sha256:8b5fcc4771732191b2b7d1dd68d8f0353f47f8d90b6150f6dce58bf1112442cb", size = 419199, upload-time = "2026-09-29T00:49:58.298Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/26/83/d2fbd2e4e3afb1167daa825187d196f313cbaa1a4768f311fb041bb0e3d2/regex-2026.9.29-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:39ab5894d971f9ac68baa6eca5c50387db579cfcacf36ae8df3feceb1815e6d0", size = 807783, upload-time = "2026-09-29T00:46:48.894Z" }, + { url = "https://files.pythonhosted.org/packages/cc/27/767259b20e8a842948990f5e99138d6c077248fd42f8b5468b1d9ca4b814/regex-2026.9.29-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:db5e82ba15c142425b8406690032df89e39cca4a2e8afbbb9a3d84edc2373ac3", size = 796470, upload-time = "2026-09-29T00:46:59.236Z" }, +] + +[[package]] +name = "requests" +version = "2.34.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, +] + +[[package]] +name = "retrying" +version = "1.3.7" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/db/4b/8e06a67c8256a546107d2287bf0b0053a0f147de9a0763b10f12d7717eca/retrying-1.3.7.tar.gz", hash = "sha256:7aab7324db8ad92029eef1073bf7257315cc7d9f861243a66b916c164a2c3c20", size = 11171, upload-time = "2025-07-05T05:00:21.385Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/05/41/aeac1881a65fc3e6326ca3cbd6e39a37c78ed55f6fb4d26203bddd37802f/retrying-1.3.7-py3-none-any.whl", hash = "sha256:4449b0a9f6754ab381aabc2771a2aa8350cfe194c2238992e1303b662cfa94e2", size = 11965, upload-time = "2025-07-05T05:00:20.078Z" }, +] + +[[package]] +name = "rich" +version = "13.9.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markdown-it-py" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ab/3a/0316b28d0761c6734d6bc14e770d85506c986c85ffb239e688eeaab2c2bc/rich-13.9.4.tar.gz", hash = "sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098", size = 223149, upload-time = "2024-11-01T16:43:57.873Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/19/71/39c7c0d87f8d4e6c020a393182060eaefeeae6c01dab6a84ec346f2567df/rich-13.9.4-py3-none-any.whl", hash = "sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90", size = 242424, upload-time = "2024-11-01T16:43:55.817Z" }, +] + +[[package]] +name = "ruamel-yaml" +version = "0.19.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c7/3b/ebda527b56beb90cb7652cb1c7e4f91f48649fbcd8d2eb2fb6e77cd3329b/ruamel_yaml-0.19.1.tar.gz", hash = "sha256:53eb66cd27849eff968ebf8f0bf61f46cdac2da1d1f3576dd4ccee9b25c31993", size = 142709, upload-time = "2026-01-02T16:50:31.84Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b8/0c/51f6841f1d84f404f92463fc2b1ba0da357ca1e3db6b7fbda26956c3b82a/ruamel_yaml-0.19.1-py3-none-any.whl", hash = "sha256:27592957fedf6e0b62f281e96effd28043345e0e66001f97683aa9a40c667c93", size = 118102, upload-time = "2026-01-02T16:50:29.201Z" }, +] + +[[package]] +name = "sacrebleu" +version = "2.6.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama" }, + { name = "lxml" }, + { name = "numpy" }, + { name = "portalocker" }, + { name = "regex" }, + { name = "tabulate" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d3/ed/d7acddcff74d690c56fe26a1f7828bdde548262828d0743414ea916c40c1/sacrebleu-2.6.0.tar.gz", hash = "sha256:91499b6cd46138d95154fff1e863c2f9be57e82f0c719d8dd718d0006cf6c566", size = 1893419, upload-time = "2026-01-12T17:17:20.799Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/06/f2/6c90ccf3ad1d09a7d662a405b274f3c93b92df59c8d6a025d26aaf34d302/sacrebleu-2.6.0-py3-none-any.whl", hash = "sha256:3edc1531575cfe4ad04ce53491a9307e234af1c3f805a1f491cbec844229a8a8", size = 100785, upload-time = "2026-01-12T17:17:18.868Z" }, +] + +[[package]] +name = "safetensors" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/45/06/f955dbbb1859e3bd23c8ac6141af5106e7ad5fedec4a3a6e3d60f94b7001/safetensors-0.8.0.tar.gz", hash = "sha256:fabaf3e0f18a6618d9b36560682562157f77c2b71fcffc7b432be2baed9d753d", size = 325846, upload-time = "2026-06-09T07:52:25.563Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/28/50/f203ff3a3ddfe19308efc83c5a3a29ed02bf786732ec35e68bf9162f3365/safetensors-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd6f3f93c9a0a7cc2788ee63fb763353d4bd2e89b0751bc78fcf7dda00bea774", size = 516040, upload-time = "2026-06-09T07:52:16.29Z" }, + { url = "https://files.pythonhosted.org/packages/27/43/41c1621732edd934d868a00d1b891584c892a7b62a9aab82ea5a0a5623ee/safetensors-0.8.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:8e080062fcde23be189565e1c3305d16751a218ecf9412c8601e64204eb6f846", size = 722361, upload-time = "2026-06-09T07:52:23.924Z" }, +] + +[[package]] +name = "setuptools" +version = "84.2.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/70/b3/c19426f783614d625699a4b247faf628ea9ab1db228674491767b417f9e1/setuptools-84.2.1.tar.gz", hash = "sha256:3ff8b3b5492a0aa66960f4419365a86b84e013070d4313e4d4a6894f5d64d6bc", size = 1230289, upload-time = "2026-10-20T19:01:37.742Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/55/6dc6d6bb953bdfc52519a0059592c52b6e3b8ad51cf8256dffceb55b0610/setuptools-84.2.1-py3-none-any.whl", hash = "sha256:ca140b45d5325a9478f880e351484f62fef15f336462e449ca0c03c873d589c2", size = 876263, upload-time = "2026-10-20T19:01:35.678Z" }, +] + +[[package]] +name = "silero-vad" +version = "6.2.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "packaging" }, + { name = "torch" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/32/17/df6bfc8f659fc5c1e082c18275be67c5a581bd2d07734a65b141fc983ccf/silero_vad-6.2.3.tar.gz", hash = "sha256:d7a23b09202be4953915cb9173089bb307eed0418a9bd4794d9ec5af07fa1996", size = 29276676, upload-time = "2026-09-23T11:37:22.208Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/84/ef/9099037ed6f180ea33220178df4107112c0ce2bf5fb4d6f6ab19db2844ed/silero_vad-6.2.3-py3-none-any.whl", hash = "sha256:7b7f5436cfcb02fae583a05b512ea96467fd449fe54cb49a5e4f06c51a1e43b8", size = 11317527, upload-time = "2026-09-23T11:37:20.002Z" }, +] + +[[package]] +name = "starlette" +version = "1.10.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/48/bb/3d8757f21e9a53d9035c9eb039a777047139a16bfdbedfc7a58241c3d914/starlette-1.10.0.tar.gz", hash = "sha256:b8399098d4c1e3522734f7235dc79b1fc967f96cf139c81e0fa30479e0685f9b", size = 2734356, upload-time = "2026-10-24T15:04:12.342Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/2e/947cfe02def9371c07cd5bf5b6b61c829e9aecb9904db02a66cfafbc1eec/starlette-1.10.0-py3-none-any.whl", hash = "sha256:478c0ab3b4ced6e82719849c118fa406f0278a3499c1a898cd15cd31bdc38ce4", size = 80571, upload-time = "2026-10-24T15:04:10.371Z" }, +] + +[[package]] +name = "sympy" +version = "1.14.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mpmath" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921, upload-time = "2025-04-27T18:05:01.611Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353, upload-time = "2025-04-27T18:04:59.103Z" }, +] + +[[package]] +name = "tabulate" +version = "0.10.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/46/58/8c37dea7bbf769b20d58e7ace7e5edfe65b849442b00ffcdd56be88697c6/tabulate-0.10.0.tar.gz", hash = "sha256:e2cfde8f79420f6deeffdeda9aaec3b6bc5abce947655d17ac662b126e48a60d", size = 91754, upload-time = "2026-03-04T18:55:34.402Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/55/db07de81b5c630da5cbf5c7df646580ca26dfaefa593667fc6f2fe016d2e/tabulate-0.10.0-py3-none-any.whl", hash = "sha256:f0b0622e567335c8fabaaa659f1b33bcb6ddfe2e496071b743aa113f8774f2d3", size = 39814, upload-time = "2026-03-04T18:55:31.284Z" }, +] + +[[package]] +name = "tbb" +version = "2023.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "tcmlib" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/59/fd/8ca476c7b2513b1e64e08d3f5404c8ed19b34d0213000b5e23b3a91676c2/tbb-2023.2.0-py2.py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:7d80615b6e970f11671fa05b6eaa9483ac864fbfe525ac280271a78b37870b7c", size = 6864088, upload-time = "2026-10-16T12:38:06.333Z" }, +] + +[[package]] +name = "tcmlib" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a4/95/d2616129c971d989c1f5ec2ea697a6885165570c69d9fa50bfbde8195d26/tcmlib-1.6.0-py2.py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:46c2491988bfd18c4733eeb08aca6a386706a497b92cc51d155f37ddea003c14", size = 2802717, upload-time = "2026-10-16T12:38:19.821Z" }, +] + +[[package]] +name = "tiktoken" +version = "0.14.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "regex" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/66/62/167a842aa0429d45f5e797354fd4343a96f6043d67d0513c675c7b8d36e6/tiktoken-0.14.0.tar.gz", hash = "sha256:231dec90efcdccf1b565a1416107736f1e09b1a08fe736ef9d6363e626d03874", size = 38898, upload-time = "2026-08-17T19:49:49.514Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/51/11/9976ad86980a00cdef05e730a0127a2578a1bc6d11644d8d47246de2eb26/tiktoken-0.14.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7896eea257fe497a2b7134474d909156c6744ce8da35bce88011a960e008aa0d", size = 1204197, upload-time = "2026-08-17T19:48:53.18Z" }, + { url = "https://files.pythonhosted.org/packages/bc/1d/69cabf18bed7f4366da076735816abce0d4db3fae491ae338a6612128777/tiktoken-0.14.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3de75343041a1c57333b1e707ac8a9769738241d7d6a55d39e12cf84548337c6", size = 1316085, upload-time = "2026-08-17T19:48:55.525Z" }, +] + +[[package]] +name = "torch" +version = "2.8.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "filelock" }, + { name = "fsspec" }, + { name = "jinja2" }, + { name = "networkx" }, + { name = "nvidia-cublas-cu12" }, + { name = "nvidia-cuda-cupti-cu12" }, + { name = "nvidia-cuda-nvrtc-cu12" }, + { name = "nvidia-cuda-runtime-cu12" }, + { name = "nvidia-cudnn-cu12" }, + { name = "nvidia-cufft-cu12" }, + { name = "nvidia-cufile-cu12" }, + { name = "nvidia-curand-cu12" }, + { name = "nvidia-cusolver-cu12" }, + { name = "nvidia-cusparse-cu12" }, + { name = "nvidia-cusparselt-cu12" }, + { name = "nvidia-nccl-cu12" }, + { name = "nvidia-nvjitlink-cu12" }, + { name = "nvidia-nvtx-cu12" }, + { name = "setuptools" }, + { name = "sympy" }, + { name = "triton" }, + { name = "typing-extensions" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/a8/6acf48d48838fb8fe480597d98a0668c2beb02ee4755cc136de92a0a956f/torch-2.8.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:b2aca0939fb7e4d842561febbd4ffda67a8e958ff725c1c27e244e85e982173c", size = 887913624, upload-time = "2025-08-06T14:56:44.33Z" }, +] + +[[package]] +name = "torchaudio" +version = "2.11.0" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/d8/d6d0f896e064aa67377484efef4911cdcc07bce2929474e1417cc0af18c2/torchaudio-2.11.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:6503c0bdb29daf2e6281bb70ea2dfe2c3553b782b619eb5d73bdadd8a3f7cecf", size = 1771992, upload-time = "2026-03-23T18:13:33.188Z" }, +] + +[[package]] +name = "torcheval" +version = "0.0.7" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f2/65/8f895a132d385c3bc60023a45501637aff63b98629cf45ce47a2035c0cc3/torcheval-0.0.7.tar.gz", hash = "sha256:a498dec34137bc66c9cf1adc7353a46c604dd62255884c72dcb4e2e4fc2cd7e9", size = 100912, upload-time = "2023-08-24T22:12:44.683Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e4/de/e7abc784b00de9d05999657d29187f1f7a3406ed10ecaf164de06482608f/torcheval-0.0.7-py3-none-any.whl", hash = "sha256:20cc34dac7aa9b32f942c8a9f014d1d02098631b6cd0b102c078600577017956", size = 179200, upload-time = "2023-08-24T22:12:42.874Z" }, +] + +[[package]] +name = "tqdm" +version = "4.70.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0d/ea/b2a5bd54b28a324dae8211928b2d730b6547500342c7e6c6dea08bd0a485/tqdm-4.70.1.tar.gz", hash = "sha256:cefd0eca11b2a37a3aee776544d4f4ae913f02688135b5556b8788dfa474afc4", size = 171846, upload-time = "2026-09-11T07:25:16.601Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a7/03/921a3d3c75785aca9ebfbfcabfbc3a1be12e2ab5265deb026d55a5a3f83e/tqdm-4.70.1-py3-none-any.whl", hash = "sha256:c293e525e6fef9c20e8728fd4612df02a0aa31bb5fe91ecd93e123b1b7bffa73", size = 80199, upload-time = "2026-09-11T07:25:14.599Z" }, +] + +[[package]] +name = "triton" +version = "3.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "setuptools" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/d0/66/b1eb52839f563623d185f0927eb3530ee4d5ffe9d377cdaf5346b306689e/triton-3.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:31c1d84a5c0ec2c0f8e8a072d7fd150cab84a9c239eaddc6706c081bfae4eb04", size = 155560068, upload-time = "2025-07-30T19:58:37.081Z" }, +] + +[[package]] +name = "typing-extensions" +version = "4.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" }, +] + +[[package]] +name = "typing-inspection" +version = "0.4.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ff/50/0195198eb1d75bab716bb0a813abea4cc394bfa17a92a189f021a34859af/typing_inspection-0.4.5.tar.gz", hash = "sha256:7f16c411e7930dc79596d42ab44672a3fe5f60eb34b781a1647e7872363120c7", size = 81194, upload-time = "2026-11-04T14:13:23.774Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/de/0c/ea2544850a7c135e15033a5c7a8e7211136184b7ae63e2239d557c2b3019/typing_inspection-0.4.5-py3-none-any.whl", hash = "sha256:bc210535442b39e1bf2805e0c7a17dfd6a4ace760c84c7f7d16245d23a6b1c39", size = 14874, upload-time = "2026-11-04T14:13:22.616Z" }, +] + +[[package]] +name = "tzdata" +version = "2026.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7a/29/6a1391d31cd00ff9e927215a224a880e1e84e826b64ba80a499e51c074d8/tzdata-2026.6.tar.gz", hash = "sha256:85d2cd9c09f81f0bb29db27759fc83af4f1e620efb814f8c5bf8b4cc4feece6d", size = 201017, upload-time = "2026-10-28T09:57:09.137Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0a/66/9a06c2227fedfd4919f0eaaa8b94377d9730882a7e4f95823c9a331ab5e1/tzdata-2026.6-py2.py3-none-any.whl", hash = "sha256:0a10eec6e13ef16b627fabed9a5f2ba61a62b1c67f327305f4e7e412a70b4aec", size = 348210, upload-time = "2026-10-28T09:57:07.276Z" }, +] + +[[package]] +name = "urllib3" +version = "2.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e3/05/b17359e1cefb4f909b5e40b1b90a496d987258916dbbf88e842c729f510e/urllib3-2.8.0.tar.gz", hash = "sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63", size = 458972, upload-time = "2026-09-15T19:29:36.253Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/92/9d/c4e665119135114480843e7ab388fa94d8480650450e6f8e26b70d323a4c/urllib3-2.8.0-py3-none-any.whl", hash = "sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3", size = 135717, upload-time = "2026-09-15T19:29:34.577Z" }, +] + +[[package]] +name = "uvicorn" +version = "0.54.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/da/34/30e9280707135d2cfc589dfff3cb796bd07a3aeb1a3e415ba09dd89d7bb4/uvicorn-0.54.0.tar.gz", hash = "sha256:a2e33cbfaa0306f8e6b0c13e0cb89d7d7a2da3e62b90c66e18c33d9807b28620", size = 112283, upload-time = "2026-09-25T06:52:37.601Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/38/0c/b54a4fdd7f90a3af8b02ebc9ce6712c2c208b7926a2f7bad95c33ebbe943/uvicorn-0.54.0-py3-none-any.whl", hash = "sha256:505bdb0f318731d45f1f712071fc781a8981f6847a31c902c9f5e652d4f67faf", size = 87427, upload-time = "2026-09-25T06:52:35.829Z" }, +] + +[[package]] +name = "xxhash" +version = "3.8.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0d/31/57c33f9d0755882926e1454ad09bb3d808270f746fbb1c10fecd50415d02/xxhash-3.8.2.tar.gz", hash = "sha256:2506a631a506c01db09d6eae288d731a0ba4f58a9e7a8c805dca08c61a9267a4", size = 86287, upload-time = "2026-10-18T04:05:08.522Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cc/cc/78b9fde423d1264d6248c2d72f431258c62a5f9a48210d23b94ed5083fcf/xxhash-3.8.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a396b952f4712ea342a885195cbecf6d1f216abd68f198c4590ea779720da499", size = 220482, upload-time = "2026-10-18T04:03:14.894Z" }, + { url = "https://files.pythonhosted.org/packages/a0/46/0493c2b3514e21744f85588cfa1404572525bd691c6f980a8790878aad8d/xxhash-3.8.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:f0cb7d8c40aea599251c38fedf777821202692b15efccf87a341d4a528b8c73a", size = 217352, upload-time = "2026-10-18T04:03:23.012Z" }, +] + +[[package]] +name = "zipp" +version = "4.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/18/05/ba1458dee0ac485b2a01071c1b88f5199fe878a485df482e10e1ef2205cc/zipp-4.1.2.tar.gz", hash = "sha256:cf474b90b07ea932637e17c6b9479de2b2882900b0d311bdaf4f5c000a15a97f", size = 27864, upload-time = "2026-10-21T18:57:04.743Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b8/44/7bd2007260da11cccca29ba2d4c345f1287aa663db38ee7cefeabf6386a5/zipp-4.1.2-py3-none-any.whl", hash = "sha256:b30cb6cd253122169c47de245ca24a86bac2a5d3802ba15bf7ba6414eb9e144d", size = 10581, upload-time = "2026-10-21T18:57:03.79Z" }, +] From 146b446a357e3d07df934a63e3b067415cc7277a Mon Sep 17 00:00:00 2001 From: Matjaz Debelak Date: Thu, 5 Nov 2026 22:10:18 +0100 Subject: [PATCH 2/3] feat: models page, per-model prompts, copy job, SQLite storage - Models page (/model-settings): lists models with aliases, default badge, job counts, and an editable per-model default prompt. - Per-model prompts: PUT /models/{id}/prompt; GET /models now returns aliases, prompt and supports_prompt. Prompt precedence on job create: request prompt > model prompt > server-wide default prompt. Models that ignore prompts (omnilingual) refuse a stored prompt. - Copy job: from the job list or detail page, opens the new-job form prefilled (aliases resolved to the canonical model). The form gains an Advanced section for callback, timeout and subtitle options. - SQLite via pure-Go modernc.org/sqlite with embedded goose migrations and sqlc-generated queries (make sqlc). New -db flag; compose mounts a `data` volume at /var/lib/transcriber. Jobs remain in-memory. - Dockerfile copies go.sum and pre-downloads modules. Co-Authored-By: Claude Opus 5.5 --- .gitignore | 3 + DEPLOY.md | 1 + Dockerfile | 7 +- Makefile | 6 +- README.md | 11 +- cmd/transcriber/main.go | 13 +- docker-compose.yml | 4 + frontend/app/app.vue | 24 ++- frontend/app/components/JobRow.vue | 15 ++ frontend/app/components/ModelCard.vue | 199 ++++++++++++++++++ frontend/app/components/NewJobForm.vue | 170 +++++++++++++-- frontend/app/composables/useApi.ts | 5 + frontend/app/pages/index.vue | 55 ++++- frontend/app/pages/jobs/[id].vue | 34 ++- frontend/app/pages/model-settings.vue | 91 ++++++++ frontend/app/types/job.ts | 15 ++ frontend/nuxt.config.ts | 1 + go.mod | 21 ++ go.sum | 62 ++++++ internal/api/docs/openapi.yaml | 46 +++- internal/api/server.go | 103 ++++++++- internal/api/server_test.go | 120 +++++++++++ internal/db/db.go | 63 ++++++ internal/db/dbq/db.go | 31 +++ internal/db/dbq/model_prompts.sql.go | 75 +++++++ internal/db/dbq/models.go | 15 ++ .../db/migrations/00001_model_prompts.sql | 9 + internal/db/queries/model_prompts.sql | 15 ++ internal/modelprompts/modelprompts.go | 51 +++++ internal/modelprompts/modelprompts_test.go | 55 +++++ internal/transcriber/adapter.go | 32 +++ internal/transcriber/chunked/chunked.go | 3 + .../transcriber/omnilingual/omnilingual.go | 3 + sqlc.yaml | 12 ++ 34 files changed, 1320 insertions(+), 50 deletions(-) create mode 100644 frontend/app/components/ModelCard.vue create mode 100644 frontend/app/pages/model-settings.vue create mode 100644 go.sum create mode 100644 internal/api/server_test.go create mode 100644 internal/db/db.go create mode 100644 internal/db/dbq/db.go create mode 100644 internal/db/dbq/model_prompts.sql.go create mode 100644 internal/db/dbq/models.go create mode 100644 internal/db/migrations/00001_model_prompts.sql create mode 100644 internal/db/queries/model_prompts.sql create mode 100644 internal/modelprompts/modelprompts.go create mode 100644 internal/modelprompts/modelprompts_test.go create mode 100644 sqlc.yaml diff --git a/.gitignore b/.gitignore index 3cbaab4..52a6ad6 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,6 @@ prompt.txt .venv __pycache__ .pytest_cache + +# Local SQLite database (+ WAL/SHM sidecars) +transcriber.db* diff --git a/DEPLOY.md b/DEPLOY.md index d5d772c..8ec8603 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -236,6 +236,7 @@ inspecting a bad transcription. | Mount | Purpose | | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | | `models:/var/cache/transcriber` | ggml whisper.cpp models. Survives restarts — first job downloads ~3 GB. | +| `data:/var/lib/transcriber` | SQLite database (`transcriber.db`) — per-model prompts edited on the UI's Models page. | | `${STORAGE_PATH}:${STORAGE_PATH}` | Audio inputs (`path`) and transcript outputs (`output_path`). Mounted at the same path inside and out, because request paths resolve in the container. | | `./prompt.txt:/app/prompt.txt:ro` _(optional)_ | Default prompt file. Uncomment in `docker-compose.yml`. Without it, only requests carrying their own `prompt` get one. | diff --git a/Dockerfile b/Dockerfile index 5028ea1..6cc4f2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,7 +52,8 @@ ARG ARCH # the build depend on whatever the floating image tag resolved to. ENV GOTOOLCHAIN=local CGO_ENABLED=0 GOOS=linux WORKDIR /src -COPY go.mod ./ +COPY go.mod go.sum ./ +RUN go mod download COPY cmd ./cmd COPY internal ./internal # internal/web/dist is gitignored, so it is absent (or stale) in the build @@ -68,7 +69,7 @@ FROM --platform=linux/${ARCH} ${BASE_IMAGE} # Model cache: $XDG_CACHE_HOME/transcriber/hf// ENV XDG_CACHE_HOME=/var/cache \ WHISPER_CPP_BIN=/usr/local/bin/whisper-cli -RUN mkdir -p /var/cache/transcriber/hf +RUN mkdir -p /var/cache/transcriber/hf /var/lib/transcriber COPY --from=go-build /out/transcriber /usr/local/bin/transcriber @@ -79,4 +80,4 @@ EXPOSE 8888 # Flags come from docker-compose.yml (driven by .env); these defaults apply # when running the image directly with `docker run`. ENTRYPOINT ["/usr/local/bin/transcriber"] -CMD ["-port=8888", "-workers=2", "-default-model=whisper-cpp-large-v3", "-log-format=json"] +CMD ["-port=8888", "-workers=2", "-default-model=whisper-cpp-large-v3", "-db=/var/lib/transcriber/transcriber.db", "-log-format=json"] diff --git a/Makefile b/Makefile index 0edc551..046fff3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help dev dev-api dev-frontend frontend build run test clean +.PHONY: help dev dev-api dev-frontend frontend build run test sqlc clean help: @echo 'Targets:' @@ -9,6 +9,7 @@ help: @echo ' build frontend + go build → ./transcriber (single binary)' @echo ' run build then run ./transcriber' @echo ' test go test -race ./...' + @echo ' sqlc regenerate internal/db/dbq from internal/db/{migrations,queries}' @echo ' clean remove build artifacts' # Run both servers in parallel. `set -m` puts each background recipe in its @@ -47,6 +48,9 @@ run: build test: go test -race ./... +sqlc: + sqlc generate + clean: rm -f transcriber rm -rf frontend/.nuxt frontend/.output diff --git a/README.md b/README.md index 8a83a9e..dae961b 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ Go code. Server settings come from flags; per-machine paths from env vars. | `-callback-workers` | `2` | webhook delivery goroutines | | `-default-model` | `stub` | adapter ID used when the request omits `model` | | `-default-prompt-file` | `prompt.txt` | file whose contents are used as the prompt when the request omits one; missing file = no default. A non-empty `prompt` in the request fully overrides it | +| `-db` | `transcriber.db` | SQLite file, created and migrated (embedded goose migrations) on startup. Holds per-model prompts set on the UI's Models page | | `-job-timeout` | `30m` | wall-clock cap per job; on expiry the worker cancels the subprocess and marks the job `FAILED` with `error: "timeout"`. Per-request `timeout_seconds` overrides this. `<= 0` disables | | `-max-terminal-jobs` | `20` | how many finished jobs (completed/failed/canceled) to retain in memory; `<= 0` disables the cap | | `-log-format` | `text` | `text` for human-readable output (dev), `json` for structured logs (prod). The Dockerfile sets `json` | @@ -134,10 +135,18 @@ serialize to. - `GET /transcription/jobs` — list all jobs - `DELETE /transcription/job/{id}` — cancel a queued or running job -- `GET /models` — list registered adapters +- `GET /models` — list registered adapters (with aliases and per-model prompt) +- `PUT /models/{id}/prompt` — set/clear a model's default prompt. Precedence: request `prompt` > model prompt > `-default-prompt-file` - `GET /config` — server-side defaults (currently `default_prompt`) - `GET /healthz`, `GET /readyz` +## Database + +SQLite (pure-Go `modernc.org/sqlite`, so `CGO_ENABLED=0` still works). +Migrations live in `internal/db/migrations/` and are embedded and applied by +goose on startup. Queries live in `internal/db/queries/`; after editing either, +run `make sqlc` to regenerate `internal/db/dbq/`. Jobs are still in-memory only. + ## Adding a new backend 1. Implement `transcriber.Transcriber` in `internal/transcriber//`. diff --git a/cmd/transcriber/main.go b/cmd/transcriber/main.go index ad8a305..92da0ae 100644 --- a/cmd/transcriber/main.go +++ b/cmd/transcriber/main.go @@ -14,7 +14,9 @@ import ( "transcriber/internal/api" "transcriber/internal/callback" + "transcriber/internal/db" "transcriber/internal/jobs" + "transcriber/internal/modelprompts" "transcriber/internal/transcriber" "transcriber/internal/web" "transcriber/internal/worker" @@ -27,6 +29,7 @@ func main() { defaultModel := flag.String("default-model", "stub", "model adapter ID to use when the request omits `model`") defaultLanguage := flag.String("default-language", "", "ISO 639-1 language hint applied when the request omits `language` (empty or `auto` = let the model detect)") defaultPromptFile := flag.String("default-prompt-file", "prompt.txt", "path to a file whose contents are used as the prompt when the request omits one (missing file = no default prompt)") + dbPath := flag.String("db", "transcriber.db", "SQLite database file (created and migrated on startup); holds per-model prompts edited from the UI") maxTerminalJobs := flag.Int("max-terminal-jobs", 20, "how many finished jobs (completed/failed/canceled) to retain in memory; <= 0 disables the cap") jobTimeout := flag.Duration("job-timeout", 30*time.Minute, "default wall-clock timeout per job; per-request timeout_seconds overrides this; <= 0 disables") logFormat := flag.String("log-format", "text", "log handler: text (human-readable, dev) or json (structured, prod)") @@ -63,6 +66,14 @@ func main() { } } + conn, err := db.Open(context.Background(), *dbPath) + if err != nil { + slog.Error("opening database", "path", *dbPath, "err", err) + os.Exit(1) + } + defer conn.Close() + modelPrompts := modelprompts.New(conn) + registry := buildRegistry(*defaultModel, *whisperNoGPU) if _, ok := registry.Default(); !ok { slog.Error("default model not registered", "id", *defaultModel) @@ -96,7 +107,7 @@ func main() { }) pool.Start(ctx) - srv := api.NewServer(store, queue, registry, defaultPrompt, normalizedDefaultLang) + srv := api.NewServer(store, queue, registry, modelPrompts, defaultPrompt, normalizedDefaultLang) addr := fmt.Sprintf(":%d", *port) httpSrv := &http.Server{ Addr: addr, diff --git a/docker-compose.yml b/docker-compose.yml index d410b4d..1c6ffd8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,6 +38,7 @@ services: - "-job-timeout=${JOB_TIMEOUT:-30m}" - "-max-terminal-jobs=${MAX_TERMINAL_JOBS:-200}" - "-log-format=${LOG_FORMAT:-json}" + - "-db=/var/lib/transcriber/transcriber.db" environment: # Set to http://omnilingual:8000 when the `omnilingual` profile is on. @@ -47,6 +48,8 @@ services: volumes: # ggml model cache — first job downloads ~3 GB, this keeps it. - models:/var/cache/transcriber + # SQLite database (per-model prompts edited from the UI). + - data:/var/lib/transcriber # Audio in / transcripts out. Job requests carry absolute paths that are # resolved *inside* the container, so host and container paths must match. # STORAGE_PATH must already exist on the host: Docker otherwise creates @@ -103,4 +106,5 @@ services: volumes: models: + data: omnilingual-cache: diff --git a/frontend/app/app.vue b/frontend/app/app.vue index 6b1a504..781214a 100644 --- a/frontend/app/app.vue +++ b/frontend/app/app.vue @@ -1,5 +1,18 @@