claudevdm commented on issue #32603:
URL: https://github.com/apache/beam/issues/32603#issuecomment-3289992855
This is strange, it looks like tensorflow-transform package has a dependency
on dill, but pip doesnt install it? Maybe tensorflow-transform doesnt declare
dill as a hard dep?
```
>>> import apache_beam.ml.transforms.tft
2025-09-14 18:42:41.212871: I tensorflow/core/util/port.cc:113] oneDNN
custom operations are on. You may see slightly different numerical results due
to floating-point round-off errors from different computation orders. To turn
them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2025-09-14 18:42:41.221326: E
external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:479] Unable to register
cuFFT factory: Attempting to register factory for plugin cuFFT when one has
already been registered
2025-09-14 18:42:41.233196: E
external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:10575] Unable to
register cuDNN factory: Attempting to register factory for plugin cuDNN when
one has already been registered
2025-09-14 18:42:41.233248: E
external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1442] Unable to
register cuBLAS factory: Attempting to register factory for plugin cuBLAS when
one has already been registered
2025-09-14 18:42:41.240986: I
tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is
optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other
operations, rebuild TensorFlow with the appropriate compiler flags.
2025-09-14 18:42:41.754119: W
tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not
find TensorRT
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/apache_beam/ml/transforms/tft.py",
line 44, in <module>
import tensorflow_transform as tft
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/__init__.py",
line 18, in <module>
from tensorflow_transform import experimental
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/experimental/__init__.py",
line 16, in <module>
from tensorflow_transform.experimental.analyzers import *
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/experimental/analyzers.py",
line 33, in <module>
from tensorflow_transform import analyzers
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/analyzers.py",
line 44, in <module>
from tensorflow_transform import schema_inference
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/schema_inference.py",
line 33, in <module>
from tensorflow_transform.saved import saved_transform_io_v2
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/saved/saved_transform_io_v2.py",
line 24, in <module>
from tensorflow_transform.py_func import pyfunc_helper
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/py_func/__init__.py",
line 16, in <module>
from tensorflow_transform.py_func.api import apply_pyfunc
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/py_func/api.py",
line 16, in <module>
from tensorflow_transform.py_func import pyfunc_helper
File
"/home/claude/beam-bisect/beam/build/gradleenv/1922375555/lib/python3.9/site-packages/tensorflow_transform/py_func/pyfunc_helper.py",
line 16, in <module>
import dill
ModuleNotFoundError: No module named 'dill'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]