ins-pricing 0.1.9__py3-none-any.whl → 0.1.11__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.
@@ -584,14 +584,14 @@ def train_from_config(args: argparse.Namespace) -> None:
584
584
  trainer = model.trainers[key]
585
585
  trainer_uses_ddp = bool(
586
586
  getattr(trainer, "enable_distributed_optuna", False))
587
- should_run = True
588
587
  if dist_active and not trainer_uses_ddp:
589
- should_run = dist_rank == 0
590
- if not should_run:
588
+ if dist_rank != 0:
591
589
  print(
592
590
  f"[Rank {dist_rank}] Skip {model_name}/{key} because trainer is not DDP-enabled."
593
591
  )
594
- _ddp_barrier(f"skip_non_ddp_{model_name}_{key}")
592
+ _ddp_barrier(f"start_non_ddp_{model_name}_{key}")
593
+ if dist_rank != 0:
594
+ _ddp_barrier(f"finish_non_ddp_{model_name}_{key}")
595
595
  continue
596
596
 
597
597
  print(
ins_pricing/setup.py CHANGED
@@ -14,7 +14,7 @@ def _discover_packages() -> list[str]:
14
14
 
15
15
  setup(
16
16
  name="Ins-Pricing",
17
- version="0.1.9",
17
+ version="0.1.11",
18
18
  description="Reusable modelling, pricing, governance, and reporting utilities.",
19
19
  author="meishi125478",
20
20
  license="Proprietary",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ins_pricing
3
- Version: 0.1.9
3
+ Version: 0.1.11
4
4
  Summary: Reusable modelling, pricing, governance, and reporting utilities.
5
5
  Author: meishi125478
6
6
  License: Proprietary
@@ -1,6 +1,6 @@
1
1
  ins_pricing/README.md,sha256=vufPPg719SZzrtcplnIN5BJvBsXKzIgxCUeCrWUzobM,2495
2
2
  ins_pricing/__init__.py,sha256=hhZymgqtvilNC4WrZFXuT3-o0INSoVuRR-HA5EqyGAY,3085
3
- ins_pricing/setup.py,sha256=q5H6Ukbhgnu5NphpC0g3QtG4_8rCTvlGVkFH_KNqhr0,2034
3
+ ins_pricing/setup.py,sha256=pdbJAaaaiWGa6Jp3bad-0Q-5rEAHdBpaTAv2CCXSYOQ,2035
4
4
  ins_pricing/governance/README.md,sha256=XnXLS5RPzWhEiicJ3WtGmpN935jppHhPftA9Lo2DPnQ,511
5
5
  ins_pricing/governance/__init__.py,sha256=d8tiDhOvHvAvgSohY1xv0vuEeHj8Gl1apQtw7ryEKM0,517
6
6
  ins_pricing/governance/approval.py,sha256=cjJQjU1ziR-d-9wVSXyMyX6S5zijJqDWERZNxjqGAUE,2879
@@ -9,7 +9,7 @@ ins_pricing/governance/registry.py,sha256=2uxQL6qMGY5IYWJti9MpaV_auvL--piJaasFrX
9
9
  ins_pricing/governance/release.py,sha256=ltyFIdeKbwj9fnEDxcQCURaQ5Zc_j0mqXFPNunmX_NQ,4743
10
10
  ins_pricing/modelling/BayesOpt.py,sha256=i2tB3c6EeucjKAsHyicGDNU7DVVCTihg-TgSoM1y18E,3332
11
11
  ins_pricing/modelling/BayesOpt_USAGE.md,sha256=x_CXot3RvGRYtt2xU2lrEfmtTbh2KGTryC3BJEZaoBw,39333
12
- ins_pricing/modelling/BayesOpt_entry.py,sha256=WdVaxeNfQTEplzx9r0dhaOfJCOEADcRipFNuN3yLgXI,24301
12
+ ins_pricing/modelling/BayesOpt_entry.py,sha256=H1eM1prU6U_FW1hdy2EmQ2k62hqCozy_vzRoV3HSVBw,24330
13
13
  ins_pricing/modelling/BayesOpt_incremental.py,sha256=JKaRgsGY49OFE6cfQa5aAf8GzC2_bT7m8P99-S9E9Ss,30437
14
14
  ins_pricing/modelling/Explain_Run.py,sha256=y-OKxmT475iRtDBukXh7jwiBiRmjh7ywCVhRFKk4EZw,962
15
15
  ins_pricing/modelling/Explain_entry.py,sha256=e7EviU2fIWwyBsmoTq2ZM_rDKjZypQnFH68Q_rZVz1U,21330
@@ -163,7 +163,7 @@ user_packages legacy/Try/ModelBayesOptSearch.py,sha256=Co--dkbKxqpl-2tP9zEYmcEos
163
163
  user_packages legacy/Try/ResNetBayesOptSearch.py,sha256=mp38lBs-TE3lAc8t8o4He5y1iwGIgrlPerurh_xRmqs,10942
164
164
  user_packages legacy/Try/XgbBayesOptSearch.py,sha256=pWjlyT5FSK4zNnng0ZrpTIF5o-wBwuavxFA0LE4B4oE,5534
165
165
  user_packages legacy/Try/xgbbayesopt.py,sha256=Vow-wrxcwozbTDPKJcl3ZzYgShd-4oks5Kzs74kXUvA,22754
166
- ins_pricing-0.1.9.dist-info/METADATA,sha256=M6t36S64nSeohvrp_YyShibCvoARz9-SGRQI2mMUK84,3650
167
- ins_pricing-0.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
168
- ins_pricing-0.1.9.dist-info/top_level.txt,sha256=CUUE4W0DghRtQubDfBbIr2Kcvhdu-rOXxDD8Atjm_-c,66
169
- ins_pricing-0.1.9.dist-info/RECORD,,
166
+ ins_pricing-0.1.11.dist-info/METADATA,sha256=BHjF3Dq2HMSYMcbat96OI4WIkBqCfUZnfe-zrw2XXKg,3651
167
+ ins_pricing-0.1.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
168
+ ins_pricing-0.1.11.dist-info/top_level.txt,sha256=CUUE4W0DghRtQubDfBbIr2Kcvhdu-rOXxDD8Atjm_-c,66
169
+ ins_pricing-0.1.11.dist-info/RECORD,,