-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
集群是否可以进行predict #599
Comments
predict 过程是一个高度可并行的过程,因此你可以将predict封装为一个mpi任务、一个spark任务,甚至一个特殊的hadoop任务, 例如 一个mpi封装:
原理上,就像实现一个多机word count 一样的逻辑。 目前,paddle官方未维护多机predict平台。 |
@backyes 集群训练时候需要将train文件分割,mpi文件粒度并行,请问predict的执行过程是否需要将test文件也进行分割呢 |
@333caowei |
@333caowei hi, caowei~ 我提供一下我的方法哈,正如backyes所说,prediction的过程应该是可高度并行的,所以大数据量时,我直接在hadoop集群上进行prediction,只需要将相应的依赖(包括库和predict及相应conf)上传即可,非常方便~ |
* inference_en * Review
Develop ipu merge dev
optimize fast_index_map_helpers C++ compile
* Update README_cn.md * Update README_cn.md * Update README.md * Update README_cn.md * Update README_cn.md * Update README_cn.md * Create config_doc.md * Create apps.md * Update README_cn.md
* fix prune doc * fix prune demo batchsize * fix lr (PaddlePaddle#593) * fix lr schedule in prune demo (PaddlePaddle#595) * fix prune demo batchsize * fix lr shcedule in prune demo ; Co-authored-by: wanghaoshuang <[email protected]> * remove softmax from demo/models (PaddlePaddle#596) * fix prune demo batchsize * fix lr shcedule in prune demo ; * remove softmax from demo/models Co-authored-by: wanghaoshuang <[email protected]> * fix prune demo log Co-authored-by: wanghaoshuang <[email protected]>
集群版demo中只有任务提交的例子,单机版的demo提供了predict.sh的demo,但在数据量很大的情况下单机版执行predict.sh会很慢,不知道mpi版本是否可以执行类似demo中的predict.sh的操作呢
The text was updated successfully, but these errors were encountered: