torchx-nightly 2024.6.29__py3-none-any.whl → 2024.7.5__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.

@@ -19,18 +19,19 @@ output is used for HPO optimization with Ax.
19
19
  import time
20
20
  from typing import Dict
21
21
 
22
- from pytorch_lightning.loggers.base import LightningLoggerBase
23
- from pytorch_lightning.profiler.base import BaseProfiler
22
+ from pytorch_lightning.loggers.logger import Logger
24
23
 
24
+ from pytorch_lightning.profilers.profiler import Profiler
25
25
 
26
- class SimpleLoggingProfiler(BaseProfiler):
26
+
27
+ class SimpleLoggingProfiler(Profiler):
27
28
  """
28
29
  This profiler records the duration of actions (in seconds) and reports the
29
30
  mean duration of each action to the specified logger. Reported metrics are
30
31
  in the format `duration_<event>`.
31
32
  """
32
33
 
33
- def __init__(self, logger: LightningLoggerBase) -> None:
34
+ def __init__(self, logger: Logger) -> None:
34
35
  super().__init__()
35
36
 
36
37
  self.current_actions: Dict[str, float] = {}
@@ -60,7 +60,7 @@ with open("pipeline.yaml", "rt") as f:
60
60
  # a kfp.Client.
61
61
  #
62
62
  # See the
63
- # `KFP SDK Examples <https://www.kubeflow.org/docs/components/pipelines/tutorials/sdk-examples/#examples>`_
63
+ # `KFP SDK Examples <https://www.kubeflow.org/docs/components/pipelines/legacy-v1/tutorials/sdk-examples/#examples>`_
64
64
  # for more info on launching KFP pipelines.
65
65
 
66
66
  # %%
@@ -73,7 +73,7 @@ with open("pipeline.yaml", "rt") as f:
73
73
  # a kfp.Client.
74
74
  #
75
75
  # See the
76
- # `KFP SDK Examples <https://www.kubeflow.org/docs/components/pipelines/tutorials/sdk-examples/#examples>`_
76
+ # `KFP SDK Examples <https://www.kubeflow.org/docs/components/pipelines/legacy-v1/tutorials/sdk-examples/#examples>`_
77
77
  # for more info on launching KFP pipelines.
78
78
 
79
79
  # %%
@@ -105,7 +105,7 @@ def component_from_app(
105
105
  app: The AppDef to generate a KFP container factory for.
106
106
  ui_metadata: KFP UI Metadata to output so you can have model results show
107
107
  up in the UI. See
108
- https://www.kubeflow.org/docs/components/pipelines/sdk/output-viewer/
108
+ https://www.kubeflow.org/docs/components/pipelines/legacy-v1/sdk/output-viewer/
109
109
  for more info on the format.
110
110
 
111
111
  >>> from torchx import specs
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: torchx-nightly
3
- Version: 2024.6.29
3
+ Version: 2024.7.5
4
4
  Summary: TorchX SDK and Components
5
5
  Home-page: https://github.com/pytorch/torchx
6
6
  Author: TorchX Devs
7
7
  Author-email: torchx@fb.com
8
8
  License: BSD-3
9
9
  Keywords: pytorch,machine learning
10
- Platform: UNKNOWN
11
10
  Classifier: Development Status :: 4 - Beta
12
11
  Classifier: Intended Audience :: Developers
13
12
  Classifier: Intended Audience :: Science/Research
@@ -52,7 +51,8 @@ Requires-Dist: pyre-extensions ; extra == 'dev'
52
51
  Requires-Dist: pyre-check ; extra == 'dev'
53
52
  Requires-Dist: pytest ; extra == 'dev'
54
53
  Requires-Dist: pytest-cov ; extra == 'dev'
55
- Requires-Dist: pytorch-lightning ==1.5.10 ; extra == 'dev'
54
+ Requires-Dist: pytorch-lightning ==2.3.1 ; extra == 'dev'
55
+ Requires-Dist: tensorboard ==2.14.0 ; extra == 'dev'
56
56
  Requires-Dist: sagemaker >=2.149.0 ; extra == 'dev'
57
57
  Requires-Dist: torch-model-archiver >=0.4.2 ; extra == 'dev'
58
58
  Requires-Dist: torch ==2.2.1 ; extra == 'dev'
@@ -180,5 +180,3 @@ We welcome PRs! See the [CONTRIBUTING](https://github.com/pytorch/torchx/blob/ma
180
180
  ## License
181
181
 
182
182
  TorchX is BSD licensed, as found in the [LICENSE](https://github.com/pytorch/torchx/blob/main/LICENSE) file.
183
-
184
-
@@ -44,16 +44,16 @@ torchx/examples/apps/lightning/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
44
44
  torchx/examples/apps/lightning/data.py,sha256=Sp9mv29FlCtMdMeSKOrHan_QHK-h_crCIkCXopb20kQ,6598
45
45
  torchx/examples/apps/lightning/interpret.py,sha256=Hd3kE5a6FyhxCmJBfTzb4Tlj518zhX8V0XvZfzu4nqE,5256
46
46
  torchx/examples/apps/lightning/model.py,sha256=ppj8pYkJ1Zj4kZX6JXULGgx3sYVfNIQ24OuDYXc5lYo,3947
47
- torchx/examples/apps/lightning/profiler.py,sha256=z6rvcTK6oTr1m6kr1Ymmh1HpTyTyVX7naz64FtqOYDQ,1941
47
+ torchx/examples/apps/lightning/profiler.py,sha256=SSSihnwjeUTkBoz0E3qn1b-wbkfUIowscx2ND_37zyw,1915
48
48
  torchx/examples/apps/lightning/train.py,sha256=MGSapykGv-m4nl0WyRC-yzhPWEI4bHQ5WKrniR6czQk,6099
49
49
  torchx/examples/pipelines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  torchx/examples/pipelines/kfp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
51
  torchx/examples/pipelines/kfp/advanced_pipeline.py,sha256=U5N_XmpxbuEIh-hDayjJ5Lnk2lYvmgr7oznFnsKUk5g,8431
52
- torchx/examples/pipelines/kfp/dist_pipeline.py,sha256=-XOE2gFE0vcmPCdMZeKZ7MIYj15PPtL6kYGjjIoYMkY,2193
53
- torchx/examples/pipelines/kfp/intro_pipeline.py,sha256=P6E8TJEhuxcBZXYHo6OmiFLMNeQq-Z35uwiMa9yb0yo,2766
52
+ torchx/examples/pipelines/kfp/dist_pipeline.py,sha256=xFn59P1S22o2zOJ2LhlIkhjYH3le0zp2sLPNj5idTnE,2203
53
+ torchx/examples/pipelines/kfp/intro_pipeline.py,sha256=oWdMHPLWf5nKRm0hS7psF0yUp8Tf7tfR-Sm3YuUCmWk,2776
54
54
  torchx/pipelines/__init__.py,sha256=2MbRVk5xwRjg-d2qPemeXpEhDsocMQumPQ53lsesZAI,606
55
55
  torchx/pipelines/kfp/__init__.py,sha256=8iJ8lql_fxwuk9VCYSxXnX6tPL228fB5mDZpOs-kpn4,736
56
- torchx/pipelines/kfp/adapter.py,sha256=q9fGRS3-xOYVl-tAjTNlUFLbw22r5IiCz9IP34t1rWU,8959
56
+ torchx/pipelines/kfp/adapter.py,sha256=V96Rg2ypas0ZpNNn4ojplJMmC5vcBfcuxAITaY8PV_M,8969
57
57
  torchx/pipelines/kfp/version.py,sha256=mYBxd6bm4MeR34D--xo-JLQ9wHeAl_ZQLwbItCf9tr0,539
58
58
  torchx/runner/__init__.py,sha256=x8Sz7s_tLxPgJgvWIhK4ju9BNZU61uBFywGwDY6CqJs,315
59
59
  torchx/runner/api.py,sha256=w882mjD4AbQQe23jeePBfWs0UBZ7LxAI1ryNa73iaq4,28487
@@ -113,9 +113,9 @@ torchx/workspace/__init__.py,sha256=FqN8AN4VhR1C_SBY10MggQvNZmyanbbuPuE-JCjkyUY,
113
113
  torchx/workspace/api.py,sha256=1heBmPgB-W5Zf9gwViM7NrqvHpZlVYeMN7jpY8Qkytc,5479
114
114
  torchx/workspace/dir_workspace.py,sha256=npNW_IjUZm_yS5r-8hrRkH46ndDd9a_eApT64m1S1T4,2268
115
115
  torchx/workspace/docker_workspace.py,sha256=PFu2KQNVC-0p2aKJ-W_BKA9ZOmXdCY2ABEkCExp3udQ,10269
116
- torchx_nightly-2024.6.29.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
117
- torchx_nightly-2024.6.29.dist-info/METADATA,sha256=yBYX6BF4Vj2foIc3TzWB6Tu9VQG_8Q4_4VDuLUvBZkw,6184
118
- torchx_nightly-2024.6.29.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
119
- torchx_nightly-2024.6.29.dist-info/entry_points.txt,sha256=3JYZFlX9aWzR-Gs_qsx1zq7mlqbFz6Mi9rQUULW8caI,170
120
- torchx_nightly-2024.6.29.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
121
- torchx_nightly-2024.6.29.dist-info/RECORD,,
116
+ torchx_nightly-2024.7.5.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
117
+ torchx_nightly-2024.7.5.dist-info/METADATA,sha256=wviVNIdgH3UxQ4C6wLGhvdJomqzfrGkkbIqsILkjy2g,6215
118
+ torchx_nightly-2024.7.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
119
+ torchx_nightly-2024.7.5.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
120
+ torchx_nightly-2024.7.5.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
121
+ torchx_nightly-2024.7.5.dist-info/RECORD,,
@@ -6,4 +6,3 @@ torchx_minio = torchx.test.minio.MinioFS
6
6
 
7
7
  [torchx.tracker]
8
8
  fsspec = torchx.tracker.backend.fsspec:create
9
-