File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ RUN uv pip uninstall --system google-cloud-bigquery-storage
3232# to avoid affecting the larger build, we'll post-install it.
3333RUN uv pip install --no-build-isolation --system " git+https://github.com/Kaggle/learntools"
3434
35+ # b/385161357 Latest Colab uses tf 2.17.1 , but tf decision forests only has a version for 2.17.0.
36+ # Instead, we'll install tfdf with its deps and hope that 2.17.0 compat tfdf works with tf 2.17.1.
37+ RUN uv pip install --system --no-deps tensorflow-decision-forests== 1.10.0 wurlitzer== 3.1.1 ydf== 0.9.0
38+
3539# b/385145217 Latest Colab lacks mkl numpy, install it.
3640RUN uv pip install --system --force-reinstall -i https://pypi.anaconda.org /intel/simple numpy
3741
Original file line number Diff line number Diff line change 44import pandas as pd
55import tensorflow_decision_forests as tfdf
66
7- @unittest .skip ("b/385161357: tensorflow_decision_forests is incompatible with tensorflow 2.17.1" )
87class TestTensorflowDecisionForest (unittest .TestCase ):
98 def test_fit (self ):
109 train_df = pd .read_csv ("/input/tests/data/train.csv" )
You can’t perform that action at this time.
0 commit comments