Skip to content

Allow Task objects to defer dataset download#3663

Open
siddhant-rajhans wants to merge 1 commit intoEleutherAI:mainfrom
siddhant-rajhans:feat/defer-dataset-download
Open

Allow Task objects to defer dataset download#3663
siddhant-rajhans wants to merge 1 commit intoEleutherAI:mainfrom
siddhant-rajhans:feat/defer-dataset-download

Conversation

@siddhant-rajhans
Copy link
Copy Markdown

Add defer_download flag to Task and ConfigurableTask so datasets are not downloaded during initialization. Users can call task.download() explicitly when ready. Accessing dataset before download raises a clear RuntimeError.

Closes #1558 (hopefully)

Add defer_download flag to Task and ConfigurableTask so datasets
are not downloaded during initialization. Users can call
task.download() explicitly when ready. Accessing dataset before
download raises a clear RuntimeError.

Closes EleutherAI#1558
@siddhant-rajhans siddhant-rajhans requested a review from 0xSMT as a code owner March 29, 2026 23:39
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.

Allow Task objects to defer dataset download

1 participant