NVIDIA-NeMo / NVIDIA-NeMo/Curator

Semantic Dedup Pairwise IO fails to list files for remote cloud path

Open
#1,213 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
1.8k
Forks
328
Avg merge
4d 5h
Merged PRs (30d)
30

Description

Describe the bug

fs.ls(..) for remote cloud paths strips the protocol, which results in subsequent code paths failing

https://github.com/NVIDIA-NeMo/Curator/blob/55ddb348376c6ff4d28ae69226e9a71006a90d5e/nemo_curator/stages/deduplication/semantic/pairwise_io.py#L82

Steps/Code to reproduce bug

Please list minimal steps or code snippet for us to be able to reproduce the bug.

A helpful guide on on how to craft a minimal bug report http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports.

Expected behavior

A clear and concise description of what you expected to happen.

Additional context

Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in nemo_curator/stages/deduplication/semantic/pairwise_io.py around line 82 and inspect how fs.ls handles a remote cloud path. Reproduce the listing with a remote path and trace the subsequent pairwise I/O flow. Done means remote paths retain the protocol and semantic deduplication can continue without the listing failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.