truss 0.11.8rc10__py3-none-any.whl → 0.11.8rc11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of truss might be problematic. Click here for more details.

@@ -35,7 +35,7 @@ server {
35
35
  proxy_pass http://127.0.0.1:{{server_port}};
36
36
  }
37
37
  # Predict
38
- location ~ ^(/v1/models/model:predict|/v1/websocket)$ {
38
+ location ~ ^/v1/models/model:predict$ {
39
39
  proxy_redirect off;
40
40
  proxy_read_timeout 18030s;
41
41
  proxy_http_version 1.1;
@@ -45,10 +45,13 @@ server {
45
45
  proxy_pass http://127.0.0.1:{{server_port}};
46
46
  }
47
47
 
48
- location ~ ^/v1/models/model:predict$ {
48
+ location ~ ^/v1/websocket$ {
49
49
  proxy_redirect off;
50
50
  proxy_read_timeout 18030s;
51
51
  proxy_http_version 1.1;
52
+
53
+ proxy_set_header Upgrade $upgrade_header;
54
+ proxy_set_header Connection $connection_header;
52
55
 
53
56
  rewrite ^/v1/models/model:predict$ {{server_endpoint}} break;
54
57
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truss
3
- Version: 0.11.8rc10
3
+ Version: 0.11.8rc11
4
4
  Summary: A seamless bridge from model development to model delivery
5
5
  Project-URL: Repository, https://github.com/basetenlabs/truss
6
6
  Project-URL: Homepage, https://truss.baseten.co
@@ -91,7 +91,7 @@ truss/templates/custom/examples.yaml,sha256=2UcCtEdavImWmiCtj31ckBlAKVOwNMC5AwMI
91
91
  truss/templates/custom/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
92
  truss/templates/custom/model/model.py,sha256=J04rLxK09Pwt2F4GoKOLKL-H-CqZUdYIM-PL2CE9PoE,1079
93
93
  truss/templates/custom_python_dx/my_model.py,sha256=NG75mQ6wxzB1BYUemDFZvRLBET-UrzuUK4FuHjqI29U,910
94
- truss/templates/docker_server/proxy.conf.jinja,sha256=qgo54vFLUVBbuxYjM9GKdXUdpbVOTUCuqq73ip-RfbA,1956
94
+ truss/templates/docker_server/proxy.conf.jinja,sha256=YCU096KV0XMsqgiq7nFPkzus-t58p-DeIHV2DstHkmk,2044
95
95
  truss/templates/docker_server/supervisord.conf.jinja,sha256=dd37fwZE--cutrvOUCqEyJQQQhlp61H2IUs2huKWsSk,1808
96
96
  truss/templates/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
97
  truss/templates/server/main.py,sha256=kWXrdD8z8IpamyWxc8qcvd5ck9gM1Kz2QH5qHJCnmOQ,222
@@ -368,8 +368,8 @@ truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,307
368
368
  truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
369
369
  truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
370
370
  truss_train/restore_from_checkpoint.py,sha256=8hdPm-WSgkt74HDPjvCjZMBpvA9MwtoYsxVjOoa7BaM,1176
371
- truss-0.11.8rc10.dist-info/METADATA,sha256=fosW8ArYEmmBK4-o2StLiEgskSbAslwBX3FTie2gn0E,6681
372
- truss-0.11.8rc10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
373
- truss-0.11.8rc10.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
374
- truss-0.11.8rc10.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
375
- truss-0.11.8rc10.dist-info/RECORD,,
371
+ truss-0.11.8rc11.dist-info/METADATA,sha256=yP4zwQY0eo81vY0DQAvu6ObXkOHTqB46RgHXdhrzhcU,6681
372
+ truss-0.11.8rc11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
373
+ truss-0.11.8rc11.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
374
+ truss-0.11.8rc11.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
375
+ truss-0.11.8rc11.dist-info/RECORD,,