mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-01 17:17:05 +00:00
[fp8] update torch.compile for linear_fp8 to >= 2.4.0 (#6004)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user