Skip to content

Commit

Permalink
Update pytorch_lightning import to reflect api change for new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlko committed Apr 1, 2022
1 parent 9572243 commit 51b4946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npt/loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import torch
import torch.nn as nn
from pytorch_lightning.metrics.functional import auroc as lightning_auroc
from torchmetrics.functional import auroc as lightning_auroc

from npt.utils.encode_utils import torch_cast_to_dtype

Expand Down

0 comments on commit 51b4946

Please sign in to comment.