truss 0.11.14rc500__py3-none-any.whl → 0.11.15__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.
- truss/contexts/image_builder/serving_image_builder.py +0 -6
- truss/templates/docker_server/supervisord.conf.jinja +2 -1
- truss/templates/no_build.Dockerfile.jinja +0 -4
- {truss-0.11.14rc500.dist-info → truss-0.11.15.dist-info}/METADATA +1 -1
- {truss-0.11.14rc500.dist-info → truss-0.11.15.dist-info}/RECORD +8 -8
- {truss-0.11.14rc500.dist-info → truss-0.11.15.dist-info}/WHEEL +0 -0
- {truss-0.11.14rc500.dist-info → truss-0.11.15.dist-info}/entry_points.txt +0 -0
- {truss-0.11.14rc500.dist-info → truss-0.11.15.dist-info}/licenses/LICENSE +0 -0
|
@@ -797,11 +797,6 @@ class ServingImageBuilder(ImageBuilder):
|
|
|
797
797
|
config
|
|
798
798
|
)
|
|
799
799
|
|
|
800
|
-
user_id = None
|
|
801
|
-
if config.model_cache and config.model_cache.is_v2:
|
|
802
|
-
if config.docker_server and config.docker_server.run_as_user_id:
|
|
803
|
-
user_id = config.docker_server.run_as_user_id
|
|
804
|
-
|
|
805
800
|
non_root_user = os.getenv("BT_USE_NON_ROOT_USER", False)
|
|
806
801
|
dockerfile_contents = dockerfile_template.render(
|
|
807
802
|
should_install_server_requirements=should_install_server_requirements,
|
|
@@ -837,7 +832,6 @@ class ServingImageBuilder(ImageBuilder):
|
|
|
837
832
|
use_local_src=config.use_local_src,
|
|
838
833
|
passthrough_environment_variables=passthrough_environment_variables,
|
|
839
834
|
non_root_user=non_root_user,
|
|
840
|
-
user_id=user_id,
|
|
841
835
|
**FILENAME_CONSTANTS_MAP,
|
|
842
836
|
)
|
|
843
837
|
# Consolidate repeated empty lines to single empty lines.
|
|
@@ -7,8 +7,9 @@ logfile_maxbytes=0 ; No size limit on logfile (since logging is disabl
|
|
|
7
7
|
[program:model-server]
|
|
8
8
|
command={{start_command}} ; Command to start the model server (provided by Jinja variable)
|
|
9
9
|
startsecs=30 ; Wait 30 seconds before assuming the server is running
|
|
10
|
+
startretries=0 ; Do not retry if server fails to start
|
|
10
11
|
autostart=true ; Automatically start the program when supervisord starts
|
|
11
|
-
autorestart=
|
|
12
|
+
autorestart=false ; Don't restart the program
|
|
12
13
|
stdout_logfile=/dev/fd/1 ; Send stdout to the first file descriptor (stdout)
|
|
13
14
|
stdout_logfile_maxbytes=0 ; No size limit on stdout log
|
|
14
15
|
redirect_stderr=true ; Redirect stderr to stdout
|
|
@@ -36,7 +36,7 @@ truss/contexts/docker_build_setup.py,sha256=cF4ExZgtYvrWxvyCAaUZUvV_DB_7__MqVomU
|
|
|
36
36
|
truss/contexts/truss_context.py,sha256=uS6L-ACHxNk0BsJwESOHh1lA0OGGw0pb33aFKGsASj4,436
|
|
37
37
|
truss/contexts/image_builder/cache_warmer.py,sha256=TGMV1Mh87n2e_dSowH0sf0rZhZraDOR-LVapZL3a5r8,7377
|
|
38
38
|
truss/contexts/image_builder/image_builder.py,sha256=IuRgDeeoHVLzIkJvKtX3807eeqEyaroCs_KWDcIHZUg,1461
|
|
39
|
-
truss/contexts/image_builder/serving_image_builder.py,sha256=
|
|
39
|
+
truss/contexts/image_builder/serving_image_builder.py,sha256=1PfHtkTEdNPhSQAX8Ajk_0LN3KR2EfLKwOJsnECtKXQ,33958
|
|
40
40
|
truss/contexts/image_builder/util.py,sha256=y2-CjUKv0XV-0w2sr1fUCflysDJLsoU4oPp6tvvoFnk,1203
|
|
41
41
|
truss/contexts/local_loader/docker_build_emulator.py,sha256=3n0eIlJblz_sldh4AN8AHQDyfjQGdYyld5FabBdd9wE,3563
|
|
42
42
|
truss/contexts/local_loader/dockerfile_parser.py,sha256=GoRJ0Af_3ILyLhjovK5lrCGn1rMxz6W3l681ro17ZzI,1344
|
|
@@ -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/no_build.Dockerfile.jinja,sha256=
|
|
74
|
+
truss/templates/no_build.Dockerfile.jinja,sha256=8x2PJUxr_gHai0St8ue2aWyih36t8kBytXMGr_5LG4w,35
|
|
75
75
|
truss/templates/server.Dockerfile.jinja,sha256=Mu5_ZxuAknwaEOsF0l-XssA9pDg3pD3eLl6JBzNJ4rg,7091
|
|
76
76
|
truss/templates/control/requirements.txt,sha256=tJGr83WoE0CZm2FrloZ9VScK84q-_FTuVXjDYrexhW0,250
|
|
77
77
|
truss/templates/control/control/application.py,sha256=5Kam6M-XtfKGaXQz8cc3d0bwDkB80o2MskABWROx1gk,5321
|
|
@@ -93,7 +93,7 @@ truss/templates/custom/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
93
93
|
truss/templates/custom/model/model.py,sha256=J04rLxK09Pwt2F4GoKOLKL-H-CqZUdYIM-PL2CE9PoE,1079
|
|
94
94
|
truss/templates/custom_python_dx/my_model.py,sha256=NG75mQ6wxzB1BYUemDFZvRLBET-UrzuUK4FuHjqI29U,910
|
|
95
95
|
truss/templates/docker_server/proxy.conf.jinja,sha256=Axily8EtznvrF7mUCgy2VFY99BYRt4BycZ0p9uWfd0s,2025
|
|
96
|
-
truss/templates/docker_server/supervisord.conf.jinja,sha256=
|
|
96
|
+
truss/templates/docker_server/supervisord.conf.jinja,sha256=AliMMd6bNn-oCYIB8GumTvt8L2JshkjFaoqIcyBzQmc,1835
|
|
97
97
|
truss/templates/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
98
|
truss/templates/server/main.py,sha256=kWXrdD8z8IpamyWxc8qcvd5ck9gM1Kz2QH5qHJCnmOQ,222
|
|
99
99
|
truss/templates/server/model_wrapper.py,sha256=k75VVISwwlsx5EGb82UZsu8kCM_i6Yi3-Hd0-Kpm1yo,42055
|
|
@@ -371,8 +371,8 @@ truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,307
|
|
|
371
371
|
truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
|
|
372
372
|
truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
|
|
373
373
|
truss_train/restore_from_checkpoint.py,sha256=8hdPm-WSgkt74HDPjvCjZMBpvA9MwtoYsxVjOoa7BaM,1176
|
|
374
|
-
truss-0.11.
|
|
375
|
-
truss-0.11.
|
|
376
|
-
truss-0.11.
|
|
377
|
-
truss-0.11.
|
|
378
|
-
truss-0.11.
|
|
374
|
+
truss-0.11.15.dist-info/METADATA,sha256=Yds6oDaUbBs0saLc2nHmG1PB_80gkWuK-sNlyZkdHEQ,6678
|
|
375
|
+
truss-0.11.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
376
|
+
truss-0.11.15.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
|
|
377
|
+
truss-0.11.15.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
|
|
378
|
+
truss-0.11.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|