lightray 0.2.2__tar.gz → 0.2.3__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lightray
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Distribute a LightningCLI hyperparameter search with Ray Tune
5
5
  License: MIT
6
6
  Author: Ethan Jacob Marx
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
16
  Requires-Dist: jsonargparse[signatures] (>=4.33.2,<5.0.0)
17
17
  Requires-Dist: lightning (<=2.4.0)
18
+ Requires-Dist: omegaconf (>=2.3.0,<3.0.0)
18
19
  Requires-Dist: pyarrow (>=17.0.0,<18.0.0)
19
20
  Requires-Dist: ray[default,tune] (>=2.8.0,<3.0.0)
20
21
  Requires-Dist: s3fs (>=2024.9.0,<2025.0.0)
@@ -23,7 +23,7 @@ from lightray import fs, utils
23
23
 
24
24
 
25
25
  def cli(args=None):
26
- parser = ArgumentParser()
26
+ parser = ArgumentParser(parser_mode="omegaconf")
27
27
  parser.add_argument("--config", action=ActionConfigFile)
28
28
  parser.add_subclass_arguments(TuneCallback, "tune_callback")
29
29
  parser.add_class_arguments(tune.TuneConfig, "tune_config")
@@ -144,7 +144,6 @@ def cli(args=None):
144
144
  run_config=cfg_init.run_config,
145
145
  )
146
146
 
147
- # othereise, instantiate a new tuner from config
148
147
  results = tuner.fit()
149
148
 
150
149
  ray.shutdown()
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "lightray"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "Distribute a LightningCLI hyperparameter search with Ray Tune"
5
5
  authors = ["Ethan Jacob Marx <ethan.marx@ligo.org>"]
6
6
  license = "MIT"
@@ -14,6 +14,7 @@ s3fs = {version = "^2024.9.0"}
14
14
  pyarrow = {version = "^17.0.0"}
15
15
  jsonargparse = {version = "^4.33.2", extras = ["signatures"]}
16
16
  wandb = "^0.18.5"
17
+ omegaconf = "^2.3.0"
17
18
 
18
19
 
19
20
  [tool.poetry.scripts]
File without changes
File without changes
File without changes
File without changes
File without changes