Skip to content

Running out of RAM on cloud TPU when reading data from Cloud Storage #67

Answered by lucasb-eyer
izmailovpavel asked this question in Q&A
Discussion options

You must be logged in to vote

Only saw this now. Knowing Pavel, I think it's not relevant to him anymore, but for reference, here are two more options, at the slight expense of a little speed:

  1. Set cache_raw to False in the config:
    config.input.cache_raw = True # Needs up to 120GB of RAM!
  2. For all evaluators, in their config, set cache_final to False:
    cache_final=True, cache_raw=False, prefetch=1,

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lucasb-eyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #36 on November 07, 2023 13:11.