Skip to content

[Fix] guard nltk download with local find() to avoid unnecessary remote fetch - #919

Merged
bxyu-nvidia merged 1 commit into
NVIDIA-NeMo:mainfrom
spacegoing:fix_IF_nltk_download
Mar 20, 2026
Merged

bxyu-nvidia merged 1 commit into
NVIDIA-NeMo:mainfrom
spacegoing:fix_IF_nltk_download

Conversation

@spacegoing

@spacegoing spacegoing commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

nltk.download() always fetches the remote package index even when the
data is already present. Guard with a local find() first to skip the
download when the data already exists.

@copy-pr-bot

copy-pr-bot Bot commented Mar 20, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@bxyu-nvidia
bxyu-nvidia merged commit a27fb2c into NVIDIA-NeMo:main Mar 20, 2026
5 checks passed
mahanfathi pushed a commit that referenced this pull request Mar 24, 2026
…te fetch (#919)

`nltk.download()` always fetches the remote package index even when the
data is already present. Guard with a local `find()` first to skip the
download when the data already exists.

Signed-off-by: spacegoing <[email protected]>
jsw-zorro pushed a commit to niletron/Gym that referenced this pull request Apr 7, 2026
…te fetch (NVIDIA-NeMo#919)

`nltk.download()` always fetches the remote package index even when the
data is already present. Guard with a local `find()` first to skip the
download when the data already exists.

Signed-off-by: spacegoing <[email protected]>
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.

2 participants