libinephany 0.13.5__py3-none-any.whl → 0.13.6__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.
@@ -36,6 +36,8 @@ class InitialHyperparameters(GlobalObserver):
36
36
 
37
37
  super().__init__(**kwargs)
38
38
 
39
+ force_skip = ["samples"]
40
+ skip_hparams = force_skip if skip_hparams is None else skip_hparams + force_skip
39
41
  self.skip_hparams = [] if skip_hparams is None else skip_hparams
40
42
  self.pad_with = pad_with
41
43
 
@@ -12,11 +12,7 @@
12
12
 
13
13
  try:
14
14
  # Re-export all classes from libipcode to maintain backward compatibility
15
- from libipcode.pydantic_models.configs.outer_model_config import (
16
- OuterModelConfig,
17
- SharedActorCriticConfig,
18
- SoleAgentConfig,
19
- )
15
+ from libipcode.pydantic_models.configs.outer_model_config import OuterModelConfig, SharedActorCriticConfig
20
16
  except ImportError:
21
17
  # If libipcode is not available, provide a fallback or raise a more helpful error
22
18
  raise ImportError(
@@ -28,5 +24,4 @@ except ImportError:
28
24
  __all__ = [
29
25
  "OuterModelConfig",
30
26
  "SharedActorCriticConfig",
31
- "SoleAgentConfig",
32
27
  ]
@@ -14,6 +14,7 @@ from types import ModuleType
14
14
  # ======================================================================================================================
15
15
 
16
16
  WANDB = "wandb"
17
+ LIGHTNING = "lightning"
17
18
 
18
19
  # ======================================================================================================================
19
20
  #
@@ -41,3 +42,11 @@ def try_import_wandb() -> ModuleType | None:
41
42
  """
42
43
 
43
44
  return try_to_import_module(module_name=WANDB)
45
+
46
+
47
+ def try_import_lightning() -> ModuleType | None:
48
+ """
49
+ :return: None or the imported lightning module.
50
+ """
51
+
52
+ return try_to_import_module(module_name=LIGHTNING)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libinephany
3
- Version: 0.13.5
3
+ Version: 0.13.6
4
4
  Summary: Inephany library containing code commonly used by multiple subpackages.
5
5
  Author-email: Inephany <info@inephany.com>
6
6
  License: Apache 2.0
@@ -9,7 +9,7 @@ libinephany/observations/statistic_manager.py,sha256=LLg1zSxnJr2oQQepYla3qoUuRy1
9
9
  libinephany/observations/statistic_trackers.py,sha256=flkXquMHvY6YjnQAvRElsV5OUm7Ek_PhA1_fvtX-0oQ,30124
10
10
  libinephany/observations/observers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  libinephany/observations/observers/base_observers.py,sha256=RkG5SW0b6Ooy0_oscRHxyB_YFNP7k8fxu37jBZElxIM,15418
12
- libinephany/observations/observers/global_observers.py,sha256=jkj9ZGi7LqDGkKASJ_2S-jQMwOFxBKyy0ePCKZDTH04,38537
12
+ libinephany/observations/observers/global_observers.py,sha256=-BJJaYjQSO82qskIlY_iijd3Lk1Ei1d3Hg1fzmYUPSM,38659
13
13
  libinephany/observations/observers/local_observers.py,sha256=sZmM2Oa2VUGhsnN6LhcHSRB3AF8lzVdvAmmXnfWNP70,36976
14
14
  libinephany/observations/observers/observer_containers.py,sha256=g73ScbRRVTNbGEBb-Nyk8AQwoDhKZaqTd6OYP8FIcOs,8771
15
15
  libinephany/observations/post_processors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -18,7 +18,7 @@ libinephany/pydantic_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
18
18
  libinephany/pydantic_models/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  libinephany/pydantic_models/configs/hyperparameter_configs.py,sha256=48pooGTxfg7Ol_mA770h1-x79Qgel-jxvlj5BRjcf1Q,13537
20
20
  libinephany/pydantic_models/configs/observer_config.py,sha256=v_ChzaVXC_rlZ7eDZPuCae1DdG7-PS3mPwC-OaWpGQo,1355
21
- libinephany/pydantic_models/configs/outer_model_config.py,sha256=G1iYq0sLVExTTvwtMDcQoj9ZAY5l2TL9wYSWHIaY67Y,1282
21
+ libinephany/pydantic_models/configs/outer_model_config.py,sha256=GQ0QBSC2Xht8x8X_TEMfYM2GF_x1kErLuFrA_H6Jhs0,1209
22
22
  libinephany/pydantic_models/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  libinephany/pydantic_models/schemas/agent_info.py,sha256=me5gDxvZjP9TNK588mpUvxiiJrPDqy3Z7ZHRzryAYTs,2628
24
24
  libinephany/pydantic_models/schemas/inner_task_profile.py,sha256=DBLdXeG_igZKp9t1A9bDiWPtaQ2r0rxKTGnpDpBjGlY,10344
@@ -38,7 +38,7 @@ libinephany/utils/dropout_utils.py,sha256=X43yCW7Dh1cC5sNnivgS5j1fn871K_RCvxCBTT
38
38
  libinephany/utils/enums.py,sha256=YH10mUhW4kjYS0cp4XUASok9vfPl0jv9ZhS3HpZD0Zg,2339
39
39
  libinephany/utils/error_severities.py,sha256=B9oidqOVaYOe0W6P6GwjpmuDsrkyTX30v1xdiUStCFk,1427
40
40
  libinephany/utils/exceptions.py,sha256=kgwLpHOgy3kciUz_I18xnYsWRtzdonfadUtwG2uDYk8,1823
41
- libinephany/utils/import_utils.py,sha256=m8wGHXBL-XxqH4NLFU3r4cjqmfQB-qtPWhBeGWXlvEA,1296
41
+ libinephany/utils/import_utils.py,sha256=WzC6V6UIa0nCiU2MekROwG82fWBh9RuVzichtby5EvM,1495
42
42
  libinephany/utils/optim_utils.py,sha256=-PLqsyuq4ZH3spBy_olNB3yuLwvhnLrCF0384elCmXc,8777
43
43
  libinephany/utils/random_seeds.py,sha256=eF-ErrMShu8mp9V_gXrB_iUxR-Lb-OtHypEEUQAGn2Y,1565
44
44
  libinephany/utils/samplers.py,sha256=RxNib-BpFSsx0qRoWlkfRvUGJNhM-k2uhwXCYNYnThs,11546
@@ -50,8 +50,8 @@ libinephany/utils/typing.py,sha256=rGbaPO3MaUndsWiC_wHzReD_TOLYqb43i01pKN-j7Xs,6
50
50
  libinephany/web_apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
51
  libinephany/web_apps/error_logger.py,sha256=gAQIaqerqP4ornXZwFF1cghjnd2mMZEt3aVrTuUCr34,16653
52
52
  libinephany/web_apps/web_app_utils.py,sha256=qiq_lasPipgN1RgRudPJc342kYci8O_4RqppxmIX8NY,4095
53
- libinephany-0.13.5.dist-info/licenses/LICENSE,sha256=pogfDoMBP07ehIOvWymuWIar8pg2YLUhqOHsJQU3wdc,9250
54
- libinephany-0.13.5.dist-info/METADATA,sha256=yn_ZBP5TyIRTzfFH3onVhGHnNZLjYoYkck0Ts5i2Djo,8354
55
- libinephany-0.13.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
56
- libinephany-0.13.5.dist-info/top_level.txt,sha256=bYAOXQdJgIoLkO2Ui0kxe7pSYegS_e38u0dMscd7COQ,12
57
- libinephany-0.13.5.dist-info/RECORD,,
53
+ libinephany-0.13.6.dist-info/licenses/LICENSE,sha256=pogfDoMBP07ehIOvWymuWIar8pg2YLUhqOHsJQU3wdc,9250
54
+ libinephany-0.13.6.dist-info/METADATA,sha256=wYUfUWjCnUSMNFqlMQlxqjiGBZ4e3PKV-8OUitF59GY,8354
55
+ libinephany-0.13.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
56
+ libinephany-0.13.6.dist-info/top_level.txt,sha256=bYAOXQdJgIoLkO2Ui0kxe7pSYegS_e38u0dMscd7COQ,12
57
+ libinephany-0.13.6.dist-info/RECORD,,