We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed912c6 commit e49cf42Copy full SHA for e49cf42
setup.py
@@ -1,6 +1,6 @@
1
import setuptools
2
3
-tensorflow = ["tensorflow>=2.6"]
+tensorflow = ["tensorflow>=2.6", "tf-keras~=2.16"]
4
pytorch = ["torch>=1.11", "torchdata"]
5
sklearn = ["scikit-learn>=1.0"]
6
cloud = ["tiledb-cloud"]
tiledb/ml/__init__.py
@@ -4,6 +4,9 @@
# https://pypi.org/project/setuptools-scm/#:~:text=Retrieving%20package%20version%20at%20runtime, when we stop
# supporting Python 3.7. We the aforementioned change, we can avoid the 100ms overhead during import of the package.
7
+import os
8
+os.environ["TF_USE_LEGACY_KERAS"] = 1
9
+
10
try:
11
__version__ = get_distribution("tiledb-ml").version
12
except DistributionNotFound:
0 commit comments