truss 0.11.5rc2__py3-none-any.whl → 0.11.6rc1__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.
- truss/templates/server/requirements.txt +1 -1
- truss/templates/server.Dockerfile.jinja +5 -0
- truss/tests/test_data/server.Dockerfile +1 -1
- {truss-0.11.5rc2.dist-info → truss-0.11.6rc1.dist-info}/METADATA +1 -1
- {truss-0.11.5rc2.dist-info → truss-0.11.6rc1.dist-info}/RECORD +8 -8
- {truss-0.11.5rc2.dist-info → truss-0.11.6rc1.dist-info}/WHEEL +0 -0
- {truss-0.11.5rc2.dist-info → truss-0.11.6rc1.dist-info}/entry_points.txt +0 -0
- {truss-0.11.5rc2.dist-info → truss-0.11.6rc1.dist-info}/licenses/LICENSE +0 -0
|
@@ -18,7 +18,7 @@ psutil>=5.9.4
|
|
|
18
18
|
python-json-logger>=2.0.2
|
|
19
19
|
pyyaml>=6.0.0
|
|
20
20
|
requests>=2.31.0
|
|
21
|
-
truss-transfer==0.0.
|
|
21
|
+
truss-transfer==0.0.31
|
|
22
22
|
# NB(nikhil): Uvicorn 0.36.0 has breaking changes for the event loop, so we pin to a lower version.
|
|
23
23
|
uvicorn>=0.24.0,<0.36.0
|
|
24
24
|
uvloop>=0.19.0
|
|
@@ -64,7 +64,12 @@ RUN {% for secret,path in config.build.secret_to_path_mapping.items() %} --mount
|
|
|
64
64
|
|
|
65
65
|
{# Copy data before code for better caching #}
|
|
66
66
|
{%- if data_dir_exists %}
|
|
67
|
+
{# If non-root user is enabled, copy data to the app home directory with the correct ownership #}
|
|
68
|
+
{%- if non_root_user %}
|
|
67
69
|
COPY --chown={{ default_owner }} ./{{ config.data_dir }} ${APP_HOME}/data
|
|
70
|
+
{%- else %}
|
|
71
|
+
COPY ./{{ config.data_dir }} ${APP_HOME}/data
|
|
72
|
+
{%- endif %} {#- endif non_root_user #}
|
|
68
73
|
{%- endif %} {#- endif data_dir_exists #}
|
|
69
74
|
|
|
70
75
|
{%- if model_cache_v2 %}
|
|
@@ -30,7 +30,7 @@ RUN UV_HTTP_TIMEOUT=${UV_HTTP_TIMEOUT:-300} uv pip install --index-strategy unsa
|
|
|
30
30
|
COPY --chown= ./requirements.txt requirements.txt
|
|
31
31
|
RUN UV_HTTP_TIMEOUT=${UV_HTTP_TIMEOUT:-300} uv pip install --index-strategy unsafe-best-match --python /usr/local/bin/python3 -r requirements.txt --no-cache-dir
|
|
32
32
|
WORKDIR $APP_HOME
|
|
33
|
-
COPY
|
|
33
|
+
COPY ./data ${APP_HOME}/data
|
|
34
34
|
COPY --chown= ./server ${APP_HOME}
|
|
35
35
|
COPY --chown= ./config.yaml ${APP_HOME}/config.yaml
|
|
36
36
|
COPY --chown= ./model ${APP_HOME}/model
|
|
@@ -71,7 +71,7 @@ truss/templates/cache.Dockerfile.jinja,sha256=1qZqDo1phrcqi-Vwol-VafYJkADsBbQWU6
|
|
|
71
71
|
truss/templates/cache_requirements.txt,sha256=xoPoJ-OVnf1z6oq_RVM3vCr3ionByyqMLj7wGs61nUs,87
|
|
72
72
|
truss/templates/copy_cache_files.Dockerfile.jinja,sha256=Os5zFdYLZ_AfCRGq4RcpVTObOTwL7zvmwYcvOzd_Zqo,126
|
|
73
73
|
truss/templates/docker_server_requirements.txt,sha256=PyhOPKAmKW1N2vLvTfLMwsEtuGpoRrbWuNo7tT6v2Mc,18
|
|
74
|
-
truss/templates/server.Dockerfile.jinja,sha256=
|
|
74
|
+
truss/templates/server.Dockerfile.jinja,sha256=f81E1X621fGJhGyCQzRgZAQW4qDkiZXnJOH4sUzBAEo,7291
|
|
75
75
|
truss/templates/control/requirements.txt,sha256=nqqNmlTwFeV8sV4fqwItwzzd_egADBP_e-cEopXBJ4k,358
|
|
76
76
|
truss/templates/control/control/application.py,sha256=jYeta6hWe1SkfLL3W4IDmdYjg3ZuKqI_UagWYs5RB_E,3793
|
|
77
77
|
truss/templates/control/control/endpoints.py,sha256=VQ1lvZjFvR091yRkiFdvXw1Q7PiNGXT9rJwY7_sX6yg,11828
|
|
@@ -96,7 +96,7 @@ truss/templates/docker_server/supervisord.conf.jinja,sha256=dd37fwZE--cutrvOUCqE
|
|
|
96
96
|
truss/templates/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
97
|
truss/templates/server/main.py,sha256=kWXrdD8z8IpamyWxc8qcvd5ck9gM1Kz2QH5qHJCnmOQ,222
|
|
98
98
|
truss/templates/server/model_wrapper.py,sha256=k75VVISwwlsx5EGb82UZsu8kCM_i6Yi3-Hd0-Kpm1yo,42055
|
|
99
|
-
truss/templates/server/requirements.txt,sha256=
|
|
99
|
+
truss/templates/server/requirements.txt,sha256=lhJYYExWE1IdBlYYFW-kmfmuKZTWyIg1TNyoWIIuuDg,780
|
|
100
100
|
truss/templates/server/truss_server.py,sha256=noXfGJMsKIhgF4oI_8LC1UHkcx8Vg8nGSITZJ_bkRFQ,19598
|
|
101
101
|
truss/templates/server/common/__init__.py,sha256=qHIqr68L5Tn4mV6S-PbORpcuJ4jmtBR8aCuRTIWDvNo,85
|
|
102
102
|
truss/templates/server/common/errors.py,sha256=My0P6-Y7imVTICIhazHT0vlSu3XJDH7As06OyVzu4Do,8589
|
|
@@ -184,7 +184,7 @@ truss/tests/test_data/pima-indians-diabetes.csv,sha256=BvW3ws17ymhv2k-S6rX2Hn_2Q
|
|
|
184
184
|
truss/tests/test_data/readme_int_example.md,sha256=fuHvpLtdkJy1f4NAR_djotVBdzusHYNXc-Fwh588XAE,1586
|
|
185
185
|
truss/tests/test_data/readme_no_example.md,sha256=T2CzFMRvICXeX3_5XbFoqhHchcHGot-xM7izx34B3aQ,1607
|
|
186
186
|
truss/tests/test_data/readme_str_example.md,sha256=fP4pvMqgLdIapaOf_BgRiV0H7pw4so0RNxrlq5lbROE,1726
|
|
187
|
-
truss/tests/test_data/server.Dockerfile,sha256=
|
|
187
|
+
truss/tests/test_data/server.Dockerfile,sha256=beeeOlOoEWGe1nP5IZYKmDeMJc7KRuN5PdOj7rSEiKE,1962
|
|
188
188
|
truss/tests/test_data/annotated_types_truss/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
189
189
|
truss/tests/test_data/annotated_types_truss/config.yaml,sha256=B-ZyyjLLqtxGfXj2tkH68Hy7NOMB_coYvoWyWom61g0,147
|
|
190
190
|
truss/tests/test_data/annotated_types_truss/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -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=KmJuTUVpvtvlkEClcmllxAF2TKgbp-FuzfblfGh06XA,1239
|
|
371
|
-
truss-0.11.
|
|
372
|
-
truss-0.11.
|
|
373
|
-
truss-0.11.
|
|
374
|
-
truss-0.11.
|
|
375
|
-
truss-0.11.
|
|
371
|
+
truss-0.11.6rc1.dist-info/METADATA,sha256=0HhYjVZUCL_-tTTPOf5I4ihkHdH2apkHemb9f2exVD0,6680
|
|
372
|
+
truss-0.11.6rc1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
373
|
+
truss-0.11.6rc1.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
|
|
374
|
+
truss-0.11.6rc1.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
|
|
375
|
+
truss-0.11.6rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|