truss 0.11.0__py3-none-any.whl → 0.11.0rc500__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/cli/chains_commands.py +1 -1
- truss/templates/base.Dockerfile.jinja +2 -0
- {truss-0.11.0.dist-info → truss-0.11.0rc500.dist-info}/METADATA +1 -1
- {truss-0.11.0.dist-info → truss-0.11.0rc500.dist-info}/RECORD +8 -8
- truss_chains/deployment/deployment_client.py +4 -2
- {truss-0.11.0.dist-info → truss-0.11.0rc500.dist-info}/WHEEL +0 -0
- {truss-0.11.0.dist-info → truss-0.11.0rc500.dist-info}/entry_points.txt +0 -0
- {truss-0.11.0.dist-info → truss-0.11.0rc500.dist-info}/licenses/LICENSE +0 -0
truss/cli/chains_commands.py
CHANGED
|
@@ -359,7 +359,7 @@ def push_chain(
|
|
|
359
359
|
"--name",
|
|
360
360
|
type=str,
|
|
361
361
|
required=False,
|
|
362
|
-
help="Name of the chain to be
|
|
362
|
+
help="Name of the chain to be watched. If not given, the entrypoint name is used.",
|
|
363
363
|
)
|
|
364
364
|
@click.option(
|
|
365
365
|
"--remote",
|
|
@@ -18,6 +18,8 @@ ENV PYTHON_EXECUTABLE="{{ python_executable }}"
|
|
|
18
18
|
ENV HOME=/home/{{ app_username }}
|
|
19
19
|
{# Directory containing inference server code. #}
|
|
20
20
|
ENV APP_HOME=/{{ app_username }}
|
|
21
|
+
{# Directory for truss-transfer cache #}
|
|
22
|
+
ENV TRUSS_TRANSFER_CACHE_DIR=${APP_HOME}/.cache/truss_transfer
|
|
21
23
|
RUN mkdir -p ${APP_HOME} {{ control_server_dir }}
|
|
22
24
|
{# Create a non-root user to run model containers. #}
|
|
23
25
|
RUN useradd -u {{ app_user_uid }} -ms /bin/bash {{ app_username }}
|
|
@@ -8,7 +8,7 @@ truss/base/errors.py,sha256=zDVLEvseTChdPP0oNhBBQCtQUtZJUaof5zeWMIjqz6o,691
|
|
|
8
8
|
truss/base/trt_llm_config.py,sha256=CRz3AqGDAyv8YpcBWXUrnfjvNAauyo3yf8ZOGVsSt6g,32782
|
|
9
9
|
truss/base/truss_config.py,sha256=7CtiJIwMHtDU8Wzn8UTJUVVunD0pWFl4QUVycK2aIpY,28055
|
|
10
10
|
truss/base/truss_spec.py,sha256=jFVF79CXoEEspl2kXBAPyi-rwISReIGTdobGpaIhwJw,5979
|
|
11
|
-
truss/cli/chains_commands.py,sha256=
|
|
11
|
+
truss/cli/chains_commands.py,sha256=bqOXQ-0RPS66vSP_OPQdJ5dvctGiVrsGoSUMbURGdSI,16970
|
|
12
12
|
truss/cli/cli.py,sha256=PaMkuwXZflkU7sa1tEoT_Zmy-iBkEZs1m4IVqcieaeo,30367
|
|
13
13
|
truss/cli/remote_cli.py,sha256=G_xCKRXzgkCmkiZJhUFfsv5YSVgde1jLA5LPQitpZgI,1905
|
|
14
14
|
truss/cli/train_commands.py,sha256=GDye7yXGL_nQvXAlY5MWsdj5x0zYOvcQw0Ubn14TiRU,14365
|
|
@@ -66,7 +66,7 @@ truss/remote/baseten/utils/time.py,sha256=Ry9GMjYnbIGYVIGwtmv4V8ljWjvdcaCf5NOQzl
|
|
|
66
66
|
truss/remote/baseten/utils/transfer.py,sha256=d3VptuQb6M1nyS6kz0BAfeOYDLkMKUjatJXpY-mp-As,1548
|
|
67
67
|
truss/templates/README.md.jinja,sha256=N7CJdyldZuJamj5jLh47le0hFBdu9irVsTBqoxhPNPQ,2476
|
|
68
68
|
truss/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
69
|
-
truss/templates/base.Dockerfile.jinja,sha256=
|
|
69
|
+
truss/templates/base.Dockerfile.jinja,sha256=W8sUjeYNfaEX1rYCiJxmueJcEl6eqrVvnHELBjEg_Vo,5714
|
|
70
70
|
truss/templates/cache.Dockerfile.jinja,sha256=1qZqDo1phrcqi-Vwol-VafYJkADsBbQWU6huQ-_1x00,1146
|
|
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
|
|
@@ -352,7 +352,7 @@ truss_chains/streaming.py,sha256=DGl2LEAN67YwP7Nn9MK488KmYc4KopWmcHuE6WjyO1Q,125
|
|
|
352
352
|
truss_chains/utils.py,sha256=LvpCG2lnN6dqPqyX3PwLH9tyjUzqQN3N4WeEFROMHak,6291
|
|
353
353
|
truss_chains/deployment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
354
354
|
truss_chains/deployment/code_gen.py,sha256=AmAUZ3h1hP3uYkl3J6o096K5RFLuBOP7kOFSnFC_C4U,32568
|
|
355
|
-
truss_chains/deployment/deployment_client.py,sha256=
|
|
355
|
+
truss_chains/deployment/deployment_client.py,sha256=haFiVmQek42ewlN_YflBaRDQT4ZYbmT20tvvJOkcUX0,32899
|
|
356
356
|
truss_chains/reference_code/reference_chainlet.py,sha256=5feSeqGtrHDbldkfZCfX2R5YbbW0Uhc35mhaP2pXrHw,1340
|
|
357
357
|
truss_chains/reference_code/reference_model.py,sha256=emH3hb23E_nbP98I37PGp1Xk1hz3g3lQ00tiLo55cSM,322
|
|
358
358
|
truss_chains/remote_chainlet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -364,8 +364,8 @@ truss_train/definitions.py,sha256=V985HhY4rdXL10DZxpFEpze9ScxzWErMht4WwaPknGU,67
|
|
|
364
364
|
truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,3074
|
|
365
365
|
truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
|
|
366
366
|
truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
|
|
367
|
-
truss-0.11.
|
|
368
|
-
truss-0.11.
|
|
369
|
-
truss-0.11.
|
|
370
|
-
truss-0.11.
|
|
371
|
-
truss-0.11.
|
|
367
|
+
truss-0.11.0rc500.dist-info/METADATA,sha256=mi9mmsq_NsW346b24j8u6iP6yZeMFEDtkH0QtEvecCs,6674
|
|
368
|
+
truss-0.11.0rc500.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
369
|
+
truss-0.11.0rc500.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
|
|
370
|
+
truss-0.11.0rc500.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
|
|
371
|
+
truss-0.11.0rc500.dist-info/RECORD,,
|
|
@@ -655,7 +655,9 @@ class _Watcher:
|
|
|
655
655
|
with framework.ChainletImporter.import_target(
|
|
656
656
|
source, entrypoint
|
|
657
657
|
) as entrypoint_cls:
|
|
658
|
-
self._deployed_chain_name =
|
|
658
|
+
self._deployed_chain_name = (
|
|
659
|
+
name or entrypoint_cls.meta_data.chain_name or entrypoint_cls.__name__
|
|
660
|
+
)
|
|
659
661
|
self._chain_root = _get_chain_root(entrypoint_cls)
|
|
660
662
|
chainlet_names = set(
|
|
661
663
|
desc.display_name
|
|
@@ -677,7 +679,7 @@ class _Watcher:
|
|
|
677
679
|
)
|
|
678
680
|
if not chain_id:
|
|
679
681
|
raise public_types.ChainsDeploymentError(
|
|
680
|
-
f"Chain `{
|
|
682
|
+
f"Chain `{self._deployed_chain_name}` was not found."
|
|
681
683
|
)
|
|
682
684
|
self._status_page_url = b10_service.URLConfig.status_page_url(
|
|
683
685
|
self._remote_provider.remote_url, b10_service.URLConfig.CHAIN, chain_id
|
|
File without changes
|
|
File without changes
|
|
File without changes
|