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

Have a caching option in the dataset #140

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexander-soare
Copy link
Collaborator

@alexander-soare alexander-soare commented May 6, 2024

TODO:

  • Add test

What this does

Adds an option for LeRobot dataset to cache all items in a {int: Tensor} mapping. This makes data loading much faster and makes TD-MPC training viable. See #93 for context.

A side change is that I add some dataloader options to default.yaml.

How it was tested

I did a TD-MPC training run and it went quick after the first epoch.


This change is Reviewable

@alexander-soare alexander-soare marked this pull request as draft May 6, 2024 16:48
@alexander-soare alexander-soare self-assigned this May 21, 2024
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.

None yet

1 participant