Skip to content

Commit

Permalink
faster network test
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Waleffe authored and Roger Waleffe committed Nov 22, 2023
1 parent 73d20b5 commit 91ec1c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cpp/src/pipeline/pipeline_gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ void RemoteLoadWorker::run() {
batch->sub_batches_ = sub_batches;
}

Timer t = new Timer(false);
t.start();
batch->remoteReceive(pipeline_->model_->pg_gloo_->pg, parent, tag);
t.stop();
std::cout<<"remote load: "<<t.getDuration()<<"\n";
// if (batch->sub_batches_.size() > 0) {
// for (int i = 0; i < batch->sub_batches_.size(); i++) {
// batch->sub_batches_[i]->node_features_ = pipeline_->dataloader_->graph_storage_->getNodeFeatures(batch->sub_batches_[i]->unique_node_indices_);
Expand Down

0 comments on commit 91ec1c8

Please sign in to comment.