Skip to content

Commit

Permalink
Merge pull request #213 from Alnusjaponica/fix-lightning-import-path
Browse files Browse the repository at this point in the history
Update import path
  • Loading branch information
not522 authored Oct 30, 2023
2 parents 11edf27 + 02cc0dd commit 3468c8c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kubernetes/mlflow/pytorch_lightning_distributed.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os

import lightning.pytorch as pl
from lightning.pytorch import Callback
import optuna
from optuna.integration.mlflow import MLflowCallback
import pytorch_lightning as pl
from pytorch_lightning import Callback
import torch
import torch.nn as nn
import torch.nn.functional as F
Expand Down
2 changes: 1 addition & 1 deletion pytorch/pytorch_lightning_ddp.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
from typing import List
from typing import Optional

import lightning.pytorch as pl
import optuna
from optuna.integration import PyTorchLightningPruningCallback
import pytorch_lightning as pl
import torch
from torch import nn
from torch import optim
Expand Down
2 changes: 1 addition & 1 deletion pytorch/pytorch_lightning_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
from typing import List
from typing import Optional

import lightning.pytorch as pl
import optuna
from optuna.integration import PyTorchLightningPruningCallback
from packaging import version
import pytorch_lightning as pl
import torch
from torch import nn
from torch import optim
Expand Down
2 changes: 1 addition & 1 deletion pytorch/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mpi4py
plotly
pytorch-ignite
pytorch-lightning
lightning
skorch
torch
torchvision
Expand Down

0 comments on commit 3468c8c

Please sign in to comment.