-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[PSLIB] Add Metrics Module, Support User-defined Add Metric #38230
[PSLIB] Add Metrics Module, Support User-defined Add Metric #38230
Conversation
…into 1.8_add_metrics_module
double _bucket_error = 0; | ||
std::unordered_set<uint64_t> _uid_keys; | ||
|
||
// std::vector<std::shared_ptr<memory::Allocation>> _d_positive; |
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.
could remove these lines.
// std::vector<std::shared_ptr<memory::Allocation>> _d_negative; | ||
// std::vector<std::shared_ptr<memory::Allocation>> _d_abserr; | ||
// std::vector<std::shared_ptr<memory::Allocation>> _d_sqrerr; | ||
// std::vector<std::shared_ptr<memory::Allocation>> _d_pred; |
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.
could remove these lines.
int _table_size; | ||
std::vector<double> _table[2]; | ||
// std::unordered_map<uint64_t, | ||
// std::map<uint32_t, std::pair<uint64_t, uint64_t>>> |
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.
could remove these lines.
// double total_time = 0.0; | ||
// double compute_time = 0.0; | ||
// double allreduce_time = 0.0; | ||
// double reset_time = 0.0; |
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.
could remove useless lines
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.
you'd better check all the files with useless code.
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.
done
…into 1.8_add_metrics_module
…ddle#38789) * [PSLIB] Add Metrics Module, Support User-defined Add Metric * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI Coverage * modify role_maker * update CMakeLists.txt
PR types
New features
PR changes
Others
Describe