Distributed LR With Parameter Server
cd ps-lite
make -j
# Add the library file to the PATH.
# Assumue current dir is $ROOT_DIR.
export $LIBRARY_PATH=$ROOT_DIR/ps-lite/deps/lib:$LIBRARY_PATH
export $LD_LIBRARY_PATH=$ROOT_DIR/ps-lite/deps/lib:$LD_LIBRARY_PATH
export $CPATH=$ROOT_DIR/ps-lite/deps/include:$CPATH
export $PATH=$ROOT_DIR/ps-lite/deps/bin:$PATH
export $LIBRARY_PATH=$ROOT_DIR/ps-lite/build:$LIBRARY_PATH
export $LD_LIBRARY_PATH=$ROOT_DIR/ps-lite/build:$LD_LIBRARY_PATH
# Back to current dir.
cd ..
mkdir build
cd build
cmake ..
make -j
sh run_ps_local.sh
# on scheduler node
sh run_ps_dist_scheduler.sh
# on server node
sh run_ps_dist_server.sh
# on worker node
sh run_ps_dist_worker.sh
- Referring the design from xflow.
欢迎关注公众号:机器学习爱好者
或者扫码:
学习更多的机器学习源码相关内容