Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supported TensorFlow version #5386

Merged
merged 1 commit into from
Mar 23, 2024
Merged

Update supported TensorFlow version #5386

merged 1 commit into from
Mar 23, 2024

Conversation

JanuszL
Copy link
Contributor

@JanuszL JanuszL commented Mar 21, 2024

  • removed default support for 2.14
  • updates 2.15 to 2.15.1
  • adds built-in support for 2.16.1

Category:

Other (e.g. Documentation, Tests, Configuration)

Description:

  • removed default support for 2.14
  • updates 2.15 to 2.15.1
  • adds built-in support for 2.16.1

Additional information:

Affected modules and functionalities:

Key points relevant for the review:

  • NA

Tests:

  • Existing tests apply
    • TL0_FW_iterators
    • TL0_framework_imports
    • TL0_cpu_only
    • TL1_separate_executor
    • TL1_jupyter_plugins
    • TL2_FW_iterators_perf
    • TL0_tensorflow_plugin
    • TL1_tensorflow_plugin
    • TL1_tensorflow-dali_test
    • TL1_tensorflow_dataset_conda
    • TL0_tensorflow_plugin_conda
    • TL1_tensorflow_dataset
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13687191]: BUILD STARTED

@JanuszL JanuszL force-pushed the tf_2.16 branch 2 times, most recently from dfb857f to ee400f1 Compare March 21, 2024 17:14
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13697636]: BUILD STARTED

Comment on lines 23 to 28
#if TF_MAJOR_VERSION == 2 && TF_MINOR_VERSION >= 16
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#else
#include "unsupported/Eigen/CXX11/Tensor"
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this piece. It seems that the new build path affects only the older versions. Before this change the only build path was the one that now seems to be restricted to the newer versions. How did it work before and why would it stop working now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked by accident. Fixed.

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13697636]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13703523]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13703523]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13703523]: BUILD PASSED

- removed default support for 2.14
- updates 2.15 to 2.15.1
- adds built-in support for 2.16.1
- adjusts tests for changes in TF 2.16

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13715242]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [13715242]: BUILD PASSED

@JanuszL JanuszL merged commit 68aa46d into NVIDIA:main Mar 23, 2024
6 checks passed
@JanuszL JanuszL deleted the tf_2.16 branch March 23, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants