For me, the leakage problem on M2 was magically solved by:
import tensorflow as tf
tf.config.set_visible_devices([],'GPU')
Topic:
Machine Learning & AI
SubTopic:
General
Tags: