Skip to content

Commit

Permalink
fix windows ci pylib import error
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoujiyi committed Jul 15, 2022
1 parent 951c284 commit afe19ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/paddle/distributed/ps/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from paddle.distributed.fleet.proto import the_one_ps_pb2
from google.protobuf import text_format
from paddle.distributed.ps.utils.public import is_distributed_env
import paddle.distributed.fleet as fleet
import time
import abc
import os
Expand Down Expand Up @@ -95,7 +96,7 @@ def select(self):
class FLClientBase(abc.ABC):

def __init__(self):
import paddle.distributed.fleet as fleet
pass

def set_basic_config(self, role_maker, config, metrics):
self.role_maker = role_maker
Expand Down

0 comments on commit afe19ca

Please sign in to comment.