Skip to content

Commit 2a8783b

Browse files
Merge pull request #56 from coiled/pin-dask-xgboost
Temporarily pin Dask to fix XGBoost
2 parents 474da8c + f0d824a commit 2a8783b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

environment.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ channels:
44
- defaults
55
dependencies:
66
- python=3.10
7-
- dask
7+
# TODO: Undo version restriction once https://github.com/dmlc/xgboost/issues/11461
8+
# has been resolved and released
9+
- dask<2025.4.0
810
- dask-ml
911
- coiled
1012
- pyarrow

xgboost.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"from datetime import datetime\n",
137137
"\n",
138138
"import dask.array as da\n",
139-
"import xgboost\n",
139+
"import xgboost.dask\n",
140140
"from dask_ml.metrics import mean_squared_error\n",
141141
"\n",
142142
"start = datetime.now()\n",
@@ -220,9 +220,9 @@
220220
],
221221
"metadata": {
222222
"kernelspec": {
223-
"display_name": "Python [conda env:coiled]",
223+
"display_name": "Python 3 (ipykernel)",
224224
"language": "python",
225-
"name": "conda-env-coiled-py"
225+
"name": "python3"
226226
},
227227
"language_info": {
228228
"codemirror_mode": {
@@ -234,7 +234,7 @@
234234
"name": "python",
235235
"nbconvert_exporter": "python",
236236
"pygments_lexer": "ipython3",
237-
"version": "3.11.8"
237+
"version": "3.10.17"
238238
}
239239
},
240240
"nbformat": 4,

0 commit comments

Comments
 (0)