The previous answer was pretty goodTo expand the dictionary into a list, but it had some unneeded steps as there is noyou need to splitbuild the dict up earlierproduct from all possible params.
You can use itertools.product to build the product with all values from the dictionary config_overrides.
The resulting list of lists has all combinations of values from config_overrides and each items length is equal to len(config_overrides.keys())
Therefore we can use zip to attach each key to the position of a param in your product.
With the list of pairs, we can now easily create a dictionary.
For the sake of one liners here my version:
from itertools import product
experiments = [dict(zip(config_overrides.keys(), value)) for value in product(*config_overrides.values())]