Commit Graph
400 Commits
Author SHA1 Message Date
Brandon Thomas d393ecda34 All queries to user profile controller use a single DB connection
- Pull a single connection out of the pool and reuse it
- Update the benchmark code to handle ownership changes (previously,
  I think everything was Sync/Send in the closures)
2022-08-16 18:49:25 -04:00
Brandon Thomas 70daacf559 Profile endpoint instrumented 2022-08-16 02:26:00 -04:00
Brandon Thomas 4bd0e09e7d Move user profile query to query lib 2022-08-16 01:18:47 -04:00
Brandon Thomas 94ed34b5ba Benchmarking library and begin implementation 2022-08-13 02:27:21 -04:00
Brandon Thomas ed3554aeb0 parameterize number of mysql connections 2022-08-11 03:55:46 -04:00
Brandon Thomas 4bc33ffea0 tts-inference-job uses custom vocoder (does not cache) 2022-08-10 04:33:38 -04:00
Brandon Thomas df5e28ec94 query info about vocoders in tts-inference-job 2022-08-10 03:49:15 -04:00
Brandon Thomas 2a10ec5e70 Add custom vocoder info to TTS Model GET endpoint + query 2022-08-10 03:09:16 -04:00
Brandon Thomas 2f360a0475 Update model edit endpoint to include optional vocoder token option 2022-08-10 02:19:49 -04:00
Brandon Thomas 3835093b51 GET vocoder endpoint 2022-08-10 01:41:15 -04:00
Brandon Thomas 1211262764 vocoder SELECT / get query 2022-08-10 00:57:39 -04:00
Brandon Thomas 419d6bc654 list vocoder endpoint 2022-08-10 00:36:53 -04:00
Brandon Thomas f81b6091b3 queries / endpoints (WIP) 2022-08-09 22:06:36 -04:00
Brandon Thomas 28512b685e Vocoder upload pipeline seems to work! 2022-08-09 22:06:36 -04:00
Brandon Thomas 8696613477 generic-download-job now running (need to test) 2022-08-09 22:06:36 -04:00
Brandon Thomas 962510f784 Fix storyteller-web build 2022-08-09 22:06:36 -04:00
Brandon Thomas 47b7c71cdb WIP generic-download-job 2022-08-09 22:06:36 -04:00
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