Skip to content

Commit

Permalink
Fix GPU detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMeissnerDS committed Jun 26, 2024
1 parent b477d01 commit 7028e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluecast/general_utils/general_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def check_gpu_support() -> Dict[str, str]:
logging.info(f"Can use {params}.")
return params
except Exception:
params = {"tree_method": "hist", "device": "cpu"}
params = {"tree_method": "exact", "device": "cpu"}
logging.info("Xgboost uses CPU.")
logging.info(
f"""Can use {params} for Xgboost (Will only be used when conf_training.autotune_on_device either
Expand Down

0 comments on commit 7028e47

Please sign in to comment.