Unverified Commit 2ef94ee0 authored by kumapo's avatar kumapo Committed by GitHub
Browse files

Fix: torch.utils.checkpoint import error. (#17849)

parent ef28a402
......@@ -19,6 +19,7 @@ from collections.abc import Sequence
from typing import Optional, Tuple, Union
import torch
import torch.utils.checkpoint
from torch import nn
from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss
......
......@@ -20,6 +20,7 @@ from typing import Optional, Tuple, Union
import numpy as np
import torch
import torch.utils.checkpoint
from torch import nn
from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, LayerNorm, MSELoss
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment