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 · 1 comment
Open

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

etiennemlb opened this issue Apr 24, 2024 · 1 comment

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.')

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

No branches or pull requests

2 participants