未验证 提交 76ea0534 编写于 作者: A Alex Hedges 提交者: GitHub

Fix missing import in replace_module.py (#2050)

* Fix missing import in replace_module.py

* Change import from torch.distributed to deepspeed.comm
上级 38a00bee
......@@ -7,6 +7,7 @@ from .replace_policy import replace_policies
from ..constants import INFERENCE_GENERIC_MODE, INFERENCE_SPECIALIZED_MODE
from ..runtime.weight_quantizer import WeightQuantization
from torch import nn
from deepspeed import comm as dist
class LinearAllreduce(nn.Module):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册