torchx-nightly 2024.4.19__py3-none-any.whl → 2024.4.20__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 torchx-nightly might be problematic. Click here for more details.
- torchx/specs/api.py +5 -1
- {torchx_nightly-2024.4.19.dist-info → torchx_nightly-2024.4.20.dist-info}/METADATA +1 -1
- {torchx_nightly-2024.4.19.dist-info → torchx_nightly-2024.4.20.dist-info}/RECORD +7 -7
- {torchx_nightly-2024.4.19.dist-info → torchx_nightly-2024.4.20.dist-info}/LICENSE +0 -0
- {torchx_nightly-2024.4.19.dist-info → torchx_nightly-2024.4.20.dist-info}/WHEEL +0 -0
- {torchx_nightly-2024.4.19.dist-info → torchx_nightly-2024.4.20.dist-info}/entry_points.txt +0 -0
- {torchx_nightly-2024.4.19.dist-info → torchx_nightly-2024.4.20.dist-info}/top_level.txt +0 -0
torchx/specs/api.py
CHANGED
|
@@ -13,6 +13,7 @@ import re
|
|
|
13
13
|
from dataclasses import asdict, dataclass, field
|
|
14
14
|
from datetime import datetime
|
|
15
15
|
from enum import Enum
|
|
16
|
+
from json import JSONDecodeError
|
|
16
17
|
from string import Template
|
|
17
18
|
from typing import (
|
|
18
19
|
Any,
|
|
@@ -554,7 +555,10 @@ class AppStatus:
|
|
|
554
555
|
|
|
555
556
|
def _format_replica_status(self, replica_status: ReplicaStatus) -> str:
|
|
556
557
|
if replica_status.structured_error_msg != NONE:
|
|
557
|
-
|
|
558
|
+
try:
|
|
559
|
+
error_data = json.loads(replica_status.structured_error_msg)
|
|
560
|
+
except JSONDecodeError:
|
|
561
|
+
return replica_status.structured_error_msg
|
|
558
562
|
error_message = self._format_error_message(
|
|
559
563
|
msg=error_data["message"]["message"], header=" error_msg: "
|
|
560
564
|
)
|
|
@@ -82,7 +82,7 @@ torchx/schedulers/ray/__init__.py,sha256=fE0IHi1JJpxsNVBNzWNee2thrNXFFRhY94c80Rx
|
|
|
82
82
|
torchx/schedulers/ray/ray_common.py,sha256=pyNYFvTKVwdjDAeCBNbPwAWwVNmlLOJWExfn90XY8u8,610
|
|
83
83
|
torchx/schedulers/ray/ray_driver.py,sha256=Wl-1jldL8veVKzmYDEeR2va3JSlAjZpFE1h8HWE9YVE,12286
|
|
84
84
|
torchx/specs/__init__.py,sha256=vF-WUu_4NZP30lCtNYg0YVenY6wRQ8k7K36fOxqbOKc,5477
|
|
85
|
-
torchx/specs/api.py,sha256=
|
|
85
|
+
torchx/specs/api.py,sha256=73jJOYQ-H-jX3Yvbc9hJjolavNQdF8bW9Q0oQnWzLL0,34885
|
|
86
86
|
torchx/specs/builders.py,sha256=QDcQrnCO4bdSaiP0216XbCgTsnLutO_1_FW5jDiEIWI,9939
|
|
87
87
|
torchx/specs/file_linter.py,sha256=IeiomB1BgHUlT-ZsvGxar3llY63NOupfLBrOrD_---A,11860
|
|
88
88
|
torchx/specs/finder.py,sha256=MnwxG_UC4a-3X2wQ37ANEQR6D1TvriCLyuVYBh_-wuI,16249
|
|
@@ -112,9 +112,9 @@ torchx/workspace/__init__.py,sha256=FqN8AN4VhR1C_SBY10MggQvNZmyanbbuPuE-JCjkyUY,
|
|
|
112
112
|
torchx/workspace/api.py,sha256=1heBmPgB-W5Zf9gwViM7NrqvHpZlVYeMN7jpY8Qkytc,5479
|
|
113
113
|
torchx/workspace/dir_workspace.py,sha256=npNW_IjUZm_yS5r-8hrRkH46ndDd9a_eApT64m1S1T4,2268
|
|
114
114
|
torchx/workspace/docker_workspace.py,sha256=PFu2KQNVC-0p2aKJ-W_BKA9ZOmXdCY2ABEkCExp3udQ,10269
|
|
115
|
-
torchx_nightly-2024.4.
|
|
116
|
-
torchx_nightly-2024.4.
|
|
117
|
-
torchx_nightly-2024.4.
|
|
118
|
-
torchx_nightly-2024.4.
|
|
119
|
-
torchx_nightly-2024.4.
|
|
120
|
-
torchx_nightly-2024.4.
|
|
115
|
+
torchx_nightly-2024.4.20.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
|
|
116
|
+
torchx_nightly-2024.4.20.dist-info/METADATA,sha256=vuQXFuqBtzXdy9b5bXvWhwd4yc4qP7B7G5uK5sYypj4,6053
|
|
117
|
+
torchx_nightly-2024.4.20.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
118
|
+
torchx_nightly-2024.4.20.dist-info/entry_points.txt,sha256=3JYZFlX9aWzR-Gs_qsx1zq7mlqbFz6Mi9rQUULW8caI,170
|
|
119
|
+
torchx_nightly-2024.4.20.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
|
|
120
|
+
torchx_nightly-2024.4.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|