Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| perf:xgboost [2019/07/05 14:06] – [Multithreaded support] admin | perf:xgboost [2019/07/05 14:58] (Version actuelle) – [GPU support] admin | ||
|---|---|---|---|
| Ligne 44: | Ligne 44: | ||
| <note important> | <note important> | ||
| ==== GPU support ==== | ==== GPU support ==== | ||
| - | FIXME TODO | + | We will use Volta GPU node. |
| + | <note tip> | ||
| + | The package '' | ||
| + | </ | ||
| + | <code bash> | ||
| + | $ qlogin -qvolta.q -l h_vmem=20G | ||
| + | |||
| + | </ | ||
| + | |||
| + | <note important> | ||
| + | I just added this param '' | ||
| + | |||
| + | <code bash> | ||
| + | 150 xgb_reg = xgboost.XGBRegressor(learning_rate = 0.01, | ||
| + | 151 max_depth = 10, | ||
| + | 152 random_state=42, | ||
| + | 153 n_estimators = 173, | ||
| + | 154 tree_method= ' | ||
| + | 155 n_jobs=-1, | ||
| + | 156 objective = ' | ||
| + | </ | ||
| + | |||
| + | We load anaconda | ||
| + | <code bash> | ||
| + | $ export PATH=/ | ||
| + | </ | ||
| + | Finaly we run our program: | ||
| + | < | ||
| + | $ time ipython 3.XGBoostGPU.py | ||
| + | </ | ||
| + | <color #ed1c24> | ||
| + | **User time is about 38seconds**</ | ||
| + | |||
| + | <note tip> | ||