Skip to content
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

GH-16026: remove custom_metric_func and nparallelism from schema. #16027

Closed
wants to merge 2 commits into from

Conversation

wendycwong
Copy link
Contributor

Issue resolved: #16026

Removed custom_metric_func from schema: not supported.
Removed nparallelism from schema: set by deployment environment.

@wendycwong wendycwong changed the base branch from master to rel-3.44.0 January 22, 2024 20:51
@wendycwong wendycwong changed the base branch from rel-3.44.0 to master January 22, 2024 20:52
…tom_metric_func is not supported and nparallelism is set depending on deployment environment.
@wendycwong wendycwong force-pushed the wendy_gh_16026_rm_custom_func_metric branch from be55e9d to 85a7ee5 Compare January 22, 2024 20:53
@wendycwong wendycwong changed the base branch from master to rel-3.44.0 January 22, 2024 20:54
@@ -84,7 +84,7 @@ public static class ANOVAGLMParameters extends Model.Parameters {
public int _nfolds = 0; // disable cross-validation
public Key<Frame> _plug_values = null;
public boolean _save_transformed_framekeys = false; // for debugging, save the transformed predictors/interaction
public int _nparallelism = 4;
public int _nparallelism = H2O.NUMCPUS;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not H2O.ARGS.nthreads?

I'm not suggesting that the nthreads would be better but I know you can specify nthreads in h2o.init(...) so I am curious when we should use the NUMCPUS and when the nthreads. NUMCPUS can be set by setting sys.ai.h2o.activeProcessorCount property which seems harder than setting nthreads.

If we don't use nthreads for parallelism, does it make sense to have it exposed in the h2o.init?

@wendycwong
Copy link
Contributor Author

leave the parameter nparallelism on for now.

@wendycwong wendycwong closed this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove custom_metric_func from algos that do not support them
2 participants