truss 0.11.8rc11__py3-none-any.whl → 0.11.9__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/logs/base_watcher.py +31 -12
- truss/cli/logs/model_log_watcher.py +24 -1
- truss/cli/train/core.py +13 -11
- truss/cli/train/deploy_checkpoints/__init__.py +2 -2
- truss/cli/train/deploy_checkpoints/deploy_checkpoints.py +211 -106
- truss/cli/train/deploy_checkpoints/deploy_checkpoints_helpers.py +1 -52
- truss/cli/train/deploy_checkpoints/deploy_full_checkpoints.py +0 -59
- truss/cli/train/deploy_checkpoints/deploy_lora_checkpoints.py +0 -83
- truss/cli/train/deploy_checkpoints/deploy_whisper_checkpoints.py +0 -53
- truss/cli/train/types.py +1 -11
- truss/cli/train_commands.py +5 -15
- truss/remote/baseten/api.py +87 -0
- truss/templates/control/control/application.py +48 -26
- truss/templates/control/control/endpoints.py +1 -5
- truss/templates/control/control/helpers/truss_patch/model_container_patch_applier.py +33 -18
- truss/templates/docker_server/proxy.conf.jinja +2 -2
- truss/tests/cli/train/test_deploy_checkpoints.py +0 -843
- truss/tests/templates/control/control/conftest.py +20 -0
- truss/tests/templates/control/control/test_endpoints.py +4 -0
- truss/tests/templates/control/control/test_server.py +8 -24
- truss/tests/templates/control/control/test_server_integration.py +4 -2
- truss/util/__init__.py +0 -0
- {truss-0.11.8rc11.dist-info → truss-0.11.9.dist-info}/METADATA +1 -1
- {truss-0.11.8rc11.dist-info → truss-0.11.9.dist-info}/RECORD +28 -26
- truss_train/definitions.py +0 -1
- {truss-0.11.8rc11.dist-info → truss-0.11.9.dist-info}/WHEEL +0 -0
- {truss-0.11.8rc11.dist-info → truss-0.11.9.dist-info}/entry_points.txt +0 -0
- {truss-0.11.8rc11.dist-info → truss-0.11.9.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# NB(nikhil): Slightly hacky helpers needed to set up the path so relative imports work as they do in real environments
|
|
6
|
+
def setup_control_imports():
|
|
7
|
+
base_path = Path(__file__).parent.parent.parent.parent.parent
|
|
8
|
+
paths = [
|
|
9
|
+
base_path / "templates" / "control" / "control",
|
|
10
|
+
base_path / "templates",
|
|
11
|
+
base_path / "templates" / "shared",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
for path in paths:
|
|
15
|
+
if not path.exists():
|
|
16
|
+
raise FileNotFoundError(f"Expected control path does not exist: {path}")
|
|
17
|
+
|
|
18
|
+
path_str = str(path)
|
|
19
|
+
if path_str not in sys.path:
|
|
20
|
+
sys.path.insert(0, path_str)
|
|
@@ -8,6 +8,10 @@ from httpx_ws import AsyncWebSocketSession
|
|
|
8
8
|
from httpx_ws import _exceptions as httpx_ws_exceptions
|
|
9
9
|
from wsproto.events import BytesMessage, TextMessage
|
|
10
10
|
|
|
11
|
+
from truss.tests.templates.control.control.conftest import setup_control_imports
|
|
12
|
+
|
|
13
|
+
setup_control_imports()
|
|
14
|
+
|
|
11
15
|
from truss.templates.control.control.endpoints import proxy_ws
|
|
12
16
|
|
|
13
17
|
|
|
@@ -1,30 +1,15 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import socket
|
|
3
|
-
import sys
|
|
4
3
|
from contextlib import contextmanager
|
|
5
|
-
from pathlib import Path
|
|
6
4
|
from typing import Dict, List
|
|
7
5
|
from unittest.mock import AsyncMock, patch
|
|
8
6
|
|
|
9
7
|
import httpx
|
|
10
8
|
import pytest
|
|
11
9
|
|
|
12
|
-
from truss.
|
|
13
|
-
|
|
14
|
-
# Needed to simulate the set up on the model docker container
|
|
15
|
-
sys.path.append(
|
|
16
|
-
str(
|
|
17
|
-
Path(__file__).parent.parent.parent.parent.parent
|
|
18
|
-
/ "templates"
|
|
19
|
-
/ "control"
|
|
20
|
-
/ "control"
|
|
21
|
-
)
|
|
22
|
-
)
|
|
10
|
+
from truss.tests.templates.control.control.conftest import setup_control_imports
|
|
23
11
|
|
|
24
|
-
|
|
25
|
-
sys.path.append(
|
|
26
|
-
str(Path(__file__).parent.parent.parent.parent.parent / "templates" / "shared")
|
|
27
|
-
)
|
|
12
|
+
setup_control_imports()
|
|
28
13
|
|
|
29
14
|
from truss.templates.control.control.application import create_app # noqa
|
|
30
15
|
from truss.templates.control.control.helpers.custom_types import ( # noqa
|
|
@@ -34,6 +19,7 @@ from truss.templates.control.control.helpers.custom_types import ( # noqa
|
|
|
34
19
|
PatchType,
|
|
35
20
|
PythonRequirementPatch,
|
|
36
21
|
)
|
|
22
|
+
from truss.truss_handle.patch.custom_types import PatchRequest
|
|
37
23
|
|
|
38
24
|
|
|
39
25
|
@pytest.fixture
|
|
@@ -67,7 +53,7 @@ def app(truss_container_fs, truss_original_hash, ports):
|
|
|
67
53
|
"control_server_port": ports["control_server_port"],
|
|
68
54
|
"inference_server_port": ports["inference_server_port"],
|
|
69
55
|
"oversee_inference_server": False,
|
|
70
|
-
"
|
|
56
|
+
"uv_path": "uv",
|
|
71
57
|
}
|
|
72
58
|
)
|
|
73
59
|
inference_server_controller = control_app.state.inference_server_controller
|
|
@@ -273,14 +259,12 @@ async def test_retries(client, app):
|
|
|
273
259
|
]
|
|
274
260
|
)
|
|
275
261
|
|
|
276
|
-
with (
|
|
277
|
-
|
|
278
|
-
pytest.raises(httpx.RemoteProtocolError),
|
|
279
|
-
):
|
|
280
|
-
await client.get("/v1/models/model")
|
|
262
|
+
with patch("endpoints.INFERENCE_SERVER_START_WAIT_SECS", new=4):
|
|
263
|
+
resp = await client.get("/v1/models/model")
|
|
281
264
|
|
|
282
|
-
# We should have made 5 attempts
|
|
265
|
+
# We should have made 5 attempts, and then surfaced a 500
|
|
283
266
|
assert app.state.proxy_client.send.call_count == 5
|
|
267
|
+
assert resp.status_code == 500
|
|
284
268
|
|
|
285
269
|
|
|
286
270
|
async def _verify_apply_patch_success(client, patch: Patch):
|
|
@@ -35,10 +35,12 @@ def _start_truss_server(
|
|
|
35
35
|
f"http://localhost:{patch_ping_server_port}"
|
|
36
36
|
)
|
|
37
37
|
sys.stdout = open(stdout_capture_file_path, "w")
|
|
38
|
+
|
|
39
|
+
# NB(nikhil): Insert paths at the beginning to ensure we search there first.
|
|
38
40
|
app_path = truss_control_container_fs / "app"
|
|
39
|
-
sys.path.
|
|
41
|
+
sys.path.insert(0, str(app_path))
|
|
40
42
|
control_path = truss_control_container_fs / "control" / "control"
|
|
41
|
-
sys.path.
|
|
43
|
+
sys.path.insert(0, str(control_path))
|
|
42
44
|
|
|
43
45
|
from server import ControlServer
|
|
44
46
|
|
truss/util/__init__.py
ADDED
|
File without changes
|
|
@@ -11,24 +11,24 @@ truss/base/truss_spec.py,sha256=jFVF79CXoEEspl2kXBAPyi-rwISReIGTdobGpaIhwJw,5979
|
|
|
11
11
|
truss/cli/chains_commands.py,sha256=Kpa5mCg6URAJQE2ZmZfVQFhjBHEitKT28tKiW0H6XAI,17406
|
|
12
12
|
truss/cli/cli.py,sha256=PaMkuwXZflkU7sa1tEoT_Zmy-iBkEZs1m4IVqcieaeo,30367
|
|
13
13
|
truss/cli/remote_cli.py,sha256=G_xCKRXzgkCmkiZJhUFfsv5YSVgde1jLA5LPQitpZgI,1905
|
|
14
|
-
truss/cli/train_commands.py,sha256=
|
|
15
|
-
truss/cli/logs/base_watcher.py,sha256=
|
|
16
|
-
truss/cli/logs/model_log_watcher.py,sha256=
|
|
14
|
+
truss/cli/train_commands.py,sha256=Cfr9-TDE-esQI_R8az5OpLoQyz3Qv38mLsSNwy9znmI,18873
|
|
15
|
+
truss/cli/logs/base_watcher.py,sha256=vuqteoaMVGX34cgKcETf4X_gOkvnSnDaWz1_pbeFhqs,3343
|
|
16
|
+
truss/cli/logs/model_log_watcher.py,sha256=38vQCcNItfDrTKucvdJ10ZYLOcbGa5ZAKUqUnV4nH34,1971
|
|
17
17
|
truss/cli/logs/training_log_watcher.py,sha256=r6HRqrLnz-PiKTUXiDYYxg4ZnP8vYcXlEX1YmgHhzlo,1173
|
|
18
18
|
truss/cli/logs/utils.py,sha256=z-U_FG4BUzdZLbE3BnXb4DZQ0zt3LSZ3PiQpLaDuc3o,1031
|
|
19
19
|
truss/cli/train/common.py,sha256=xTR41U5FeSndXfNBBHF9wF5XwZH1sOIVFlv-XHjsKIU,1547
|
|
20
|
-
truss/cli/train/core.py,sha256=
|
|
20
|
+
truss/cli/train/core.py,sha256=bJ40Jr4oXsG-blr3LGwd02KlYds6YbOS2x5twj_nyiI,26344
|
|
21
21
|
truss/cli/train/deploy_from_checkpoint_config.yml,sha256=mktaVrfhN8Kjx1UveC4xr-gTW-kjwbHvq6bx_LpO-Wg,371
|
|
22
22
|
truss/cli/train/deploy_from_checkpoint_config_whisper.yml,sha256=6GbOorYC8ml0UyOUvuBpFO_fuYtYE646JqsalR-D4oY,406
|
|
23
23
|
truss/cli/train/metrics_watcher.py,sha256=smz-zrEsBj_-wJHI0pAZ-EAPrvfCWzq1eQjGiFNM-Mk,12755
|
|
24
24
|
truss/cli/train/poller.py,sha256=TGRzELxsicga0bEXewSX1ujw6lfPmDnHd6nr8zvOFO8,3550
|
|
25
|
-
truss/cli/train/types.py,sha256=
|
|
26
|
-
truss/cli/train/deploy_checkpoints/__init__.py,sha256=
|
|
27
|
-
truss/cli/train/deploy_checkpoints/deploy_checkpoints.py,sha256=
|
|
28
|
-
truss/cli/train/deploy_checkpoints/deploy_checkpoints_helpers.py,sha256=
|
|
29
|
-
truss/cli/train/deploy_checkpoints/deploy_full_checkpoints.py,sha256=
|
|
30
|
-
truss/cli/train/deploy_checkpoints/deploy_lora_checkpoints.py,sha256=
|
|
31
|
-
truss/cli/train/deploy_checkpoints/deploy_whisper_checkpoints.py,sha256=
|
|
25
|
+
truss/cli/train/types.py,sha256=aGqZ5yOLv5WZL5_rmhl3s9NoXhjXOkeSsHD3QEH0en4,700
|
|
26
|
+
truss/cli/train/deploy_checkpoints/__init__.py,sha256=HuiDD6-qfwJ7fbRVX4s9Fxn6rmO6nwTLb0fVxwcMKls,137
|
|
27
|
+
truss/cli/train/deploy_checkpoints/deploy_checkpoints.py,sha256=T3ss6qZE7iwbxXcHrNRCmt1e7VwOyVnWwwFZGv6222I,21398
|
|
28
|
+
truss/cli/train/deploy_checkpoints/deploy_checkpoints_helpers.py,sha256=r_IKMlqejMwIU6gsfxDIRzfmltfDf6Sz9-vnKrP_10s,83
|
|
29
|
+
truss/cli/train/deploy_checkpoints/deploy_full_checkpoints.py,sha256=BEgn0p-LUE_enXJKrbHtuwEkLi3B1qcNJVzExB60Fzg,1199
|
|
30
|
+
truss/cli/train/deploy_checkpoints/deploy_lora_checkpoints.py,sha256=xP403ny-7YGPZCkEFRqi-Awt3hYVteGMBnZNWyY_8Pc,1138
|
|
31
|
+
truss/cli/train/deploy_checkpoints/deploy_whisper_checkpoints.py,sha256=rJ0_KM0RUWLTdz24rbAhDtzTYtTvdVKpGXNZd23zgRE,424
|
|
32
32
|
truss/cli/utils/common.py,sha256=ink9ZE0MsOv6PCFK_Ra5k1aHm281TXTnMpnLjf2PtUM,6585
|
|
33
33
|
truss/cli/utils/output.py,sha256=GNjU85ZAMp5BI6Yij5wYXcaAvpm_kmHV0nHNmdkMxb0,646
|
|
34
34
|
truss/cli/utils/self_upgrade.py,sha256=eTJZA4Wc8uUp4Qh6viRQp6bZm--wnQp7KWe5KRRpPtg,5427
|
|
@@ -52,7 +52,7 @@ truss/patch/truss_dir_patch_applier.py,sha256=ALnaVnu96g0kF2UmGuBFTua3lrXpwAy4sG
|
|
|
52
52
|
truss/remote/remote_factory.py,sha256=-0gLh_yIyNDgD48Q6sR8Yo5dOMQg84lrHRvn_XR0n4s,3585
|
|
53
53
|
truss/remote/truss_remote.py,sha256=TEe6h6by5-JLy7PMFsDN2QxIY5FmdIYN3bKvHHl02xM,8440
|
|
54
54
|
truss/remote/baseten/__init__.py,sha256=XNqJW1zyp143XQc6-7XVwsUA_Q_ZJv_ausn1_Ohtw9Y,176
|
|
55
|
-
truss/remote/baseten/api.py,sha256=
|
|
55
|
+
truss/remote/baseten/api.py,sha256=SJHy1JWD7-dlXJRuN9fxFsGzUk-Irtt_KOnBi7f7_4s,28235
|
|
56
56
|
truss/remote/baseten/auth.py,sha256=tI7s6cI2EZgzpMIzrdbILHyGwiHDnmoKf_JBhJXT55E,776
|
|
57
57
|
truss/remote/baseten/core.py,sha256=uxtmBI9RAVHu1glIEJb5Q4ccJYLeZM1Cp5Svb9W68Yw,21965
|
|
58
58
|
truss/remote/baseten/custom_types.py,sha256=bYrfTzGgYr6FDoya0omyadCLSTcTc-83U2scQORyUj0,4715
|
|
@@ -73,8 +73,8 @@ truss/templates/copy_cache_files.Dockerfile.jinja,sha256=Os5zFdYLZ_AfCRGq4RcpVTO
|
|
|
73
73
|
truss/templates/docker_server_requirements.txt,sha256=PyhOPKAmKW1N2vLvTfLMwsEtuGpoRrbWuNo7tT6v2Mc,18
|
|
74
74
|
truss/templates/server.Dockerfile.jinja,sha256=CUYnF_hgxPGq2re7__0UPWlwzOHMoFkxp6NVKi3U16s,7071
|
|
75
75
|
truss/templates/control/requirements.txt,sha256=nqqNmlTwFeV8sV4fqwItwzzd_egADBP_e-cEopXBJ4k,358
|
|
76
|
-
truss/templates/control/control/application.py,sha256=
|
|
77
|
-
truss/templates/control/control/endpoints.py,sha256=
|
|
76
|
+
truss/templates/control/control/application.py,sha256=GxjRglKQhug0bOJEeBcj9YJWJzHVAnAybvgzDcopG5k,5122
|
|
77
|
+
truss/templates/control/control/endpoints.py,sha256=KzqsLVNJE6r6TCPW8D5FMCtsfHadTwR15A3z_viGxmM,11782
|
|
78
78
|
truss/templates/control/control/server.py,sha256=R4Y219i1dcz0kkksN8obLoX-YXWGo9iW1igindyG50c,3128
|
|
79
79
|
truss/templates/control/control/helpers/context_managers.py,sha256=W6dyFgLBhPa5meqrOb3w_phMtKfaJI-GhwUfpiycDc8,413
|
|
80
80
|
truss/templates/control/control/helpers/custom_types.py,sha256=n_lTudtLTpy4oPV3aDdJ4X2rh3KCV5btYO9UnTeUouQ,5471
|
|
@@ -84,14 +84,14 @@ truss/templates/control/control/helpers/inference_server_process_controller.py,s
|
|
|
84
84
|
truss/templates/control/control/helpers/inference_server_starter.py,sha256=Fz2Puijro6Cc5cvTsAqOveNJbBQR_ARYJXl4lvETJ8Y,2633
|
|
85
85
|
truss/templates/control/control/helpers/truss_patch/__init__.py,sha256=CXZdUV_ylqLTJrKuFpvSnUT6PUFrZrMF2y6jiHbdaKU,998
|
|
86
86
|
truss/templates/control/control/helpers/truss_patch/model_code_patch_applier.py,sha256=LTIIADLz0wRn7V49j64dU1U7Hbta9YLde3pb5YZWvzQ,2001
|
|
87
|
-
truss/templates/control/control/helpers/truss_patch/model_container_patch_applier.py,sha256=
|
|
87
|
+
truss/templates/control/control/helpers/truss_patch/model_container_patch_applier.py,sha256=9bWoleD_dfQHokW5qgC5DyvAQPVhSku3tUqrVKQsQ3w,7091
|
|
88
88
|
truss/templates/control/control/helpers/truss_patch/requirement_name_identifier.py,sha256=CL3KEAj4B3ApMQShd7TI5umXVbazLZY5StrNlwHwWtc,1995
|
|
89
89
|
truss/templates/control/control/helpers/truss_patch/system_packages.py,sha256=IYh1CVU_kooAvtSGXKQDDWnNdOhlv7ENWagsL1wvhgw,208
|
|
90
90
|
truss/templates/custom/examples.yaml,sha256=2UcCtEdavImWmiCtj31ckBlAKVOwNMC5AwMIIznKDag,48
|
|
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=
|
|
94
|
+
truss/templates/docker_server/proxy.conf.jinja,sha256=Axily8EtznvrF7mUCgy2VFY99BYRt4BycZ0p9uWfd0s,2025
|
|
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
|
|
@@ -142,7 +142,7 @@ truss/tests/test_truss_handle.py,sha256=-xz9VXkecXDTslmQZ-dmUmQLnvD0uumRqHS2uvGl
|
|
|
142
142
|
truss/tests/test_util.py,sha256=hs1bNMkXKEdoPRx4Nw-NAEdoibR92OubZuADGmbiYsQ,1344
|
|
143
143
|
truss/tests/cli/test_cli.py,sha256=yfbVS5u1hnAmmA8mJ539vj3lhH-JVGUvC4Q_Mbort44,787
|
|
144
144
|
truss/tests/cli/train/test_cache_view.py,sha256=aVRCh3atRpFbJqyYgq7N-vAW0DiKMftQ7ajUqO2ClOg,22606
|
|
145
|
-
truss/tests/cli/train/test_deploy_checkpoints.py,sha256=
|
|
145
|
+
truss/tests/cli/train/test_deploy_checkpoints.py,sha256=QLgWmhvx3qAWPFSUkL1hKpxDvkYivT5kXEYDC1x9gc8,10145
|
|
146
146
|
truss/tests/cli/train/test_train_cli_core.py,sha256=vzYfxKdwoa3NaFMrVZbSg5qOoLXivMvZXN1ClQirGTQ,16148
|
|
147
147
|
truss/tests/cli/train/test_train_init.py,sha256=SRAZvvD5-PWYlpHHek2MftYTA4I3ZHi7gniHl2fYV98,17464
|
|
148
148
|
truss/tests/cli/train/resources/test_deploy_from_checkpoint_config.yml,sha256=GF7r9l0KaeXiUYCPSBpeMPd2QG6PeWWyI12NdbqLOgc,1930
|
|
@@ -164,9 +164,10 @@ truss/tests/remote/baseten/test_auth.py,sha256=ttu4bDnmwGfo3oiNut4HVGnh-QnjAefwZ
|
|
|
164
164
|
truss/tests/remote/baseten/test_core.py,sha256=6NzJTDmoSUv6Muy1LFEYIUg10-cqw-hbLyeTSWcdNjY,26117
|
|
165
165
|
truss/tests/remote/baseten/test_remote.py,sha256=y1qSPL1t7dBeYI3xMFn436fttG7wkYdAoENTz7qKObg,23634
|
|
166
166
|
truss/tests/remote/baseten/test_service.py,sha256=ufZbtQlBNIzFCxRt_iE-APLpWbVw_3ViUpSh6H9W5nU,1945
|
|
167
|
-
truss/tests/templates/control/control/
|
|
168
|
-
truss/tests/templates/control/control/
|
|
169
|
-
truss/tests/templates/control/control/
|
|
167
|
+
truss/tests/templates/control/control/conftest.py,sha256=euDFh0AhcHP-vAmTzi1Qj3lymnplDTgvtbt4Ez_lfpw,654
|
|
168
|
+
truss/tests/templates/control/control/test_endpoints.py,sha256=HIlRYOicsdHD8r_V5gHpZWybDC26uwXJfbvCohdE3HI,3751
|
|
169
|
+
truss/tests/templates/control/control/test_server.py,sha256=0D0OMwZ-9jZRxxHoiQYij0RBMenuA9o29LlwNzd04Vk,9149
|
|
170
|
+
truss/tests/templates/control/control/test_server_integration.py,sha256=kvhgN1OGF5SZ1JFeg6qwbcrTy-Vr7B2JSP2z507ahxo,11925
|
|
170
171
|
truss/tests/templates/control/control/helpers/test_context_managers.py,sha256=3LoonRaKu_UvhaWs1eNmEQCZq-iJ3aIjI0Mn4amC8Bw,283
|
|
171
172
|
truss/tests/templates/control/control/helpers/test_model_container_patch_applier.py,sha256=jhPgExGFF42iuWPM9ry93dnpF765d-CGTCIhbswK0hk,5730
|
|
172
173
|
truss/tests/templates/control/control/helpers/test_requirement_name_identifier.py,sha256=kPYrAb97BtN8Wm0Hofw7iJ412Tew2xHgiteKtXVoC5A,2980
|
|
@@ -334,6 +335,7 @@ truss/truss_handle/patch/local_truss_patch_applier.py,sha256=fOHWKt3teYnbqeRsF63
|
|
|
334
335
|
truss/truss_handle/patch/signature.py,sha256=8eas8gy6Japd1hrgdmtHmKTTxQmWsbmgKRQQGL2PVuA,858
|
|
335
336
|
truss/truss_handle/patch/truss_dir_patch_applier.py,sha256=uhhHvKYHn_dpfz0xp4jwO9_qAej5sO3f8of_h-21PP4,3666
|
|
336
337
|
truss/util/.truss_ignore,sha256=jpQA9ou-r_JEIcEHsUqGLHhir_m3d4IPGNyzKXtS-2g,3131
|
|
338
|
+
truss/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
337
339
|
truss/util/docker.py,sha256=6PD7kMBBrOjsdvgkuSv7JMgZbe3NoJIeGasljMm2SwA,3934
|
|
338
340
|
truss/util/download.py,sha256=1lfBwzyaNLEp7SAVrBd9BX5inZpkCVp8sBnS9RNoiJA,2521
|
|
339
341
|
truss/util/env_vars.py,sha256=7Bv686eER71Barrs6fNamk_TrTJGmu9yV2TxaVmupn0,1232
|
|
@@ -363,13 +365,13 @@ truss_chains/remote_chainlet/model_skeleton.py,sha256=8ZReLOO2MLcdg7bNZ61C-6j-e6
|
|
|
363
365
|
truss_chains/remote_chainlet/stub.py,sha256=Y2gDUzMY9WRaQNHIz-o4dfLUfFyYV9dUhIRQcfgrY8g,17209
|
|
364
366
|
truss_chains/remote_chainlet/utils.py,sha256=Zn3GZRvK8f65WUa-qa-8uPFZ2pD7ukRFxbLOvT-BL0Q,24063
|
|
365
367
|
truss_train/__init__.py,sha256=A3MzRPMInZfmzLvPpZI7gdKgshAVCw6bwhU-6JYU2zs,939
|
|
366
|
-
truss_train/definitions.py,sha256=
|
|
368
|
+
truss_train/definitions.py,sha256=wvciE-Ru9ZmwFdcJcGIgLfDCB7qy8GA8I9Q1hvEQ2ks,8167
|
|
367
369
|
truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,3074
|
|
368
370
|
truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
|
|
369
371
|
truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
|
|
370
372
|
truss_train/restore_from_checkpoint.py,sha256=8hdPm-WSgkt74HDPjvCjZMBpvA9MwtoYsxVjOoa7BaM,1176
|
|
371
|
-
truss-0.11.
|
|
372
|
-
truss-0.11.
|
|
373
|
-
truss-0.11.
|
|
374
|
-
truss-0.11.
|
|
375
|
-
truss-0.11.
|
|
373
|
+
truss-0.11.9.dist-info/METADATA,sha256=-YyTBzzwAtZbD9lgjTucEe3m2cHJbA3gwKCBDPgbsr8,6677
|
|
374
|
+
truss-0.11.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
375
|
+
truss-0.11.9.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
|
|
376
|
+
truss-0.11.9.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
|
|
377
|
+
truss-0.11.9.dist-info/RECORD,,
|
truss_train/definitions.py
CHANGED
|
@@ -244,6 +244,5 @@ class DeployCheckpointsRuntime(custom_types.SafeModelNoExtra):
|
|
|
244
244
|
class DeployCheckpointsConfig(custom_types.SafeModelNoExtra):
|
|
245
245
|
checkpoint_details: Optional[CheckpointList] = None
|
|
246
246
|
model_name: Optional[str] = None
|
|
247
|
-
deployment_name: Optional[str] = None
|
|
248
247
|
runtime: Optional[DeployCheckpointsRuntime] = None
|
|
249
248
|
compute: Optional[Compute] = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|