Commit f2e31ea
committed
Fix bundle/05_spleen_segmentation_lightning: upgrade pytorch-lightning pin
pytorch-lightning~=2.0.0 (2.0.9) imports mlflow at module level via
pytorch_lightning.loggers.mlflow; mlflow 3.13.0 fails to initialize
under Python 3.12, making `import pytorch_lightning` fail in the
training subprocess.
pytorch-lightning>=2.1 uses lazy mlflow imports; confirmed working
with 2.6.5: training and evaluation run to completion.
Also documents the root cause in diagnose_1_6_release.md: two-part
R7 issue (fd-limit download truncation + mlflow/pl import chain).1 parent cc79a08 commit f2e31ea
2 files changed
Lines changed: 452 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
858 | | - | |
| 858 | + | |
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| |||
0 commit comments