truss 0.11.12rc504__py3-none-any.whl → 0.11.12rc505__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.

@@ -541,12 +541,20 @@ class BaseImage(custom_types.ConfigModel):
541
541
 
542
542
 
543
543
  class DockerServer(custom_types.ConfigModel):
544
- start_command: str
544
+ start_command: Optional[str] = None
545
545
  server_port: int
546
546
  predict_endpoint: str
547
547
  readiness_endpoint: str
548
548
  liveness_endpoint: str
549
- as_is: Optional[bool]
549
+ as_is: Optional[bool] = None
550
+
551
+ @pydantic.model_validator(mode="after")
552
+ def _validate_start_command(self) -> "DockerServer":
553
+ if not self.as_is and self.start_command is None:
554
+ raise ValueError(
555
+ "start_command is required when as_is is not true"
556
+ )
557
+ return self
550
558
 
551
559
 
552
560
  class TrainingArtifactReference(custom_types.ConfigModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truss
3
- Version: 0.11.12rc504
3
+ Version: 0.11.12rc505
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
@@ -6,7 +6,7 @@ truss/base/constants.py,sha256=sExArdnuGg83z83XMgaQ4b8SS3V_j_bJEpOATDGJzpE,3600
6
6
  truss/base/custom_types.py,sha256=FUSIT2lPOQb6gfg6IzT63YBV8r8L6NIZ0D74Fp3e_jQ,2835
7
7
  truss/base/errors.py,sha256=zDVLEvseTChdPP0oNhBBQCtQUtZJUaof5zeWMIjqz6o,691
8
8
  truss/base/trt_llm_config.py,sha256=81ZZxRQF3o29HLCX6nlXtPwALejcdns6c4mbrExwASk,32958
9
- truss/base/truss_config.py,sha256=piFMFcLhtxFHG2r5VGbYNo-WpLa5BO4GprMtNzlHKM4,28081
9
+ truss/base/truss_config.py,sha256=uaorADYkZN5SvFTLHVe2lnWMhuW7-MUl-SeLb0oWmiY,28396
10
10
  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
@@ -370,8 +370,8 @@ truss_train/deployment.py,sha256=lWWANSuzBWu2M4oK4qD7n-oVR1JKdmw2Pn5BJQHg-Ck,307
370
370
  truss_train/loader.py,sha256=0o66EjBaHc2YY4syxxHVR4ordJWs13lNXnKjKq2wq0U,1630
371
371
  truss_train/public_api.py,sha256=9N_NstiUlmBuLUwH_fNG_1x7OhGCytZLNvqKXBlStrM,1220
372
372
  truss_train/restore_from_checkpoint.py,sha256=8hdPm-WSgkt74HDPjvCjZMBpvA9MwtoYsxVjOoa7BaM,1176
373
- truss-0.11.12rc504.dist-info/METADATA,sha256=RrWDxHwkigL3151EDGojguZ6FvRZkjEZn5232uB2GNg,6683
374
- truss-0.11.12rc504.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
375
- truss-0.11.12rc504.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
376
- truss-0.11.12rc504.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
377
- truss-0.11.12rc504.dist-info/RECORD,,
373
+ truss-0.11.12rc505.dist-info/METADATA,sha256=iq0mxFMEvnAZBp29TBf8GuA-t6rwDD-bMnEXv3Mw44o,6683
374
+ truss-0.11.12rc505.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
375
+ truss-0.11.12rc505.dist-info/entry_points.txt,sha256=-MwKfHHQHQ6j0HqIgvxrz3CehCmczDLTD-OsRHnjjuU,130
376
+ truss-0.11.12rc505.dist-info/licenses/LICENSE,sha256=FTqGzu85i-uw1Gi8E_o0oD60bH9yQ_XIGtZbA1QUYiw,1064
377
+ truss-0.11.12rc505.dist-info/RECORD,,