提交 c3bee06d 编写于 作者: Q qjing666

fix indentation bug and add install requirement

上级 a5a9571e
...@@ -106,7 +106,7 @@ class HPCClient(object): ...@@ -106,7 +106,7 @@ class HPCClient(object):
self.wheel)) self.wheel))
fout.write("export PATH=python/bin:$PATH\n") fout.write("export PATH=python/bin:$PATH\n")
if self.monitor_cmd != "": if self.monitor_cmd != "":
fout.write("mpirun -npernode 1 -timestamp-output -tag-output -machinefile " fout.write("mpirun -npernode 1 -timestamp-output -tag-output -machinefile "
"${{PBS_NODEFILE}} python/bin/{} > monitor.log 2> monitor.elog &\n".format(self.monitor_cmd)) "${{PBS_NODEFILE}} python/bin/{} > monitor.log 2> monitor.elog &\n".format(self.monitor_cmd))
fout.write("mpirun -npernode 1 -timestamp-output -tag-output -machinefile ${PBS_NODEFILE} python/bin/python train_program.py\n") fout.write("mpirun -npernode 1 -timestamp-output -tag-output -machinefile ${PBS_NODEFILE} python/bin/python train_program.py\n")
fout.write("if [[ $? -ne 0 ]]; then\n") fout.write("if [[ $? -ne 0 ]]; then\n")
......
...@@ -16,7 +16,7 @@ import logging ...@@ -16,7 +16,7 @@ import logging
from paddle_fl.core.scheduler.agent_master import FLWorkerAgent from paddle_fl.core.scheduler.agent_master import FLWorkerAgent
import numpy import numpy
import hmac import hmac
from .diffiehellman.diffiehellman import DiffieHellman #from .diffiehellman.diffiehellman import DiffieHellman
class FLTrainerFactory(object): class FLTrainerFactory(object):
def __init__(self): def __init__(self):
......
...@@ -12,5 +12,5 @@ ...@@ -12,5 +12,5 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
""" PaddleFL version string """ """ PaddleFL version string """
fl_version = "0.1.2" fl_version = "0.1.3"
module_proto_version = "0.1.2" module_proto_version = "0.1.3"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册