Unverified Commit a4de24f6 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Make `AutoFormer` work with previous torch version (#24357)



fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 7761b189
...@@ -23,6 +23,7 @@ from typing import List, Optional, Tuple, Union ...@@ -23,6 +23,7 @@ from typing import List, Optional, Tuple, Union
import numpy as np import numpy as np
import torch import torch
import torch.utils.checkpoint
from torch import nn from torch import nn
from ...activations import ACT2FN from ...activations import ACT2FN
......
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