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

Changes to dali/util/numpy #5416

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Changes to dali/util/numpy #5416

merged 2 commits into from
Apr 10, 2024

Conversation

fversaci
Copy link
Contributor

@fversaci fversaci commented Apr 5, 2024

Category:

New feature (non-breaking change which adds functionality)

Description:

  • Make numpy.h available to users
  • Extend ReadTensor to also accept a bool pinned argument
  • See NumPy decoder #5337 for details

Additional information:

Affected modules and functionalities:

Key points relevant for the review:

Tests:

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

fversaci added a commit to fversaci/cassandra-dali-plugin that referenced this pull request Apr 5, 2024
- Make `numpy.h` available to users
- Extend `ReadTensor` to also accept a `bool pinned` argument
- See NVIDIA#5337 for details

Signed-off-by: Francesco Versaci <francesco.versaci@gmail.com>
@JanuszL
Copy link
Contributor

JanuszL commented Apr 5, 2024

Hi @fversaci,

Thank you for your contribution. Looks good. I have one small ask - can you sign off your commit?

@fversaci
Copy link
Contributor Author

fversaci commented Apr 5, 2024

I have one small ask - can you sign off your commit?

Hi, I should have fixed that (via a push --force 😬 )

@JanuszL
Copy link
Contributor

JanuszL commented Apr 5, 2024

Sweet. Thanks!

@JanuszL
Copy link
Contributor

JanuszL commented Apr 5, 2024

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [14025578]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [14025578]: BUILD PASSED

Stop using pinned-memory in CPU-only test

Co-authored-by: Michał Zientkiewicz <mzient@gmail.com>
Signed-off-by: Francesco Versaci <francesco.versaci@gmail.com>
@JanuszL
Copy link
Contributor

JanuszL commented Apr 9, 2024

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [14101833]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [14101833]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [14101833]: BUILD PASSED

@JanuszL JanuszL merged commit 48cca94 into NVIDIA:main Apr 10, 2024
7 checks passed
fversaci added a commit to fversaci/cassandra-dali-plugin that referenced this pull request May 2, 2024
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

5 participants