Skip to content

Commit

Permalink
Update import path
Browse files Browse the repository at this point in the history
  • Loading branch information
Alnusjaponica committed Oct 12, 2023
1 parent 953e56d commit 562b3b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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

0 comments on commit 562b3b5

Please sign in to comment.