No More OOM-Exceptions During Hyperparameter Searches in TensorFlow | by Pascal Janetzky | Apr, 2023
Use wrapper functions to avoid OOM-exceptionsIt’s the year 2023. Machine learning is no longer hype but at the core of everyday products. Ever faster hardware makes it possible to train ever larger machine learning models — in shorter times, too. With around 100 papers submitted per day on machine learning or related domains to arXiv, chances are high that at least one-third of them have leveraged the hardware’s capabilities to do hyperparameter searches to optimize their used model. And that’s straightforward, is it not?…