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

[QUESTION] How to pre-build the dataset's index ? #795

Open
etiennemlb opened this issue Apr 24, 2024 · 2 comments
Open

[QUESTION] How to pre-build the dataset's index ? #795

etiennemlb opened this issue Apr 24, 2024 · 2 comments
Labels
stale No activity in 60 days on issue or PR

Comments

@etiennemlb
Copy link

How to pre-build the dataset's index ?

I want to avoid using compute node for this task:

> WARNING: could not find index map files, building the indices on rank 0 ...
> elasped time to build and save doc-idx mapping (seconds): 270.614145
@ethanhe42
Copy link
Member

you can use --data-cache-path to specify where you want to cache. And precompute it using a single node.

group.add_argument('--data-cache-path', default=None,
help='Path to a directory to hold cached index files.')

Copy link

github-actions bot commented Jul 2, 2024

Marking as stale. No activity in 60 days.

@github-actions github-actions bot added the stale No activity in 60 days on issue or PR label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No activity in 60 days on issue or PR
Projects
None yet
Development

No branches or pull requests

2 participants