mirror of https://github.com/hpcaitech/ColossalAI
[fp8] update torch.compile for linear_fp8 to >= 2.4.0 (#6004)
parent
597b206001
commit
88fa096d78
|
@ -7,7 +7,7 @@ import torch.nn.functional as F
|
|||
from packaging.version import Version
|
||||
from torch.distributed import ReduceOp
|
||||
|
||||
SUPPORT_TORCH_COMPILE = Version(torch.__version__) >= Version("2.3.0")
|
||||
SUPPORT_TORCH_COMPILE = Version(torch.__version__) >= Version("2.4.0")
|
||||
|
||||
|
||||
class Handle:
|
||||
|
|
Loading…
Reference in New Issue