File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11import setuptools
22
3- tensorflow = ["tensorflow>=2.6" ]
3+ tensorflow = ["tensorflow>=2.6" , "tf-keras>=2.16" ]
44pytorch = ["torch>=1.11" , "torchdata" ]
55sklearn = ["scikit-learn>=1.0" ]
66cloud = ["tiledb-cloud" ]
Original file line number Diff line number Diff line change 1+ import os
2+
13from pkg_resources import DistributionNotFound , get_distribution # type: ignore
24
35# TODO change pkg_resources with importlib.metadata, as described here
46# https://pypi.org/project/setuptools-scm/#:~:text=Retrieving%20package%20version%20at%20runtime, when we stop
57# supporting Python 3.7. We the aforementioned change, we can avoid the 100ms overhead during import of the package.
68
9+ os .environ ["TF_USE_LEGACY_KERAS" ] = "1"
10+
711try :
812 __version__ = get_distribution ("tiledb-ml" ).version
913except DistributionNotFound :
You can’t perform that action at this time.
0 commit comments