Skip to content

Commit b4fdbda

Browse files
committed
fix tfdf
1 parent 1de9f46 commit b4fdbda

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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.
3333
RUN 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.
3640
RUN uv pip install --system --force-reinstall -i https://pypi.anaconda.org/intel/simple numpy
3741

tests/test_tensorflow_decision_forests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import pandas as pd
55
import tensorflow_decision_forests as tfdf
66

7-
@unittest.skip("b/385161357: tensorflow_decision_forests is incompatible with tensorflow 2.17.1")
87
class TestTensorflowDecisionForest(unittest.TestCase):
98
def test_fit(self):
109
train_df = pd.read_csv("/input/tests/data/train.csv")

0 commit comments

Comments
 (0)