Skip to content

[BUG FIX] More robust handling of corrupted cache.#2241

Merged
duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom
duburcqa:fix_corrupted_cache
Jan 15, 2026
Merged

[BUG FIX] More robust handling of corrupted cache.#2241
duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom
duburcqa:fix_corrupted_cache

Conversation

@duburcqa
Copy link
Collaborator

No description provided.

@duburcqa duburcqa requested a review from YilingQiao as a code owner January 15, 2026 19:15
gsd_dict = pkl.load(file)
is_cached_loaded = True
except (EOFError, ModuleNotFoundError, pkl.UnpicklingError):
except (EOFError, ModuleNotFoundError, pkl.UnpicklingError, TypeError, MemoryError):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we delete the corrupted cache file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No because we are going to overwrite it right away.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh great 🙌

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@hughperkins hughperkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 🙌

@duburcqa duburcqa merged commit c6ffee9 into Genesis-Embodied-AI:main Jan 15, 2026
19 of 23 checks passed
@github-actions
Copy link

🔴 Benchmark Regression Detected ➡️ Report

@duburcqa duburcqa deleted the fix_corrupted_cache branch January 24, 2026 02:42
Kashu7100 pushed a commit to Kashu7100/Genesis that referenced this pull request Jan 26, 2026
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