File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ category-encoders >=2.6.0, <2.7.0
33numpy >= 1.17.2
44pandas >= 1.1.5
55scikit-learn >= 1.0.0
6- pytorch-lightning >= 1.8.0 , < 1.9 .0
6+ pytorch-lightning >= 1.8.0 , < 2.0 .0
77omegaconf >= 2.1.0
88torchmetrics >= 0.10.0 , < 0.12.0
99tensorboard > 2.2.0 , != 2.5.0
Original file line number Diff line number Diff line change 1717import pytorch_lightning as pl
1818import torch
1919import torchmetrics
20- from lightning_lite .utilities .seed import seed_everything
2120from omegaconf import OmegaConf
2221from omegaconf .dictconfig import DictConfig
22+ from pytorch_lightning import seed_everything
2323from pytorch_lightning .callbacks import RichProgressBar
2424from pytorch_lightning .callbacks .gradient_accumulation_scheduler import GradientAccumulationScheduler
2525from pytorch_lightning .utilities .model_summary import summarize
Original file line number Diff line number Diff line change 88import pandas as pd
99import torch
1010import torch .nn as nn
11- from lightning_lite .utilities .cloud_io import get_filesystem
1211from sklearn .cluster import KMeans
1312from sklearn .preprocessing import LabelEncoder
1413
14+ try : # for 1.8
15+ from pytorch_lightning .utilities .cloud_io import get_filesystem
16+ except ImportError : # for 1.9
17+ from pytorch_lightning .core .saving import get_filesystem
18+
1519import pytorch_tabular as root_module
1620
1721_PATH = Union [str , Path ]
You can’t perform that action at this time.
0 commit comments