Skip to content

Commit

Permalink
Bump up TensorFlow version in tests
Browse files Browse the repository at this point in the history
- the latest to 2.15
- previous to 2.14.1

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
  • Loading branch information
JanuszL committed Nov 23, 2023
1 parent 2e873d7 commit badf7e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dali/python/nvidia/dali/plugin/tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ def _get_current_device_spec():


if dataset_compatible_tensorflow():
from tensorflow.python.framework import ops
from tensorflow.python.data.ops import dataset_ops
from tensorflow.python.data.util import structure
import functools
Expand Down Expand Up @@ -451,7 +450,7 @@ def __init__(
output_dtypes = (output_dtypes, )
output_shapes = (output_shapes, )

output_classes = nest.map_structure(lambda _: ops.Tensor, output_dtypes)
output_classes = nest.map_structure(lambda _: tf.Tensor, output_dtypes)

self._pipeline_instance = pipeline # keep the live Pipeline object
self._pipeline_serialized = serialize_pipeline(pipeline)
Expand Down
8 changes: 6 additions & 2 deletions qa/setup_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,14 @@ def get_pyvers_name(self, url, cuda_version):
"cupy-cuda11x"),
CudaPackage("tensorflow-gpu",
{"110": [
PckgVer("2.12.1", python_min_ver="3.8", alias="tensorflow",
PckgVer("2.14.1", python_min_ver="3.8", alias="tensorflow",
dependencies=["protobuf<4", "numpy<1.24",
"urllib3<2.0", "typing_extensions<4.6"])],
"120": [
PckgVer("2.14.1", python_min_ver="3.8", alias="tensorflow",
dependencies=["protobuf<4", "numpy<1.24",
"urllib3<2.0", "typing_extensions<4.6"]),
PckgVer("2.13.0", python_min_ver="3.8", alias="tensorflow",
PckgVer("2.15.0", python_min_ver="3.8", alias="tensorflow",
dependencies=["protobuf<4", "numpy<1.24",
"urllib3<2.0", "typing_extensions<4.6"])]}),
CudaPackageExtraIndex("torch",
Expand Down

0 comments on commit badf7e9

Please sign in to comment.