torchx-nightly 2025.10.2__py3-none-any.whl → 2025.10.4__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/cli/cmd_run.py CHANGED
@@ -379,12 +379,16 @@ class CmdRun(SubCommand):
379
379
  if not args.stdin:
380
380
  return None
381
381
  if self._stdin_data_json is None:
382
- self._stdin_data_json = self.torchx_json_from_stdin()
382
+ self._stdin_data_json = self.torchx_json_from_stdin(args)
383
383
  return self._stdin_data_json
384
384
 
385
- def torchx_json_from_stdin(self) -> Dict[str, Any]:
385
+ def torchx_json_from_stdin(
386
+ self, args: Optional[argparse.Namespace] = None
387
+ ) -> Dict[str, Any]:
386
388
  try:
387
389
  stdin_data_json = json.load(sys.stdin)
390
+ if args and args.dryrun:
391
+ stdin_data_json["dryrun"] = True
388
392
  if not isinstance(stdin_data_json, dict):
389
393
  logger.error(
390
394
  "Invalid JSON input for `torchx run` command. Expected a dictionary."
@@ -413,6 +417,8 @@ class CmdRun(SubCommand):
413
417
  continue
414
418
  if action.dest == "help": # Skip help
415
419
  continue
420
+ if action.dest == "dryrun": # Skip dryrun
421
+ continue
416
422
 
417
423
  current_value = getattr(args, action.dest, None)
418
424
  default_value = action.default
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: torchx-nightly
3
- Version: 2025.10.2
3
+ Version: 2025.10.4
4
4
  Summary: TorchX SDK and Components
5
5
  Home-page: https://github.com/meta-pytorch/torchx
6
6
  Author: TorchX Devs
@@ -16,7 +16,7 @@ torchx/cli/cmd_configure.py,sha256=1kTv0qbsbV44So74plAySwWu56pQrqjhfW_kbfdC3Rw,1
16
16
  torchx/cli/cmd_describe.py,sha256=E5disbHoKTsqYKp2s3DaFW9GDLCCOgdOc3pQoHKoyCs,1283
17
17
  torchx/cli/cmd_list.py,sha256=alkS9aIaDI8lX3W8uj8Vtr3IU3G2VeCuokKSd3zOFug,1409
18
18
  torchx/cli/cmd_log.py,sha256=v-EZYUDOcG95rEgTnrsmPJMUyxM9Mk8YFAJtUxtgViE,5475
19
- torchx/cli/cmd_run.py,sha256=Rhs7kQc7qI3lY3479D3EKR2gca29jsKbZbJHW8SI_DA,18581
19
+ torchx/cli/cmd_run.py,sha256=XDsPQ5xf9z0Q-QWv808jO_L_HcYH89NN3gq8mFfF2Mo,18808
20
20
  torchx/cli/cmd_runopts.py,sha256=NWZiP8XpQjfTDJgays2c6MgL_8wxFoeDge6NstaZdKk,1302
21
21
  torchx/cli/cmd_status.py,sha256=22IAEmKs0qkG6kJi83u9dRX2Q-ntT7yehVx7FxtY-vQ,2114
22
22
  torchx/cli/cmd_tracker.py,sha256=9gmOmYi-89qQRGQfSrXCTto7ve54_JKFqs_wa7oRUA8,5223
@@ -102,9 +102,9 @@ torchx/workspace/__init__.py,sha256=cZsKVvUWwDYcGhe6SCXQGBQfbk_yTnKEImOkI6xmu30,
102
102
  torchx/workspace/api.py,sha256=MGBQauBoH7wZdvXHXOx7JqefCF41rK0AHWF68IUwr4k,11276
103
103
  torchx/workspace/dir_workspace.py,sha256=npNW_IjUZm_yS5r-8hrRkH46ndDd9a_eApT64m1S1T4,2268
104
104
  torchx/workspace/docker_workspace.py,sha256=PFu2KQNVC-0p2aKJ-W_BKA9ZOmXdCY2ABEkCExp3udQ,10269
105
- torchx_nightly-2025.10.2.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
106
- torchx_nightly-2025.10.2.dist-info/METADATA,sha256=X5eR-tfdt5wWYtmM_S-i7NgJm49DxolTkcP4dbs7KfY,5068
107
- torchx_nightly-2025.10.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
108
- torchx_nightly-2025.10.2.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
109
- torchx_nightly-2025.10.2.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
110
- torchx_nightly-2025.10.2.dist-info/RECORD,,
105
+ torchx_nightly-2025.10.4.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
106
+ torchx_nightly-2025.10.4.dist-info/METADATA,sha256=f4QzRoz2tbl0a1wrEnmE1QsVP86yBW8sR_qp77i_jow,5068
107
+ torchx_nightly-2025.10.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
108
+ torchx_nightly-2025.10.4.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
109
+ torchx_nightly-2025.10.4.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
110
+ torchx_nightly-2025.10.4.dist-info/RECORD,,