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

Pin numpy to <1.24 in TensorFlow examples #5534

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Conversation

JanuszL
Copy link
Contributor

@JanuszL JanuszL commented Jun 18, 2024

  • due to a recent release of backward incompatible numpy 2.0
    pin its version in the TensorFlow examples

Category:

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

Description:

  • due to a recent release of backward incompatible numpy 2.0
    pin its version in the TensorFlow examples

Additional information:

Affected modules and functionalities:

Key points relevant for the review:

  • NA

Tests:

  • Existing tests apply
    • TL3_YOLO_convergence
    • TL3_EfficientDet_convergence
  • 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

@JanuszL
Copy link
Contributor Author

JanuszL commented Jun 18, 2024

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [15934953]: BUILD STARTED

@JanuszL
Copy link
Contributor Author

JanuszL commented Jun 18, 2024

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [15935241]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [15934953]: BUILD PASSED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [15935241]: BUILD PASSED

@@ -3,3 +3,4 @@ argparse-utils
absl-py
Pillow
PyYAML
numpy<1.24
Copy link
Contributor

@mzient mzient Jun 24, 2024

Choose a reason for hiding this comment

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

Why not <2? Also, the description of the PR says "pin to 1.24" whereas it actually pins it to less than 1.24. I suggest renaming the PR (and keeping the code changes).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the commit message.

@mzient mzient closed this Jun 24, 2024
@mzient mzient reopened this Jun 24, 2024
Copy link
Contributor

@mzient mzient left a comment

Choose a reason for hiding this comment

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

Please rename the PR and adjust the commit message to reflect actual contents of the PR. Otherwise OK.

@JanuszL JanuszL changed the title Pin numpy to 1.24 in TensorFlow examples Pin numpy to <1.24 in TensorFlow examples Jun 24, 2024
- due to a recent release of backward incompatible numpy 2.0
  pin its version in the TensorFlow examples

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
@JanuszL JanuszL merged commit ad50c63 into NVIDIA:main Jun 24, 2024
5 of 6 checks passed
@JanuszL JanuszL deleted the pin_numpy branch June 24, 2024 13:17
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.

4 participants