Brandon Thomas
68ae78516d
deployment: downloader that acts as a job
2020-05-30 22:09:15 -04:00
Brandon Thomas
bf957be07b
add more logging to model loading
2020-05-30 21:42:15 -04:00
Brandon Thomas
c8eeb91a20
Make further use of logger
2020-05-30 21:28:38 -04:00
Brandon Thomas
51e182708d
change error message to distinguish
2020-05-30 20:40:40 -04:00
Brandon Thomas
9a1e7b52e0
Add launch file
2020-05-30 20:33:56 -04:00
Brandon Thomas
906f0b4b67
Deployment with do_spaces_downloader
2020-05-30 20:09:05 -04:00
Brandon Thomas
40349c08da
Include SSL certs with build
2020-05-30 19:24:27 -04:00
Brandon Thomas
7a27c2eff3
docker build
2020-05-30 16:25:01 -04:00
Brandon Thomas
a9313b0ff0
Initial version
2020-05-30 15:22:01 -04:00
Brandon Thomas
5a7886520a
prevent segfaulting by serializing tacotron access
...
uses a non-blocking mutex acquire, with up to 500 milliseconds of retry
2020-05-29 01:42:39 -04:00
Brandon Thomas
44465a9c76
bump actix workers, move old_model, run segfault experiment
2020-05-29 01:23:30 -04:00
Brandon Thomas
81a96f73c8
better error messages
2020-05-28 23:16:51 -04:00
Brandon Thomas
c7672af5cd
defaults for required env vars; webserver index.html
2020-05-28 22:42:51 -04:00
Brandon Thomas
25220a1309
comments
2020-05-28 03:44:44 -04:00
Brandon Thomas
bbb6487b98
this deployment works and turns off logspam
2020-05-27 23:54:34 -04:00
Brandon Thomas
7452be9b1c
This change to deployment.yaml results in 3 healthy nodes
2020-05-27 23:48:26 -04:00
Brandon Thomas
b496e0b0b0
no liveness probe, tweaked readiness probe
2020-05-27 22:01:52 -04:00
Brandon Thomas
efb054d2f7
Better tts error handling (but needs logging)
2020-05-27 22:01:34 -04:00
Brandon Thomas
573aa9f4ca
cleanup pods in all namespaces except loki/graphana
2020-05-27 21:38:00 -04:00
Brandon Thomas
b4dd56b65c
Add hostname to logs
2020-05-27 20:35:52 -04:00
Brandon Thomas
31689ec97e
no longer log tensors
2020-05-27 20:27:13 -04:00
Brandon Thomas
2984c1786b
Fix legacy API to require speaker and text
...
Early out if not present
2020-05-27 20:15:04 -04:00
Brandon Thomas
2dcc4e5896
no longer log /liveness and /readiness (logspam)
2020-05-27 20:08:37 -04:00
Brandon Thomas
fd91d303b2
deployment: stop s3fs logging for graphana
2020-05-27 19:49:16 -04:00
Brandon Thomas
9cd7e56651
Pod cleanup script (ugh, this is gross)
2020-05-27 18:48:53 -04:00
Brandon Thomas
4eb1b3e79b
increase replicas to 5, wrap in launch script
2020-05-27 15:10:54 -04:00
Brandon Thomas
7e4d663f73
Add launch script to manage in-container restarts
2020-05-27 14:49:10 -04:00
Brandon Thomas
9e092eee4a
updated deployed_models.yaml
2020-05-27 04:29:22 -04:00
Brandon Thomas
d584527187
deployed models yaml
2020-05-27 04:26:08 -04:00
Brandon Thomas
6b89620b3c
Add endpoint to handle legacy GET requests from the old frontend
2020-05-27 04:11:21 -04:00
Brandon Thomas
9003eb5c16
better errors
2020-05-27 01:46:01 -04:00
Brandon Thomas
694d869cd4
Update frontend to work in different (autodetected) envs
2020-05-27 01:41:03 -04:00
Brandon Thomas
9fedbcd967
refactor frontend into directories by mode
2020-05-27 00:23:13 -04:00
Brandon Thomas
3ce772cd80
Modal test frontend can hit /speak or /advanced_tts
2020-05-27 00:17:10 -04:00
Brandon Thomas
ac1a9281d4
CORS, logger
2020-05-26 22:46:22 -04:00
Brandon Thomas
d4b1fa93b1
Add CORS allow list
2020-05-26 22:21:09 -04:00
Brandon Thomas
450c4ebe0a
Add /speak and /speakers endpoints
2020-05-26 20:57:40 -04:00
Brandon Thomas
0652199e8a
ignore models and wav files
2020-05-26 20:37:55 -04:00
Brandon Thomas
a20a7259b5
beef up module config: shared base dir, speakers
2020-05-26 20:36:08 -04:00
Brandon Thomas
805bad97c3
server code cleanup, cache model configs
2020-05-26 06:15:59 -04:00
Brandon Thomas
729bdefdbc
Updated deployment
2020-05-26 05:37:25 -04:00
Brandon Thomas
dafe174dc3
Repair dockerfile: needs libtorch 1.5; update symlinks
2020-05-26 02:52:05 -04:00
Brandon Thomas
d3a0a30884
tts_service: specify model config file by env var
2020-05-26 01:15:58 -04:00
Brandon Thomas
0a70b326e7
Kind of stuck, now. Rendering red and blue point clouds
...
- Color information from second camera only gets through if first camera
is disabled.
- How do I print BOTH point clouds from uniform data?
2020-05-18 04:47:45 -04:00
Brandon Thomas
6141c453fd
two point clouds translated on the x-axis
2020-05-18 01:07:33 -04:00
Brandon Thomas
d7d52485d7
two point clouds! (gl_VertexID-interleaved rendering)
2020-05-18 01:01:15 -04:00
Brandon Thomas
983d301554
getting somewhere, but this is confusing.
...
Changing textures in the point_cloud_renderer GLSL to be either index 0
or 1 (pointCloudTexture0 or pointCloudTexture1, each corresponding to a
camera) to the opposite of the skip block in the loop on line 611 will
show a perfect shaded image from the non-skipped camera.
This suggests that both cameras are sending texture and color data.
However...
Trying to do a linear combination from non-skipped color data is WEIRD
though, and not as I'd expect.
2020-05-18 00:47:55 -04:00
Brandon Thomas
56b4271295
Something interesting going on.
...
- Both inputs are some combination of colors
- Covering one camera leads to a black image
- Covering another camera leads to a red-shaded image
One of the cameras must not be wired up correctly.
2020-05-18 00:11:09 -04:00
Brandon Thomas
cfb4f8d6dd
Handle multi-cam vertex array object buffer for color (doesn't work yet)
...
The code works to load multiple VAOs and buffers, but the camera data
isn't properly segregated yet. Need to figure out what to bind
2020-05-17 23:10:50 -04:00
Brandon Thomas
ce64b80fed
upgrade tch.rs 0.1.3 -> 0.1.7 (still segfaults)
2020-05-17 19:47:54 -04:00