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

Add opt-in support for case insensitive webdataset #5016

Merged
merged 3 commits into from
Aug 25, 2023

Conversation

JanuszL
Copy link
Contributor

@JanuszL JanuszL commented Aug 23, 2023

  • the current implementation of webdataset is case-sensitive when
    it comes to file extensions. This PR adds an option to make
    it case insensitive when it comes to provided by the user extensions
    as well as the file extensions in the container

Category:

New feature (non-breaking change which adds functionality)

Description:

  • the current implementation of webdataset is case-sensitive when
    it comes to file extensions. This PR adds an option to make
    it case insensitive when it comes to provided by the user extensions
    as well as the file extensions in the container

Additional information:

Affected modules and functionalities:

  • webdataset reader

Key points relevant for the review:

Tests:

  • Existing tests apply
  • New tests added
    • Python tests
      • test_webdataset_requirements.test_case_sensitive_arg_format
      • test_webdataset_requirements.test_case_sensitive_container_format
      • test_webdataset_requirements.test_case_insensitive_container_format
      • test_webdataset_requirements.test_case_insensitive_arg_format
    • 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: RDWDS.26

JIRA TASK: N/A

- the current implementation of webdataset is case-sensitive when
  it comes to file extensions. This PR adds an option to make
  it case insensitive when it comes to provided by the user extensions
  as well as the file extensions in the container

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

CI MESSAGE: [9482491]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9482491]: BUILD PASSED

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

CI MESSAGE: [9497185]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9497235]: BUILD STARTED

Copy link
Member

@stiepan stiepan left a comment

Choose a reason for hiding this comment

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

Please remeber to adjust the warning in the docs as well, apart from that LGTM.

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

CI MESSAGE: [9497235]: BUILD PASSED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9511524]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [9511524]: BUILD PASSED

@JanuszL JanuszL merged commit 13f36e8 into NVIDIA:main Aug 25, 2023
4 checks passed
@JanuszL JanuszL deleted the case_insens_webdata branch August 25, 2023 13:25
JanuszL added a commit to JanuszL/DALI that referenced this pull request Oct 13, 2023
- the current implementation of webdataset is case-sensitive when
  it comes to file extensions. This PR adds an option to make
  it case insensitive when it comes to provided by the user extensions
  as well as the file extensions in the container

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
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