[Release] Change all cpus_per_actor in xgboost test. (#18717)

This commit is contained in:
xwjiang2010 2021-09-17 12:57:21 -07:00 committed by GitHub
parent 2c92f737f9
commit 09e760a1fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ def main():
bst = train_xgboost(
config, df_train, df_validation, "label",
RayParams(max_actor_restarts=1, cpus_per_actor=8, num_actors=4))
RayParams(max_actor_restarts=1, cpus_per_actor=4, num_actors=4))
tune_xgboost(df_train, df_validation, "label")
inference_df = RayDMatrix(
df_train[sorted(df_train.columns)], ignore=["label", "partition"])