-
Notifications
You must be signed in to change notification settings - Fork 443
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
Add 'large_attr' data structure in op definition for large chunk (data of pandas/numpy) #1303
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1303 +/- ##
==========================================
- Coverage 76.75% 73.60% -3.15%
==========================================
Files 88 88
Lines 9510 9508 -2
==========================================
- Hits 7299 6998 -301
- Misses 2211 2510 +299
Continue to review full report at Codecov.
|
@@ -1058,7 +1058,7 @@ bl::result<void> GrapeInstance::registerGraphType(const rpc::GSParams& params) { | |||
bl::result<std::shared_ptr<DispatchResult>> GrapeInstance::OnReceive( | |||
const CommandDetail& cmd) { | |||
auto r = std::make_shared<DispatchResult>(comm_spec_.worker_id()); | |||
rpc::GSParams params(cmd.params); | |||
rpc::GSParams params(cmd.params, cmd.large_attr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the cmd.large_attr
be copied? or just a reference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will double-check any possible copy both in c++ and python side.
What do these changes do?
Related issue number
links #1290