Commit Graph
3583 Commits
Author SHA1 Message Date
Brandon Thomas dbd7e949b7 WIP generic-download-job 2022-08-09 22:06:36 -04:00
Brandon Thomas 740ba1b2e4 simplify error responses 2022-08-09 22:06:36 -04:00
Brandon Thomas 08c05cbcf2 Schema changes, endpoints, routes, queries, etc. 2022-08-09 22:06:36 -04:00
Brandon Thomas f8175d7666 reusable_types, WIP endpoints 2022-08-09 22:06:36 -04:00
Brandon Thomas 463a7479b9 Generic download job, hifigan model downloads 2022-08-09 22:06:36 -04:00
Paul Sajna 53b4272792 Git build sha header (#3) 2022-08-06 00:23:35 -07:00
Brandon Thomas 078e2eeb9d Mark vendored tests ignored that are failing in CI 2022-08-04 04:35:29 -04:00
Brandon Thomas bf26f7864f Move last remaining jobs out of storyteller-web and into own crates
- w2l-inference-job
- w2l-download-job

These are now in their own independent crates, which should be easier to
do build caching on.
2022-08-04 04:15:55 -04:00
Brandon Thomas a36394238a Fix a few broken tests, but this needs revisiting
- i18n means this module should be rewritten
- is Spanish even being handled correctly?
2022-08-04 03:10:42 -04:00
Brandon Thomas 76933402b5 Fix tests failing to build 2022-08-04 02:17:20 -04:00
Brandon Thomas 6fdd49514e Fix broken vendored crate tests (see notes)
The vendored crate was updated from Tokio 0.2 to 1.0 in ec4816bd0

The tests remained broken.

This fixes the tests and is based in part on

https://github.com/PoiScript/newrelic-telemetry-sdk-rust/commit/f103d56898f599bf0d06e69d3ecc75147aa15d5e#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
2022-08-03 16:58:48 -04:00
Brandon Thomas cf7acace8c ScopedTempDirCreator: this helps span filesystems
TempDir defaults to /tmp. Copies from this to other drives sometimes
fail, which is impeding local development
2022-07-27 23:14:33 -04:00
Brandon Thomas 2b9cde68e4 Obscure model text_pipeline_type 2022-07-27 23:12:23 -04:00
Brandon Thomas 6d79f91a0a improve comments on text pipelines 2022-07-27 23:12:23 -04:00
Brandon Thomas d458d753fb Cache W2L templates in-memory 2022-07-27 02:51:48 -04:00
Brandon Thomas fc88730386 Fix tts job count query 2022-07-25 04:49:36 -04:00
Brandon Thomas 61dd01e5c2 Add endpoint to expose pending TTS jobs publicly to the UI 2022-07-25 02:44:47 -04:00
Brandon Thomas 101d145709 Query pending TTS job count (public use) 2022-07-25 02:19:30 -04:00
Brandon Thomas 820417ac0f More CORS domains 2022-07-25 01:57:41 -04:00
Brandon Thomas 9098ce38d6 Better downloads from Google Buckets. Atomic w/o race conditions. 2022-07-15 04:24:27 -04:00
Brandon Thomas fe529c7088 TTS inference job now health checks the sidecar 2022-07-15 03:32:21 -04:00
Brandon Thomas b9fed6a933 Cache model lookups, removing some query load from DB 2022-07-14 20:03:32 -04:00
Brandon Thomas 3ae65f5d11 Add multi-item cache 2022-07-14 19:36:23 -04:00
Brandon Thomas 823cad0900 Cleanup warnings 2022-07-14 19:05:54 -04:00
Brandon Thomas b807adc73d Create "memory_caching" lib crate, start building more tools there 2022-07-14 19:03:22 -04:00
Brandon Thomas 7b07e85191 More cleanup 2022-07-14 18:49:22 -04:00
Brandon Thomas 17f82e78b2 Cleanup: get rid of unused imports in tts-inference-job 2022-07-14 18:45:01 -04:00
Brandon Thomas 362e18b7d0 Ugh, path 2022-07-11 03:48:18 -04:00
Brandon Thomas 8edb385728 Add new handlers for design refresh flag cookie installation 2022-07-11 03:26:03 -04:00
Brandon Thomas b71278aef1 Push rollout into the future to fix the pronunciation bug
We rolled this out as the default too soon. New models are trained on
10% arpabet only.
2022-07-06 18:55:15 -04:00
Brandon Thomas b801f7c19e Edit TTS model with text pipeline type 2022-07-06 01:51:08 -04:00
Brandon Thomas f75f55fa22 Use Rust Enum instead 2022-07-06 01:28:08 -04:00
Brandon Thomas 152a2bfad7 Move queries out of edit TTS model handler. 2022-07-06 00:08:36 -04:00
Brandon Thomas 03c6f1a269 Use HTTP inference arg for text_pipeline_type 2022-07-05 21:07:37 -04:00
Brandon Thomas 5a4be7a580 return text_pipeline_type and guess in TTS model GET endpoint 2022-07-05 18:17:19 -04:00
Brandon Thomas 2dd47cab86 Return a new endpoint-specific struct for tts models 2022-07-05 18:03:07 -04:00
Brandon Thomas 8aaa9dfceb utilities for text pipeline determination 2022-07-05 17:52:08 -04:00
Brandon Thomas 8d56700860 report debug workers in logs 2022-07-05 02:31:09 -04:00
Brandon Thomas db4c260e08 Fix build error 2022-07-03 23:10:12 -04:00
Brandon Thomas f7880fca97 stop bad tts model download urls from jamming the system 2022-07-03 21:19:45 -04:00
Brandon Thomas 7a883cdebb Move tts-download-job into its own crate independent of storyteller-web 2022-07-03 20:07:43 -04:00
Brandon Thomas 0646dbc8f6 cleanup 2022-06-25 11:36:17 -04:00
Brandon Thomas 4106e4cfe2 Enqueue debug requests 2022-06-25 01:17:46 -04:00
Brandon Thomas 5a584bd6b4 Report tts result debug status 2022-06-25 00:58:07 -04:00
Brandon Thomas ade3162e53 Save debug worker data to tts result record 2022-06-25 00:50:54 -04:00
Brandon Thomas 43824972e5 Worker can now query only debug jobs 2022-06-25 00:31:31 -04:00
Brandon Thomas 6b9e19c4a2 Split up TTS worker to make code easier to maintain 2022-06-25 00:13:46 -04:00
Brandon Thomas 78ea11bec0 Fix variable name 2022-06-21 05:33:20 -04:00
Brandon Thomas 46fa940f6d Add clap and sidecar hostname param 2022-06-21 05:23:23 -04:00
Brandon Thomas 853f8c8e6a tts-inference-job didn't need db queries module after all 2022-06-21 05:12:43 -04:00