diff --git a/src/app/linear_method/async_sgd.h b/src/app/linear_method/async_sgd.h index 668253e..a1e95c8 100644 --- a/src/app/linear_method/async_sgd.h +++ b/src/app/linear_method/async_sgd.h @@ -228,6 +228,7 @@ class AsyncSGDWorker : public ISGDCompNode, public LinearMethod { MessagePtr msg(new Message(kServerGroup)); msg->setKey(key); msg->task.set_key_channel(id); + msg->addFilter(FilterConfig::KEY_CACHING) msg->fin_handle = [this, id]() { computeGradient(id); }; model_.key(id) = key; model_.pull(msg);