This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
What's the trick to allow datasets
to reuse cache when using hydra?
#226
Unanswered
mariomeissner
asked this question in
Q&A
Replies: 1 comment
-
The cache only fails when running inside hydra AND is called within the trainer (in a subprocess I assume), since isolating the script and calling After countless hours of trial and error, it seems the key is the static method. After switching to a static method like is done in this project, I got the cache to work. I'd be happy to learn why this is, if anyone knows! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to call
map
in myDataModule
in a hydra project but it doesn't load the cache for me. Inlightning-transformers
this is working properly though, so I was wondering if anyone knows what the trick is to make this work. If anyone wants to venture into checking my code, it's here.Beta Was this translation helpful? Give feedback.
All reactions