未验证 提交 c3cf42d0 编写于 作者: T Thunderbrook 提交者: GitHub

add table id in cache shuffle (#21585)

* general table

* add sparse table
test=develop

* no cvm
test=develop

* add no_cvm
test=develop

* add note
test=develop

* code style
test=develop

* code style
test=develop

* code style
test=develop

* code style
test=develop

* code style
test=develop

* add key of optimizer
test=develop

* solve pslib stop core
test=develop

* barrier
test=develop

* add notes
test=develop

* add table id in cache shuffle
test=develop

* table id
test=develop

* code style
test=develop
上级 f4379a91
...@@ -596,7 +596,7 @@ void FleetWrapper::CacheShuffle(int table_id, const std::string& path, ...@@ -596,7 +596,7 @@ void FleetWrapper::CacheShuffle(int table_id, const std::string& path,
const int mode, const double cache_threshold) { const int mode, const double cache_threshold) {
#ifdef PADDLE_WITH_PSLIB #ifdef PADDLE_WITH_PSLIB
auto ret = pslib_ptr_->_worker_ptr->cache_shuffle( auto ret = pslib_ptr_->_worker_ptr->cache_shuffle(
0, path, std::to_string(mode), std::to_string(cache_threshold)); table_id, path, std::to_string(mode), std::to_string(cache_threshold));
ret.wait(); ret.wait();
int32_t feasign_cnt = ret.get(); int32_t feasign_cnt = ret.get();
if (feasign_cnt == -1) { if (feasign_cnt == -1) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册